page_log incorrect for "PS printers + collated copies" #32

Closed
michaelrsweet opened this Issue Apr 20, 2003 · 4 comments

Comments

Projects
None yet
1 participant
Collaborator

michaelrsweet commented Apr 20, 2003

Version: 1.1.19rc1
CUPS.org User: pipitas

page_log not correct with certain jobs/PS-printers:

Printing a job with "p" pages and "c" copies in "collated"
mode yields a page_log entry like this:

PS-printername username 2170 [20/Apr/2003:16:36:25 +0200] 1 c - localhost
PS-printername username 2170 [20/Apr/2003:16:36:25 +0200] 2 c - localhost
PS-printername username 2170 [20/Apr/2003:16:36:25 +0200] 3 c - localhost
[.....]
PS-printername username 2170 [20/Apr/2003:16:36:25 +0200] p c - localhost
PS-printername username 2170 [20/Apr/2003:16:36:25 +0200] 1 1 - localhost
PS-printername username 2170 [20/Apr/2003:16:36:25 +0200] 2 1 - localhost
PS-printername username 2170 [20/Apr/2003:16:36:25 +0200] 3 1 - localhost
[....]
[....]
PS-printername username 2170 [20/Apr/2003:16:36:25 +0200] c*p 1 - localhost

printing the same job in "uncollated" mode gives (correctly) this:

PS-printername username 2171 [20/Apr/2003:16:36:25 +0200] 1 c - localhost
PS-printername username 2171 [20/Apr/2003:16:36:25 +0200] 2 c - localhost
PS-printername username 2171 [20/Apr/2003:16:36:25 +0200] 3 c - localhost
[.....]
PS-printername username 2171 [20/Apr/2003:16:36:25 +0200] p c - localhost

for a non-PS printer (f.e. using CUPS "laserjet.ppd") I get (collated or uncollated):

laserjet username 2172 [20/Apr/2003:16:36:25 +0200] 1 1 - localhost
laserjet username 2172 [20/Apr/2003:16:36:25 +0200] 2 1 - localhost
laserjet username 2172 [20/Apr/2003:16:36:25 +0200] 3 1 - localhost
[.....]
laserjet username 2172 [20/Apr/2003:16:36:25 +0200] c*p 1 - localhost

Collaborator

michaelrsweet commented Apr 21, 2003

CUPS.org User: mike

Please attach a PPD file of an affected PS printer, and include any options you are using when printing.

Collaborator

michaelrsweet commented Apr 21, 2003

CUPS.org User: pipitas

I tested with 3 different printers/PPDs. It may even be
verified by printing to a FileDevice of "/dev/null"...

I'll upload one of the PPDs -- it is for a HP Mopier240/LaserJet8100.

Since your response seems to indicate that you can't
reproduce it with your PPD, I had a closer look. All the
three PPDs contained HP originating code to achieve
watermarks and n-up printing...

So I tried it with another PPD not "spoiled" by these hacks.
Same result. I'll upload it -- it's the Heidelberg
DigiMaster 9100 PPD.

I can reproduce it with almost all print settings. The last
one I used was this:

D [22/Apr/2003:00:09:56 +0200] StartJob: argv = "ir85wm3","2179","kde4","AcroGvbbFU","4","NIS04DocExit=BookletMaker NIS10Duplex=DuplexNoTumble NIS198PunchEnable NIS75Pamphlet NIS95Trim multiple-document-handling=separate-documents-collated-copies page-ranges=1-6","/var/spool/cups/d02179-001"

(enabled: DocumentExit=BookletMaker, EdgeTrim=On,
Pamphlets=On, PrintedSides=2-sided-long-edge,
Punching=On, PunchPattern=2-hole-europe,
plus some...)

Collaborator

michaelrsweet commented Apr 23, 2003

CUPS.org User: mike

OK, I've confirmed the problem and the fix should be simple enough. It will be fixed in CVS shortly.

Collaborator

michaelrsweet commented Apr 26, 2003

CUPS.org User: mike

Fixed in CVS.

@michaelrsweet michaelrsweet added this to the Stable milestone Mar 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment