Hi Ignacio, you seem to run into some kind of ghostscript problem, the converted file has 0 bites, that's why you don't get any output. Try the gs string on the commandline and change it in the ifhp.conf as you need it... hope this helps
best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY | Phone: 040-8998-2317 * * - IT - | Fax: 040-8998-4060 * \* 22603 Hamburg | http://www.desy.de */ On Wed, 5 Jun 2002, ignacio [iso-8859-15] josé wrote: > > Hello, > > I'm using the following packages: LPRng-3.8.12-1 and ifhp-3.5.8-1. > > I'm trying to print the example file 'testpage.ps'. I've shaped my > printer, that is a Epson Stylus Color 600. > > When I run 'lpr testpage.ps' the LPRng makes his work. I know it because > I've checked the process with the 'lpq -v' command. But later the document > doesn't go to the printer; It is only written into the file '@DEVFD3'. Why > doesn't it go to the printer? > I know that the conversion process is well, because if I run 'cat @DEVFD3 > > /dev/lp0' I obtain the document in the printer. > > I'm using the following printcap file: > > Epson600|impresora|lp: > :rw:lp=/dev/lp0 > :sd=/var/spool/lpd/Epson600 > :lf=/var/spool/lpd/Epson600/errs > :filter=/usr/libexec/filters/ifhp > :ifhp=model=stc600pl.upp,status@ > :mx#0 > :ff_separator@ > :sh: > :force_localhost > > Briefly, I'm obtaining the following lines when I run the lpq command: > > Status: waiting for subserver to exit at 13:28:14.008 > Status: subserver pid 1475 starting at 13:28:14.010 > Status: accounting at start at 13:28:14.010 > Status: opening device '/dev/lp0' at 13:28:14.028 > Status: printing job 'root@localhost+473' at 13:28:14.028 > Status: processing 'dfA473localhost.localdomain', size 260183, format 'f', > IF filter 'ifhp' at 13:28:14.028 > Status: IF filter 'ifhp' filter finished at 13:28:18.565 > Status: printing finished at 13:28:18.565 > Status: accounting at end at 13:28:18.565 > Status: finished 'root@localhost+473', status 'JSUCC' at 13:28:18.565 > Status: subserver pid 1475 exit status 'JSUCC' at 13:28:18.566 > Status: [EMAIL PROTECTED]: job 'root@localhost+473' printed at > 13:28:18.566 > Status: job 'root@localhost+473' saved at 13:28:18.566 > > Filter_status: starting transfer at 01:22:33.660 > Filter_status: using model 'stc600pl.upp' at 13:28:14.119 > Filter_status: setting up printer at 13:28:14.120 > Filter_status: pagecounter 0 at 13:28:14.121 > Filter_status: sending job file at 13:28:14.121 > Filter_status: starting transfer at 13:28:14.121 > Filter_status: initial job type 'POSTSCRIPT' at 13:28:14.121 > Filter_status: decoded job type 'RAW' at 13:28:14.121 > Filter_status: job type 'RAW', converter '/usr/bin/gs -dSAFER > -dPARANOIDSAFER -dBATCH -dNOPAUSE -q '-sOutputFile=@DEVFD3' 3>&1 1>&2 > -sPAPERSIZE=letter @stc600pl.upp -' at 13:28:14.121 > Filter_status: started CONVERTER- 'gs' at 13:28:14.122 > Filter_status: converter done, output 0 bytes at 13:28:18.564 > Filter_status: zero length conversion output at 13:28:18.564 > Filter_status: transferring 0 bytes at 13:28:18.564 > Filter_status: zero length job file at 13:28:18.564 > Filter_status: sent job file at 13:28:18.564 > Filter_status: pagecounter 0, pages 0 at 13:28:18.564 > Filter_status: done at 13:28:18.564 > Job: root@localhost+473 status= done > Job: root@localhost+473 size= 260183 > Job: root@localhost+473 time= 0x3cfe03de > > What is wrong? > > Another thing. I think that the lpq command has a bug because, as you can > see, the output is not in order. Furthermore, the output of a job is mixed > with the output of other jobs. > > Thank you, and sorry for my poor english. > > > ----------------------------------------------------------------------------- > 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. > ----------------------------------------------------------------------------- > ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------