Bug 101697

Summary: Extra page with PJL commands on HP LaserJet 4000N
Product: [Retired] Red Hat Linux Reporter: Eric Andresen <eandres>
Component: foomaticAssignee: Tim Waugh <twaugh>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-12-19 09:30:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
PPD file created by redhat printer config.
none
Output of 'printconf-tui --Xexport'
none
/tmp/prnlog as requested (gzipped)
none
cupsomatic.log none

Description Eric Andresen 2003-08-05 18:03:22 UTC
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.

Comment 1 Eric Andresen 2003-08-05 18:04:20 UTC
Created attachment 93410 [details]
PPD file created by redhat printer config.

Comment 2 Tim Waugh 2003-08-13 16:56:53 UTC
Please attach the output of 'printconf-tui --Xexport'.  Thanks.

Comment 3 Eric Andresen 2003-08-13 17:08:52 UTC
Created attachment 93618 [details]
Output of 'printconf-tui --Xexport'

Comment 4 Tim Waugh 2003-08-20 10:25:01 UTC
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.

Comment 5 Eric Andresen 2003-08-20 16:05:38 UTC
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

Comment 6 Eric Andresen 2003-08-20 16:06:58 UTC
Created attachment 93783 [details]
cupsomatic.log

Here's the .log cupsomatic produced as well, in case it helps.

Comment 7 Eric Andresen 2003-12-18 21:03:27 UTC
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.

Comment 8 Tim Waugh 2003-12-19 09:30:29 UTC
Okay, great.