Oh hey,
still on the quest.. Like you said, FuzzeX, use a different browser for printing: so NP on that one.

What's happening now ( and wasn't before ). The first print job sent to the CUPS server (from any machine on my network) will print. Any subsequent jobs will also print, but not until you 'start' the printer.
It seems like anything after the first print job causes the printer to stop.
For the first job after restart, here is a sample from error_log at level='debug':
Code: Select all
[Job 51] --> Output goes directly to the renderer now.
D [24/May/2004:16:28:06 -0400] [Job 51]
D [24/May/2004:16:28:06 -0400] [Job 51]
D [24/May/2004:16:28:06 -0400] [Job 51] Starting renderer
D [24/May/2004:16:28:06 -0400] [Job 51] renderer PID kid4=14366
D [24/May/2004:16:28:06 -0400] [Job 51] renderer command: foo2zjs-wrapper -P -r600x600 -p1 -s7
-m1 -d1 -n1 -I0
D [24/May/2004:16:28:06 -0400] [Job 51] JCL: <job data>
D [24/May/2004:16:28:06 -0400] [Job 51]
D [24/May/2004:16:28:06 -0400] [Job 51]
D [24/May/2004:16:28:06 -0400] [Job 51] Closing renderer
D [24/May/2004:16:28:07 -0400] [Job 51] KID3 exited with status 0
D [24/May/2004:16:28:07 -0400] [Job 51] tail process done writing data to STDOUT
D [24/May/2004:16:28:07 -0400] [Job 51] KID4 finished
D [24/May/2004:16:28:07 -0400] [Job 51] KID4 exited with status 0
D [24/May/2004:16:28:07 -0400] [Job 51] Renderer exit stat: 0
D [24/May/2004:16:28:07 -0400] [Job 51] KID3 finished
D [24/May/2004:16:28:07 -0400] [Job 51] Renderer process finished
D [24/May/2004:16:28:07 -0400] [Job 51]
D [24/May/2004:16:28:07 -0400] [Job 51] Closing foomatic-rip.
,which printed right away. And for the subsequent job:
Code: Select all
[Job 52] --> Output goes directly to the renderer now.
D [24/May/2004:16:31:09 -0400] [Job 52]
D [24/May/2004:16:31:09 -0400] [Job 52]
D [24/May/2004:16:31:09 -0400] [Job 52] Starting renderer
D [24/May/2004:16:31:09 -0400] [Job 52] renderer PID kid4=14400
D [24/May/2004:16:31:09 -0400] [Job 52] JCL: <job data>
D [24/May/2004:16:31:09 -0400] [Job 52]
D [24/May/2004:16:31:09 -0400] [Job 52] renderer command: foo2zjs-wrapper -P -r600x600 -p1 -s7
-m1 -d1 -n1 -I0
D [24/May/2004:16:31:09 -0400] [Job 52]
D [24/May/2004:16:31:09 -0400] [Job 52] Closing renderer
D [24/May/2004:16:31:10 -0400] [Job 52] Process dying with "error closing *main::STDOUT", exit s
tat: 9
D [24/May/2004:16:31:10 -0400] [Job 52] error closing *main::STDOUT
D [24/May/2004:16:31:10 -0400] [Job 52] KID3 exited with status 0
D [24/May/2004:16:31:10 -0400] [Job 52] KID4 exited with status 9
D [24/May/2004:16:31:10 -0400] [Job 52] Renderer exit stat: 9
D [24/May/2004:16:31:10 -0400] [Job 52] KID3 finished
D [24/May/2004:16:31:10 -0400] [Job 52] Renderer process finished
D [24/May/2004:16:31:10 -0400] [Job 52] Killing process 14399 (KID3)
D [24/May/2004:16:31:10 -0400] [Job 52] Process dying with "Error closing renderer", exit stat:
9
D [24/May/2004:16:31:10 -0400] [Job 52] Error closing renderer
D [24/May/2004:16:31:10 -0400] UpdateJob: job 52, file 0 is complete.
D [24/May/2004:16:31:10 -0400] StopJob: id = 52, force = 0
I [24/May/2004:16:31:10 -0400] Saving printers.conf...
D [24/May/2004:16:31:10 -0400] StopJob: printer state is 5
E [24/May/2004:16:31:10 -0400] PID 14397 stopped with status 9!
, which didn't print until I 'started' the printer, and then I got:
Code: Select all
[Job 52] --> Output goes directly to the renderer now.
D [24/May/2004:16:34:15 -0400] [Job 52]
D [24/May/2004:16:34:15 -0400] [Job 52]
D [24/May/2004:16:34:15 -0400] [Job 52] Starting renderer
D [24/May/2004:16:34:15 -0400] [Job 52] renderer PID kid4=14430
D [24/May/2004:16:34:15 -0400] [Job 52] JCL: <job data>
D [24/May/2004:16:34:15 -0400] [Job 52]
D [24/May/2004:16:34:15 -0400] [Job 52] renderer command: foo2zjs-wrapper -P -r600x600 -p1 -s7
-m1 -d1 -n1 -I0
D [24/May/2004:16:34:15 -0400] [Job 52]
D [24/May/2004:16:34:15 -0400] [Job 52] Closing renderer
D [24/May/2004:16:34:16 -0400] [Job 52] KID3 exited with status 0
D [24/May/2004:16:34:16 -0400] [Job 52] tail process done writing data to STDOUT
D [24/May/2004:16:34:16 -0400] [Job 52] KID4 finished
D [24/May/2004:16:34:16 -0400] [Job 52] KID4 exited with status 0
D [24/May/2004:16:34:16 -0400] [Job 52] Renderer exit stat: 0
D [24/May/2004:16:34:16 -0400] [Job 52] KID3 finished
D [24/May/2004:16:34:16 -0400] [Job 52] Renderer process finished
D [24/May/2004:16:34:16 -0400] [Job 52]
D [24/May/2004:16:34:16 -0400] [Job 52] Closing foomatic-rip.
if it helps, here is an output:
Code: Select all
#foo2zjs-wrapper -V
$Id: foo2zjs-wrapper.in,v 1.66 2003/11/05 17:40:05 rick Exp $
$Id: foo2zjs.c,v 1.46 2003/11/06 18:52:03 rick Exp $
I get that foo2zjs-wrapper can't close STDOUT; but is there a way for me to fix this, or should my users get used to hitting start in their print managers. Perhaps I'll have to make a DCOP script for their desktops.
<PLUG> FuzzeX rocks!! </PLUG>