I am convinced I have missed something obvious here, but here I go:
If I print a large/complex job, for example:
% lpr -Pmed /opt/depot/gs6.50/share/ghostscript/6.50/examples/tiger.ps
the print fails.
lpq returns:
% lpq -lll -Pmed
Printer: med@coyote
Queue: no printable jobs in queue
Status: waiting for subserver to exit at 22:48:43.074
Status: IF filter 'ifhp' filter msg - 'ifhp 22:49:46.984 [20082]
Send_job: job failed during copy - Broken pipe' at 22:49:47.086
Status: IF filter 'ifhp' filter exit status 'JFAIL' at 22:49:47.124
Status: printing finished at 22:49:47.126
Status: med: Get_status_from_OF: LP, of_error 6 closed! - Bad file
number at 22:49:47.128
Status: subserver pid 20081 exit status 'JABORT' at 22:49:47.142
Status: job 'cfA079coyote' error 'aborting operations' at 22:49:47.145
Status: removing job 'cfA079coyote' - ABORT at 22:49:47.304
Filter_status: initial job type 'POSTSCRIPT' at 22:47:23.509
Filter_status: decoded job type 'RAW' at 22:47:23.513
Filter_status: job type 'RAW', converter '/opt/local/bin/gs -q -dSAFER
-dBATCH -sOutputFile=- -sPAPERSIZE=letter @stc600p.upp -' at
22:47:23.513
Filter_status: started CONVERTER- 'gs' at 22:47:23.681
Filter_status: converter done, output 5513896 bytes at 22:49:46.978
Filter_status: transferring 5513896 bytes at 22:49:46.981
Filter_status: write error or timeout - Broken pipe at 22:49:46.983
Filter_status: job failed during copy - Broken pipe at 22:49:46.984
However, if I create the pcl by hand with this:
% /opt/local/bin/gs -q -dSAFER -dBATCH -sOutputFile=- -sPAPERSIZE=letter
@stc600p.upp - <
/opt/depot/gs6.50/share/ghostscript/6.50/examples/tiger.ps >
/tmp/tiger.pcl
% lpr -Pmed /tmp/tiger.pcl
...then it prints just fine.
What am I missing?
Platform: sunos5.8
lprng: 3.7.3
gs: 6.50
printer: epson stylus 600 via external jetdirect
printcap:
lp:force_localhost
lo:force_localhost
med:force_localhost
hi:force_localhost
lp:server
:sd=/var/spool/lpd/%P
:lp=printer%9100
:force_localhost@
:filter=/usr/local/lib/ifhp
:ifhp=model=gs_uniprint,gs_device=stcany.upp
:fq
:sh
lo:server
:sd=/var/spool/lpd/%P
:lp=printer%9100
:force_localhost@
:filter=/usr/local/lib/ifhp
:ifhp=model=gs_uniprint,gs_device=stc600pl.upp
:fq
:sh
med:server
:sd=/var/spool/lpd/%P
:lp=printer%9100
:force_localhost@
:filter=/usr/local/lib/ifhp
:ifhp=model=gs_uniprint,gs_device=stc600p.upp
:fq
:sh
hi:server
:sd=/var/spool/lpd/%P
:lp=printer%9100
:force_localhost@
:filter=/usr/local/lib/ifhp
:ifhp=model=gs_uniprint,gs_device=stc600ih.upp
:fq
:sh
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------