Can't print PDF

Bug #144215 reported by Ralf Hildebrandt
14
Affects Status Importance Assigned to Milestone
cupsys (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: cupsys

http://www.berlin.de/landesverwaltungsamt/download/beihilfe/online/lvwa_vb_1_online.pdf
has a PDF that needs to be filled out with Acrobat Reader.
Now here's the catch:

1) if I download the PDF and print it directly (via "lpr lvwa_vb_1_online.pdf"), then it prints OK
2) Once I use it the intended way (open Acrobat Reader 7.x or 8.x), fill in some data, and then click on print -- it won't print.

I bumped up the loglevel in cups, just to find an odd error:

D [23/Sep/2007:13:34:12 +0200] [Job 38] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDevic
eManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 6122" -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -dDuplex=true -dTumble=false -r300
 -sIjsParams=Quality:Quality=1,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- -
D [23/Sep/2007:13:34:13 +0200] [Job 38] foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ij
s' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=deskjet 6122' '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842'
'-dDuplex=true' '-dTumble=false' '-r300' '-sIjsParams=Quality:Quality=1,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPositio
n=7' '-dIjsUseOutputFD' '-sOutputFile=%stdout' '-'
D [23/Sep/2007:13:34:13 +0200] [Job 38] Error: /undefined in eartomark

The odd thing is that once I print to a file in acrobat and then run the renderer command above, I get:

grep the command from the log:
D [23/Sep/2007:13:44:43 +0200] [Job 44] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 6122" -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -dDuplex=true -dTumble=false -r300 -sIjsParams=Quality:Quality=1,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- -

run the command: # gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 6122" -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -dDuplex=true -dTumble=false -r300 -sIjsParams=Quality:Quality=1,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- /tmp/print.ps > out

Check exit status
# echo $?
0

WTF is going on? No errors! Somewhere between CUPS and the renderer command something must be changing the raw PS data.

A way to print the file is to SAVE the filled-out form as PDF and then use kpdf to print it.

Revision history for this message
Klaus Vormweg (klaus-vormweg-deactivatedaccount) wrote :

I have got exactly the same problem here, PDF files print from Evince and the command line, but not from Acrobat Reader 8 (Version 8.1.1)

Error message is ' Error: /undefined in eartomark'

Changed in cupsys:
status: New → Confirmed
Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote : Fixed in hardy (1.3.7-1ubuntu3)

It 's fixed in cupsys 1.3.7-1ubuntu3

Changed in cupsys:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.