Hi all,
I've been struggling with printer problems on Slackware 10.1 for a while and thought I'd ask here for some pointers. When printing from certain apps on a CUPS printer (HP PSC 1610) all jobs get aborted and print out the following error on a single sheet:
Code:
Error: /invalidfont in findfont
Operand stack:
Courier Font Courier <some numbers>
After changing error logging in CUPS to debug level I see more or the same same thing as has been reported here and elsewhere by people with simlar problems. Here's a sample:
Code:
D [08/May/2006:13:19:48 +0000] [Job 576] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 5550" -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dDuplex=false -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- -
D [08/May/2006:13:19:49 +0000] [Job 576] ESP Ghostscript 815.00: Unrecoverable error, exit code 1
D [08/May/2006:13:19:49 +0000] [Job 576] renderer return value: 1
D [08/May/2006:13:19:49 +0000] [Job 576] renderer received signal: 1
D [08/May/2006:13:19:49 +0000] [Job 576] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
D [08/May/2006:13:19:49 +0000] [Job 576] error: No such file or directory (2)
D [08/May/2006:13:19:49 +0000] [Job 576] Possible error on renderer command line or PostScript error. Check options.
D [08/May/2006:13:19:49 +0000] [Job 576] tail process done writing data to STDOUT
D [08/May/2006:13:19:49 +0000] [Job 576] KID4 finished
D [08/May/2006:13:19:49 +0000] [Job 576] 0 %%Page: 2 2
D [08/May/2006:13:19:49 +0000] [Job 576] pw = 576.0, pl = 747.0
D [08/May/2006:13:19:49 +0000] [Job 576] PageLeft = 18.0, PageRight = 594.0
D [08/May/2006:13:19:49 +0000] [Job 576] PageTop = 783.0, PageBottom = 36.0
D [08/May/2006:13:19:49 +0000] [Job 576] PageWidth = 612.0, PageLength = 792.0
D [08/May/2006:13:19:49 +0000] [Job 576] 0 %%BeginPageSetup
D [08/May/2006:13:19:49 +0000] [Job 576] 0 %%EndPageSetup
D [08/May/2006:13:19:49 +0000] [Job 576]
D [08/May/2006:13:19:49 +0000] [Job 576] -----------
D [08/May/2006:13:19:49 +0000] [Job 576] New page: 2 2
D [08/May/2006:13:19:49 +0000] [Job 576] Inserting option code into "PageSetup" section.
D [08/May/2006:13:19:49 +0000] [Job 576] Found:
D [08/May/2006:13:19:49 +0000] [Job 576] %%Page: 2 2
D [08/May/2006:13:19:49 +0000] [Job 576] --> Output goes to the FIFO buffer now.
D [08/May/2006:13:19:49 +0000] [Job 576]
D [08/May/2006:13:19:49 +0000] [Job 576]
D [08/May/2006:13:19:49 +0000] [Job 576] Found: %%BeginPageSetup
D [08/May/2006:13:19:49 +0000] [Job 576] Found: %%EndPageSetup
D [08/May/2006:13:19:49 +0000] [Job 576] End of page header
D [08/May/2006:13:19:49 +0000] [Job 576] Stopping search for page header options
D [08/May/2006:13:19:49 +0000] [Job 576] Found:
D [08/May/2006:13:19:49 +0000] [Job 576] ifelse
D [08/May/2006:13:19:49 +0000] [Job 576] --> Output goes directly to the renderer now.
D [08/May/2006:13:19:49 +0000] [Job 576]
D [08/May/2006:13:19:49 +0000] [Job 576] 0 %%Page: 3 3
D [08/May/2006:13:19:49 +0000] [Job 576] pw = 576.0, pl = 747.0
D [08/May/2006:13:19:49 +0000] [Job 576] PageLeft = 18.0, PageRight = 594.0
D [08/May/2006:13:19:49 +0000] [Job 576] PageTop = 783.0, PageBottom = 36.0
D [08/May/2006:13:19:49 +0000] [Job 576] PageWidth = 612.0, PageLength = 792.0
D [08/May/2006:13:19:49 +0000] [Job 576] 0 %%BeginPageSetup
D [08/May/2006:13:19:49 +0000] [Job 576] 0 %%EndPageSetup
D [08/May/2006:13:19:49 +0000] [Job 576]
D [08/May/2006:13:19:49 +0000] [Job 576] -----------
D [08/May/2006:13:19:49 +0000] [Job 576] New page: 3 3
D [08/May/2006:13:19:49 +0000] [Job 576] Inserting option code into "PageSetup" section.
D [08/May/2006:13:19:49 +0000] [Job 576] Found:
D [08/May/2006:13:19:49 +0000] [Job 576] %%Page: 3 3
D [08/May/2006:13:19:49 +0000] [Job 576] --> Output goes to the FIFO buffer now.
D [08/May/2006:13:19:49 +0000] [Job 576]
D [08/May/2006:13:19:49 +0000] [Job 576]
D [08/May/2006:13:19:49 +0000] [Job 576] Found: %%BeginPageSetup
D [08/May/2006:13:19:49 +0000] [Job 576] Found: %%EndPageSetup
D [08/May/2006:13:19:49 +0000] [Job 576] End of page header
D [08/May/2006:13:19:49 +0000] [Job 576] Stopping search for page header options
D [08/May/2006:13:19:49 +0000] [Job 576] Found:
D [08/May/2006:13:19:49 +0000] [Job 576] ifelse
D [08/May/2006:13:19:49 +0000] [Job 576] --> Output goes directly to the renderer now.
D [08/May/2006:13:19:49 +0000] [Job 576]
D [08/May/2006:13:19:49 +0000] [Job 576] 0 %%Page: 4 4
D [08/May/2006:13:19:49 +0000] [Job 576] pw = 576.0, pl = 747.0
D [08/May/2006:13:19:49 +0000] [Job 576] PageLeft = 18.0, PageRight = 594.0
D [08/May/2006:13:19:49 +0000] [Job 576] PageTop = 783.0, PageBottom = 36.0
D [08/May/2006:13:19:49 +0000] [Job 576] PageWidth = 612.0, PageLength = 792.0
D [08/May/2006:13:19:49 +0000] [Job 576] 0 %%BeginPageSetup
D [08/May/2006:13:19:49 +0000] [Job 576] 0 %%EndPageSetup
D [08/May/2006:13:19:49 +0000] [Job 576]
D [08/May/2006:13:19:49 +0000] [Job 576] -----------
D [08/May/2006:13:19:49 +0000] [Job 576] New page: 4 4
D [08/May/2006:13:19:49 +0000] [Job 576] Inserting option code into "PageSetup" section.
D [08/May/2006:13:19:49 +0000] [Job 576] Found:
D [08/May/2006:13:19:49 +0000] [Job 576] %%Page: 4 4
D [08/May/2006:13:19:49 +0000] [Job 576] --> Output goes to the FIFO buffer now.
D [08/May/2006:13:19:49 +0000] [Job 576]
D [08/May/2006:13:19:49 +0000] [Job 576]
D [08/May/2006:13:19:49 +0000] [Job 576] Found: %%BeginPageSetup
D [08/May/2006:13:19:49 +0000] [Job 576] Found: %%EndPageSetup
D [08/May/2006:13:19:49 +0000] [Job 576] End of page header
D [08/May/2006:13:19:49 +0000] [Job 576] Stopping search for page header options
D [08/May/2006:13:19:49 +0000] [Job 576] Found:
D [08/May/2006:13:19:49 +0000] [Job 576] ifelse
D [08/May/2006:13:19:49 +0000] [Job 576] --> Output goes directly to the renderer now.
D [08/May/2006:13:19:49 +0000] [Job 576]
D [08/May/2006:13:19:49 +0000] [Job 576] 0 %%Trailer
D [08/May/2006:13:19:49 +0000] [Job 576] Saw Trailer!
D [08/May/2006:13:19:49 +0000] [Job 576] Saw EOF!
D [08/May/2006:13:19:49 +0000] [Job 576]
D [08/May/2006:13:19:49 +0000] [Job 576] Closing renderer
D [08/May/2006:13:19:49 +0000] [Job 576] KID3 exited with status 3
D [08/May/2006:13:19:49 +0000] [Job 576] Renderer exit stat: 3
D [08/May/2006:13:19:49 +0000] [Job 576] Renderer process finished
D [08/May/2006:13:19:49 +0000] [Job 576] Killing process 5058 (KID3)
D [08/May/2006:13:19:49 +0000] [Job 576] Process dying with "Error closing renderer", exit stat: 3
D [08/May/2006:13:19:49 +0000] [Job 576] error: Illegal seek (29)
D [08/May/2006:13:19:49 +0000] [Job 576] Error closing renderer
E [08/May/2006:13:19:49 +0000] PID 5056 stopped with status 3!
D [08/May/2006:13:19:49 +0000] [Job 576] Connected on ports 515 (local 1023)...
D [08/May/2006:13:19:49 +0000] [Job 576] lpd_command 02 1P_PrintServD06FCC
D [08/May/2006:13:19:49 +0000] [Job 576] Sending command string (20 bytes)...
D [08/May/2006:13:19:49 +0000] [Job 576] Reading command status...
D [08/May/2006:13:19:49 +0000] [Job 576] lpd_command returning 0
D [08/May/2006:13:19:49 +0000] [Job 576] Control file is:
D [08/May/2006:13:19:49 +0000] [Job 576] Hyamjam
D [08/May/2006:13:19:49 +0000] [Job 576] Pjess
D [08/May/2006:13:19:49 +0000] [Job 576] J_stdin_
D [08/May/2006:13:19:49 +0000] [Job 576] ldfA057yamjam
D [08/May/2006:13:19:49 +0000] [Job 576] UdfA057yamjam
D [08/May/2006:13:19:49 +0000] [Job 576] N_stdin_
D [08/May/2006:13:19:49 +0000] [Job 576] lpd_command 02 60 cfA057yamjam
D [08/May/2006:13:19:49 +0000] [Job 576] Sending command string (17 bytes)...
D [08/May/2006:13:19:49 +0000] [Job 576] Reading command status...
D [08/May/2006:13:19:49 +0000] [Job 576] lpd_command returning 0
D [08/May/2006:13:19:49 +0000] [Job 576] lpd_command 03 584 dfA057yamjam
D [08/May/2006:13:19:49 +0000] [Job 576] Sending command string (18 bytes)...
D [08/May/2006:13:19:49 +0000] [Job 576] Reading command status...
D [08/May/2006:13:19:49 +0000] [Job 576] lpd_command returning 0
D [08/May/2006:13:19:49 +0000] UpdateJob: job 576, file 0 is complete.
D [08/May/2006:13:19:49 +0000] CancelJob: id = 576
D [08/May/2006:13:19:49 +0000] StopJob: id = 576, force = 0
D [08/May/2006:13:19:49 +0000] StopJob: printer state is 3
So this means that gs is either not finding fonts or finding misconfigured fonts that it can't use, right?
Now fonts remain a complete mystery to me -- there seem to be 18,000 different directories all over the place with fonts of different flavors in them and CUPS and gs and X11 all have their own sets and expectations for where they go, etc. I've seen some advice about moving all of my fonts to the font paths for gs and CUPS, but I am a little leery about that since it involves copying all of this mess to numerous places.
The machine in question is running slack 10.1 with the standard packages for espgs, gnu-gs-fonts, cups, and all that. The aborted jobs tend to be Open Office jobs or (perish the thought, but it is not my computer) MS Word jobs running in Wine via Crossover Office. Somehow both of those programs seem to be having trouble with ps fonts, and Word seems to have a habit of sticking font change commands all over the place.
Can anyone help me disentangle what's going on here and maybe even fix things?
Thanks,
geo