Red Hat Bugzilla – Bug 101697
Extra page with PJL commands on HP LaserJet 4000N
Last modified: 2007-04-18 12:56:39 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701
Description of problem:
When priting with cups using the PPD file found by the redhat printer config
program for our HP LaserJet 4000N printer, all print jobs submitted to the
printer print out, but with an additional page with the contents:
@PJL EOJ NAME = "User: <username>@<host>.mars.asu.edu; Job: nhp-<JID>"
Looking on google found one match, which said to set pjl to 'undef' in the ppd,
but it is already set to undef. I am unable to figure out what is causing this
extra output, nor how to stop it from happening. It does not happen on any other
printers used, although they are all different model HPs.
I will follow up with the PPD attached.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Use the redhat printer config to install a driver for HP LJ4000N
3. See extra page with PJL commands.
Actual Results: Extra page with PJL commands came out after print job.
Expected Results: No extra page should print, only the print job.
Created attachment 93410 [details]
PPD file created by redhat printer config.
Please attach the output of 'printconf-tui --Xexport'. Thanks.
Created attachment 93618 [details]
Output of 'printconf-tui --Xexport'
Could you please edit the file /usr/share/cups/filters/cupsomatic and change the
my $debug = 0;
my $debug = 1;
It's about line 53 I think.
After printing again and seeing the PJL data on the page, please attach the
Created attachment 93782 [details]
/tmp/prnlog as requested (gzipped)
/usr/share/cups/filters/cupsomatic didn't exist, but
/usr/lib/cups/filter/cupsomatic did, so I changed line 28 (my $debug = 0) to =
1. Here's the file /tmp/prnjob
Created attachment 93783 [details]
Here's the .log cupsomatic produced as well, in case it helps.
Using the recommended PostScript driver from linuxprinting.org for the
Hp LaserJet 4000 solved this problem, as well as providing a higher
printing resolution by default.