Hi, I'm having trouble with LPRng in that when I use lpr to send a document to my HP LaserJet1200 using Postscript 2. It appears that although lpr thinks it is successfully spooling the job, the job just disappears. This does not appear to be the same problem as described in the LPRng HOWTO. The output from lpr is as follows:
[root@linux pub]# lpr -V test.ps LPRng-3.8.19, Kerberos5, Copyright 1988-2002 Patrick Powell, sending job 'root@linux+293' to laserjet@localhost connecting to 'localhost', attempt 1 connected to 'localhost' requesting printer laserjet@localhost sending control file 'cfA293linux.chrisdomain' to laserjet@localhost completed sending 'cfA293linux.chrisdomain' to laserjet@localhost sending data file 'dfA293linux.chrisdomain' to laserjet@localhost completed sending 'dfA293linux.chrisdomain' to laserjet@localhost done job 'root@linux+293' transfer to laserjet@localhost [root@linux pub]# lpd does not appear to be able to pick up the job to forward it to the printer: [root@linux pub]#lpq -L Status: laserjet: Receive_job: read from localhost- status 0 read 28 bytes '^B147 cfA293linux.chrisdomain' at 22:55:34.048 Status: laserjet: Receive_job: read from localhost- status 0 read 30 bytes '^C46012 dfA293linux.chrisdomain' at 22:55:34.064 Status: laserjet: Receive_job: read from localhost- status 0 read 0 bytes '' at 22:55:34.086 Status: laserjet: Check_for_missing files: FAIL 'cfA293linux.chrisdomain' error renaming '/var/spool/lpd/temp01mL057L' to 'dfA293linux.chrisdomain' - No such file or directory at 22:55:34.101 Status: laserjet: Get_queue_status: rename of '/var/spool/lpd/temp00Ufa4xk' to 'lpq.0' failed - No such file or directory at 22:56:25.678 Status: laserjet: Get_queue_status: rename of '/var/spool/lpd/temp00bkwXW0' to 'lpq.0' failed - No such file or directory at 22:56:32.376 My printcap entry is: (and checkpc reckons it is ok) laserjet:\ :sd=/var/spool/lpd:\ :af=/var/spool/lpd/hp1200.acct:\ :lp=/dev/lp0:\ :mx=0:\ :sh:\ :rw: I have successfully printed to the printer by sending data directly to the parallel port using: cat test.ps > /dev/lp0. Any ideas on where I am going wrong? ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
