I just tried this on LPRng 3.8.13, with an HP JetDirect interface and this worked fine. I think you might want to try:
lp :sd=/var/spool/lp/%P :lp=printer_FDQN%9100 :mx=0 You can find out what is happening by using lpq -lll to get more status: Printer: t7@h110 Queue: no printable jobs in queue Server: no server active Status: printing job 'papowell@h110+957' at 10:57:32.355 Status: processing 'dfA957h110.private', size 145, format 'f', IF filter 'none - passthrough' at 10:57:32.356 Status: printing finished at 10:57:32.356 Status: accounting at end at 10:57:32.365 Status: finished 'papowell@h110+957', status 'JSUCC' at 10:57:32.365 Status: subserver pid 90959 exit status 'JSUCC' at 10:57:32.366 Status: [EMAIL PROTECTED]: job 'papowell@h110+957' printed at 10:57:32.366 Status: job 'papowell@h110+957' saved at 10:57:32.367 Rank Owner/ID Class Job Files Size Time done papowell@h110+957 A 957 /tmp/one.ps 145 10:57:32 > From [EMAIL PROTECTED] Wed Jul 17 09:30:42 2002 > From: Eric Devolder <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: LPRng: lpd process running foolish > Date: Wed, 17 Jul 2002 16:58:47 +0200 > > Hello, > > I'm posting to the mailing list because I've a problem I'm unable to solve by > myself. I read the FAQ, browsed the web mailing list, but unfortunately > didn't found an answer. > > The problem is quite simple. I've defined very basic printers in > /etc/printcap. > > > lp > :sd=/var/spool/lp/lpd > :lp=printer_FDQN%9100 > :mx=0 > > As you can see, the entry is trivial. The printer is an HP laserjet. It is > possible to send a job through the port 9100 with netcat. > > What happens when I launch a job is that the job is accepted by lpr, but > nothing is printed. Moreover, a new lpd process is running and consumes 100% > of the CPU time; it never dies and I need to 1� kill the process and 2� empty > the queue. > > I've checked with several versions of LPRng, but no changes. > > Anyone an idea? > > Regards, > > Eric > > > ----------------------------------------------------------------------------- > 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. -----------------------------------------------------------------------------
