On Tue, 7 Jan 2003, Chaves wrote: > Hi, i'm currently setting up a network based printing service and i'm having some >weird problems. The basis for this network is a HP 8150 printer and a unix service >running LPRNg and some accounting scripts. > I've set up the printer with a printcap entry as follows: > > :create_files=true > :lp=printer-09%9100 > :lf=/var/log/lpd-%P.log > :ifhp=model=hp8150,accounting=/usr/local/libexec/filters/actualizaQuotas.py > :filter=/usr/local/libexec/filters/ifhp -Tdebug=4 > :of=/usr/local/libexec/filters/ifhp -Tdebug=4 > :sd=/var/spool/lpd/%P > :db=1 > :mc=0 > > Problem is sometimes the printer processes the jobs normally, but sometimes (can't >quite figure out under what circunstances) the printer just won't sync with lprng, >leaving the jobs stalled. I gather from the debuging info that ifhp spits that the >printer isn't responding to the pjl echo command. > We're using the latest firmware and jetdirect firmware.
We also have hp lj 8150 printers Here's the printcap I'm using for a similar setup - maybe it helps to take a look at it. ##LPRNGTOOL## SOCKET filtertype=IFHP ifhp_options=accounting=/opt/local/adm/bin/pquota.pl,tbcp,status,sync,pagecount,waitend printerdb_entry=hp8100 eowyn :server :filter=/opt/pd/libexec/filters/ifhp :ifhp=model=hp8100,accounting=/opt/local/adm/bin/pquota.pl,tbcp,status,sync,pagecount,waitend :lp=10.0.0.3%9100 :lprngtooloptions=FILTERTYPE="IFHP" IFHP_OPTIONS="accounting=/opt/local/adm/bin/pquota.pl,tbcp,status,sync,pagecount,waitend" PRINTERDB_ENTRY="hp8100" :mx=0 :prefix_z=a4 :sd=/var/spool/lpd/%P :server :sh Best regards, Johan Bengtsson -- http://www.dd.chalmers.se/~elijah/ ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
