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 RESET @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. Thanks. Version-Release number of selected component (if applicable): cups-1.1.17-13.3 cups-devel-1.1.17-13.3 cups-libs-1.1.17-13.3 Omni-foomatic-0.7.2-4 foomatic-2.0.2-15.1 How reproducible: Always Steps to Reproduce: 1. Use the redhat printer config to install a driver for HP LJ4000N 2. Print 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'
How strange! Could you please edit the file /usr/share/cups/filters/cupsomatic and change the line: my $debug = 0; to: my $debug = 1; It's about line 53 I think. After printing again and seeing the PJL data on the page, please attach the /tmp/prnlog file.
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] cupsomatic.log 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.
Okay, great.