Bottom margin issue on Deskjet 3000

Asked by Henrik A. Jacobsen

The issue with the bottom line not being printed properly on certain printer models have been coveres before, see e.g. https://bugs.launchpad.net/hplip/+bug/187927, https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/405116, or https://answers.launchpad.net/hplip/+question/57765

As I get it, the problem is considered fixed. However, I still see a problem with the bottom line with hpcups built from hplip-3.11.7, when printing on HP Deskjet 3000. The last line only appears as a few black spots; probably the very top of the letters being printed.

Printing the same file on a HP Deskjet 460 with the same SW works perfectly - including the bottom line. This is true also if I print on the DJ460 using the DJ3000 ppd file.

The very same problem exists when printing on DJ3000 with hpijs from hplip-3.9.4b (after adding the DJ3000 to djgenericvip.h). The suggested fix in question/57765 (fMargins[3] = (float) 0.125; in djgeneric.cpp) does not solve the problem.

A suggestion on how to fix this problem - at best, both for hpcups and hpijs, would be highly appreciated :)

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
goutam kodu (goutam-hplip) said :
#1

Hi Henrik,

Sorry for late response,
Can you post us the output of "hp-check -t" command.
Did you set the scale to fit option in the print queue properties before sending out the print job ? If not, can you try that once and let me know.

Thanks,
Goutam

Revision history for this message
Henrik A. Jacobsen (henrik-jacobsen) said :
#2

Hi Goutam,

sorry, I should have posted a little more background information. The issue is actually in continuation of https://answers.launchpad.net/hplip/+question/170304.

I.e. we are talking about an embedded system without CUPS (apart from libcups and libcupsimage).Consequently, we have no hp-check (where does it come from?).

I use this script, named hpc:
---
#!/bin/sh
export PPD=hp-deskjet_3000_j310_series.ppd
gstoraster 123 HJA testjob 1 "$*" | hpcups 123 HJA testjob 1 "$*" >/dev/usb/lp0
---
Used as:
./hpc "media=a4 fit-to-page" <file.pdf

The fit-to-page option doesn't change anything.

By looking at the resulting gs command which is output by gstoraster, I can see that options like "media=a4 OutputMode=FastDraft" are interpreted properly. However, the fit-to-page option has no influence on the gs command - is fit-to-page to be handled by gs, or by hpcups? Anyway, it doesn't work :(

As stated before, I have no problem when using a Deskjet 460 printer instead of the '3000.

gs is version 9.04.

Best regards,
Henrik

Revision history for this message
Henrik A. Jacobsen (henrik-jacobsen) said :
#3

Got hold of a Deskjet 1000 => same problem.

Any hints?

BR Henrik

Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) said :
#4

Hi BR Henrik,

We need some logs to analyse this issue. Please provide these details.

=> Procedure to capture some logs.
    a) Open /etc/cups/cupsd.conf in root mode and replace
        LogLevel warn
          with
       LogLevel debug
       hpLogLevel 15
    b) Open Terminal and run following commands:
       => su
       => /etc/init.d/cups restart
                  or
       => service cups restart
       => cd /tmp
       => rm *.out
       => rm *.bmp
       => hp-check -t > /tmp/hpcheck.log

    c) Try to print the file and then send following files.
          => /var/log/syslog (if present),
          => /var/log/messages (if present),
          => /var/log/cups/error_log
          => /tmp/*.bmp
          => /tmp/*.out
          => /tmp/hpcheck.log
          => document used for printing.

Thanks & Regards,
Amarnath

Revision history for this message
Henrik A. Jacobsen (henrik-jacobsen) said :
#5

Hi Amarnath,

please. refer to my posting above: We don't use CUPS!
I can send you the pdf file causing the problem - please advice where to send it to :)
(Sorry if I missed something obvious here; I just don't see any obvious way to post a binary file here).

Best Regards
Henrik

Can you help with this problem?

Provide an answer of your own, or ask Henrik A. Jacobsen for more information if necessary.

To post a message you must log in.