Bug 205196

Summary: printing to LJ6 cassette will output last page from manual tray
Product: [Fedora] Fedora Reporter: Patrick C. F. Ernzer <pcfe>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED CANTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-07 10:57:05 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
tail -f /var/log/cups/*
none
/etc/cups/printers.conf
none
/etc/cups/ppd/lj6-cassette.ppd
none
/etc/cups/ppd/lj6-recycle.ppd none

Description Patrick C. F. Ernzer 2006-09-05 13:12:51 UTC
Description of problem:
I have 2 print queues defined for a HP LaserJet 6P, one to print from the paper
cassette, another to print from the manual tray (where I keep old paper so that
I can print drafts on the back of unused printjobs)

Problem is that if there is paper available on the manual tray, printing to the
cassette queue will always result in all but the last page being printed from
cassetts and the last page being printed from the manual tray.

Version-Release number of selected component (if applicable):
cups-1.2.2-1.8

How reproducible:
always

Steps to Reproduce:
1. define 2 queues (configs will be attached)
2. print multi-page document to cassette queue
3. look at printout
  
Actual results:
last page from manual feed tray

Expected results:
all pages from cassette

Additional info:

Comment 1 Patrick C. F. Ernzer 2006-09-05 13:14:04 UTC
Created attachment 135550 [details]
tail -f /var/log/cups/*

tail -f /var/log/cups/* after setting LogLevel debug2

Comment 2 Patrick C. F. Ernzer 2006-09-05 13:15:55 UTC
Created attachment 135551 [details]
/etc/cups/printers.conf

Comment 3 Patrick C. F. Ernzer 2006-09-05 13:16:37 UTC
Created attachment 135552 [details]
/etc/cups/ppd/lj6-cassette.ppd

Comment 4 Patrick C. F. Ernzer 2006-09-05 13:16:59 UTC
Created attachment 135553 [details]
/etc/cups/ppd/lj6-recycle.ppd

Comment 5 Tim Waugh 2006-09-05 13:43:53 UTC
Please edit /etc/foomatic/filter.conf and add the line 'debug: 1'.  Then submit
the job again and attach /tmp/foomatic-rip.log and /tmp/foomatic-rip.ps here. 
Thanks!

Comment 8 Patrick C. F. Ernzer 2006-09-05 17:30:24 UTC
done

Comment 9 Tim Waugh 2006-09-07 10:57:05 UTC
From the log:

JCL: %-12345X@PJL
@PJL SET MANUALFEED=OFF
@PJL SET ECONOMODE=OFF
@PJL SET COPIES=1
@PJL SET RET=MEDIUM
@PJL SET DENSITY=5
@PJL SET MPTRAY=CASSETTE
<job data> 
%-12345X@PJL RESET

This all looks correct to me, and the PostScript doesn't have anything obvious
in it to change the MPTRAY setting.  I think it must be something weird the
printer's doing. :-/