A809: prnt/hpijs/hpijs.cpp 346: unable to set key=OutputFile, value=

Asked by Scott McMahan

On Fedora 10, using InkScape, I can't print to photo paper. I was able to do this in The GIMP. I picked the same "Photo (on photo paper)" quality setting for both. This is a different problem than the missing "Best Quality" problem. But they are both related to building the foomatic command from the PPD file. The PPD file for the A809 seems to be broken.

 renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs595 842 0 0 0
 pop pop pop <</PageSize[5 -2 roll]/ImagingBBox null>>setpagedevice -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="Officejet Pro K5400" -dDuplex=false -r1200 -sIjsParams=Quality:Quality=3,Quality:ColorMode=2,Quality:MediaType=2,Quality:PenSet=2,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- -
 Starting process 11549: "foomatic-gswrapper -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs595 84..."
 foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs595' '842' '0' '0' '0'
 prnt/hpijs/hpijs.cpp 346: unable to set key=OutputFile, value=
 Error: /undefinedfilename in (842)

Entire CUPS error log for the job:

 foomatic-rip version $Revision=3.0.2.138$ running...
 Parsing PPD file ...
 Added option ColorSpace
 Added option Resolution
 Added option PageSize
 Added option Model
 Added option PrintoutMode
 Added option InputSlot
 Added option Duplex
 Added option Quality
 *cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip"
 *cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip"
 Added option PageRegion
 Added option ImageableArea
 Added option PaperDimension
 Added option Font

 Parameter Summary
 -----------------

 Spooler: cups
 Printer: Officejet_Pro_8000_A809
 Shell: /bin/sh
 PPD file: /etc/cups/ppd/Officejet_Pro_8000_A809.ppd
 ATTR file:
 Printer model: HP Officejet Pro 8000 a809 hpijs, 3.9.4b
 Job title: Print test.svg
 File(s) to be printed:
 <STDIN>

 GhostScript extra search path ('GS_LIB'): /usr/share/cups/fonts
 Pondering option 'PrintoutMode=Photo'
 Pondering option 'PageSize=Custom.595.28x841.89'
 Pondering option 'Quality=FromPrintoutMode'
 Pondering option 'Duplex=None'
 Pondering option 'InputSlot=Default'
 Pondering option 'number-up=1'
 Unknown option number-up=1.
 Pondering option 'job-uuid=urn:uuid:06bd341e-41a6-37b5-5a35-4700258a88ef'
 Unknown option job-uuid=urn:uuid:06bd341e-41a6-37b5-5a35-4700258a88ef.
 Pondering option 'scaling=100'
 Unknown option scaling=100.
 Pondering option 'orientation-requested=3'
 Unknown option orientation-requested=3.

 ================================================

 File: <STDIN>

 ================================================

 Reading PostScript input ...
 --> This document is DSC-conforming!
 Found: %RBINumCopies: 1

 -----------
 Found: %%BeginProlog
 Found: %%EndProlog

 -----------
 Found: %%BeginSetup
 Found: %%BeginFeature: *CustomPageSize True
 Unknown option CustomPageSize=True found in the job
 Found: %%BeginFeature: *PrintoutMode Photo
 Option: PrintoutMode=Photo --> Setting option
 Found: %% FoomaticRIPOptionSetting: PrintoutMode=Photo
 Option: PrintoutMode=Photo --> Setting option
 Found: %%BeginFeature: *InputSlot Default
 Option: InputSlot=Default --> Setting option
 Found: %% FoomaticRIPOptionSetting: InputSlot=Default
 Option: InputSlot=Default --> Setting option
 Found: %%BeginFeature: *Quality FromPrintoutMode
 Option: Quality=FromPrintoutMode --> Setting option
 Found: %% FoomaticRIPOptionSetting: Quality=@PrintoutMode
 Option: Quality=FromPrintoutMode --> Setting option
 Found: %%BeginFeature: *Duplex None
 Option: Duplex=None --> Setting option
 Found: %% FoomaticRIPOptionSetting: Duplex=None
 Option: Duplex=None --> Setting option
 Found: %%EndSetup
 Inserting PostScript code for CUPS' page accounting

 -----------
 New page: 1 1

 Found: %%BeginPageSetup
 Inserting option code into "PageSetup" section.
 Found: %%EndPageSetup
 End of page header
 Stopping search for page header options
 Found: <J=(Gh)3X:3)[.iYlkRgo%N..)WXWV6#uH]o"4QGWDL?Eb)d;/"?8c1:H!kZ2=l]G"A_&LW
 --> Output goes directly to the renderer now.

 Starting renderer
 JCL: <job data>

 renderer PID kid4=11548
 renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs595 842 0 0 0
 pop pop pop <</PageSize[5 -2 roll]/ImagingBBox null>>setpagedevice -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="Officejet Pro K5400" -dDuplex=false -r1200 -sIjsParams=Quality:Quality=3,Quality:ColorMode=2,Quality:MediaType=2,Quality:PenSet=2,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- -
 Starting process 11549: "foomatic-gswrapper -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs595 84..."
 foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs595' '842' '0' '0' '0'
 prnt/hpijs/hpijs.cpp 346: unable to set key=OutputFile, value=
 Error: /undefinedfilename in (842)
 Operand stack:

 Execution stack:
 %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push
 Dictionary stack:
 --dict:1159/1684(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)--
 Current allocation mode is local
 Last OS error: 2
 GPL Ghostscript 8.63: Unrecoverable error, exit code 1
 /bin/sh: line 1: setpagedevice: Permission denied
 Process 11549 ending: "foomatic-gswrapper -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs595 84..."
 renderer return value: 1
 renderer received signal: 1
 tail process done writing data to STDOUT
 KID4 finished
 Process dying with "Caught termination signal: Job canceled", exit stat: 0
 error: Broken pipe (32)
 Cleaning up ...
 Killing process 11547 (KID3) with signal 15
 Process dying with "Caught termination signal: Job canceled", exit stat: 0
 error: Illegal seek (29)
 Cleaning up ...
 Killing process 11548 (KID4) with signal 15
 Killing process 11548 (KID4) with signal 9

 Closing foomatic-rip.
 Killing process 11547 (KID3) with signal 9
 Caught termination signal: Job canceled

 Closing foomatic-rip.

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Scott McMahan (scott-skwc) said :
#1

Well, I can't print using the "Normal Quality (color on photo paper)" setting either in inkscape.

Same error:

D [20/May/2009:14:48:36 -0400] [Job 439] JCL: <job data>
D [20/May/2009:14:48:36 -0400] [Job 439]
D [20/May/2009:14:48:36 -0400] [Job 439] renderer PID kid4=11618
D [20/May/2009:14:48:36 -0400] [Job 439] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs595 842 0 0 0
D [20/May/2009:14:48:36 -0400] [Job 439] pop pop pop <</PageSize[5 -2 roll]/ImagingBBox null>>setpagedevice -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="Officejet Pro K5400" -dDuplex=falseFromPrintoutMode,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- -
D [20/May/2009:14:48:36 -0400] [Job 439] Starting process 11619: "foomatic-gswrapper -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs595 84..."
D [20/May/2009:14:48:37 -0400] [Job 439] foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs595' '842' '0' '0' '0'
D [20/May/2009:14:48:37 -0400] [Job 439] prnt/hpijs/hpijs.cpp 346: unable to set key=OutputFile, value=
D [20/May/2009:14:48:37 -0400] [Job 439] Error: /undefinedfilename in (842)

Revision history for this message
Scott McMahan (scott-skwc) said :
#2

Well, I can't print to "Normal (auto-detect paper type)" in inkscape, either. Same error.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#3

Scott,

To be clear, you can print to photo paper in the various modes using applications other than inkscape? Eye of Gnome, for example?

Thanks.

Aaron

Revision history for this message
Scott McMahan (scott-skwc) said :
#4

Yes, I have successfully printed to photo paper using The GIMP.

Revision history for this message
Scott McMahan (scott-skwc) said :
#5

Also: I just tested printing to photo paper in OpenOffice 3.0.1 too. No problems at all. Something is unique to InkScape. I used to use InkScape with my 970c all the time. I had an existing page layout I used to test the new printer.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#6

We haven't done any testing on InkScape, but at this point it sounds like an app issue. You could contact InkScape for more information? It's possible you are using a different version and something may have changed in the latest release of InkScape.

Aaron

Revision history for this message
Scott McMahan (scott-skwc) said :
#7

I filed a bug report with InkScape:

https://bugs.launchpad.net/inkscape/+bug/382536

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#8

Thanks for the update. I'll look into your other problem as well.

Setting to answered for now.

A

Revision history for this message
friday (b3nder) said :
#9

I've got similar bug recently with inkscape:

Starting process 14583: "foomatic-gswrapper -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs595 84..."
foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs595' '842' '0' '0' '0'
sh: hpijs595: command not found
GPL Ghostscript 8.64: Can't start ijs server "hpijs595"

Then I've changed string in PPD file for my printer in CUPS config from

*FoomaticRIPCommandLine: "gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPA&&
USE -sDEVICE=ijs -sIjsServer=hpijs %A%B%C%D -dIjsUseOutputFD%Z -sOutputFi&&
le=- -"

to

*FoomaticRIPCommandLine: "gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPA&&
USE -sDEVICE=ijs -sIjsServer=hpijs %A%B%C%D -dIjsUseOutputFD%Z -sOutputFi&&
le=- -"

This show the similar error output written above in this ticket:

foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '595' '842' '0' '0' '0'
prnt/hpijs/hpijs.cpp 346: unable to set key=OutputFile, value=
prnt/hpijs/hpijs.cpp 88: unable to set Quality=0, ColorMode=2, MediaType=0, err=-1
prnt/hpijs/hpijs.cpp 90: following will be used Quality=0, ColorMode=0, MediaType=0
Error: /undefinedfilename in (595)

So, is the string that I've changed in PPD file is okay?
Is my bug connected with inkscape?

Revision history for this message
David Suffield (david-suffield) said :
#10

Looks like a bogus PPD with "-sIjsServer=hpijs595". If you are using a HPLIP dynamic PPD install you need cupsddk 1.2.3 or higher. Otherwise you must install HPLIP as a static PPD install.

Can you help with this problem?

Provide an answer of your own, or ask Scott McMahan for more information if necessary.

To post a message you must log in.