CUPS, foomatic, & pdftopdf fail when printing more than one copy of an image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Fix Released
|
High
|
kpmconnolly | ||
Intrepid |
Fix Released
|
High
|
Unassigned | ||
Jaunty |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: cupsys
When using Eye of Gnome or Gimp, and attempting to print multiple copies of the same image, CUPS experiences a rendering failure and nothing is printed. Printing one copy at a time (COPIES=1) of the same image works. When COPIES > 1, the renderer fails.
This problem exists in Intrepid 8.10 and Jaunty 9.04
example error_log entry:
D [11/Mar/
D [11/Mar/
D [11/Mar/
E [11/Mar/
Changed in cups (Ubuntu Intrepid): | |
importance: | Undecided → High |
status: | New → In Progress |
tags: |
added: verification-done removed: verification-needed |
Changed in cups (Ubuntu): | |
assignee: | nobody → kpmconnolly (kpmconnolly) |
Here's another example from Jaunty, updated from the main repository as of 20 March 2009.
The attempt is to print two copies of a 40k jpg image file using the Eye of Gnome to a HP 970C Deskjet.
Here is some information from the CUPS error_log with logging set to the 'debug' level.
I [20/Mar/ 2009:11: 31:01 -0400] [Job 36] Queued on "HP970Cxi" by "tom". 2009:11: 31:01 -0400] Saving subscriptions. conf... 2009:11: 31:01 -0400] [Job 36] job-sheets= none,none 2009:11: 31:01 -0400] [Job 36] banner_page = 0 2009:11: 31:01 -0400] [Job 36] argv[0]="HP970Cxi" 2009:11: 31:01 -0400] [Job 36] argv[1]="36" 2009:11: 31:01 -0400] [Job 36] argv[2]="tom" 2009:11: 31:01 -0400] [Job 36] argv[3]="164.JPG" 2009:11: 31:01 -0400] [Job 36] argv[4]="2" 2009:11: 31:01 -0400] [Job 36] argv[5] ="Quality= FromPrintoutMod e number-up=1 PrintoutMode=Normal Duplex= DuplexNoTumble PageSize=Letter job-uuid= urn:uuid: c3bf4733- 78fd-3ab2- 7d74-c670b9d668 7f" 2009:11: 31:01 -0400] [Job 36] Getting input from file 2009:11: 31:01 -0400] [Job 36] foomatic-rip version 4.0.0.195 running... 2009:11: 31:01 -0400] [Job 36] Parameter Summary 2009:11: 31:01 -0400] [Job 36] ----------------- 2009:11: 31:01 -0400] [Job 36] 2009:11: 31:01 -0400] [Job 36] Spooler: cups 2009:11: 31:01 -0400] [Job 36] Printer: HP970Cxi 2009:11: 31:01 -0400] [Job 36] Shell: /bin/bash 2009:11: 31:01 -0400] [Job 36] PPD file: /etc/cups/ ppd/HP970Cxi. ppd 2009:11: 31:01 -0400] [Job 36] ATTR file: 2009:11: 31:01 -0400] [Job 36] Printer model: HP Deskjet 970c Foomatic/hpijs, hpijs 2.8.7 2009:11: 31:01 -0400] [Job 36] Job title: 164.JPG 2009:11: 31:01 -0400] [Job 36] 2009:11: 31:01 -0400] [Job 36] Filetype: PDF 2009:11: 31:01 -0400] [Job 36] Storing temporary files in /var/spool/cups/tmp 2009:11: 31:01 -0400] [Job 36] freed object:9 found 2009:11: 31:01 -0400] Saving subscriptions. conf... 2009:11: 31:01 -0400] [Job 36] 2009:11: 31:01 -0400] PID 9410 (/usr/lib/ cups/filter/ pdftopdf) exited with no errors. 2009:11: 31:01 -0400] [Job 36] File contains 4 pages
I [20/Mar/
D [20/Mar/
D [20/Mar/
D [20/Mar/
D [20/Mar/
D [20/Mar/
D [20/Mar/
D [20/Mar/
D [20/Mar/
...
D [20/Mar/
D [20/Mar/
...
D [20/Mar/
D [20/Mar/
D [20/Mar/
D [20/Mar/
D [20/Mar/
D [20/Mar/
D [20/Mar/
D [20/Mar/
D [20/Mar/
D [20/Mar/
...
D [20/Mar/
D [20/Mar/
D [20/Mar/
E [20/Mar/
I [20/Mar/
D [20/Mar/
D [20/Mar/
D [20/Mar/
NOTE: the two copies are now expanded to a file containing 4 pages!
Ghostscript rendering fails at the next step, probably from a corrupt input.
D [20/Mar/ 2009:11: 31:01 -0400] [Job 36] Starting renderer with command: gs -dFirstPage=1 -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPO INTS=612 -dDEVICEHEIGHTP OINTS=792 -sDeviceManufac turer=" HEWLETT- PACKARD" -sDeviceModel= "DESKJET 930" -dDuplex=true -dTumble=false -r300 -sIjsParams= Quality: Quality= 0,Quality: ColorMode= 2,Quality: MediaType= 0,Quality: PenSet= 2 -dIjsUseOutputFD -sOutputFile=- /var/spool/ cups/tmp/ foomatic- NAjuU1 2009:11: 31:01 -0400] [Job 36] Starting process "kid3" (generation 1) 2009:11: 31:01 -0400] [Job 36] Starting process "kid4" (generation 2) 2009:11: 31:01 -0400] [Job 36] JCL: %-12345X@PJL 2009:11: 31:01 -0400] [Job 36] <job data> 2009:11: 31:01 -0...
D [20/Mar/
D [20/Mar/
D [20/Mar/
D [20/Mar/
D [20/Mar/