I have spent many happy hours on a problem like this, too. Memory fades fast, but, thankfully, I keep all my old email. Love those big hard drives. I had three problems in my situation:
1. A required program didn't have it full path name specified. 2. There was an error in the script in my print queue directory. 3. Third, I was using enscript in my homemade print filter, and was trying to cat to it, which is wrong, I think. Also, remember, there are different users involved here. Make sure permissions are set right for your daemon running the print job. And, there always the bizzare idea that your for some odd reason your printcap file can't be read and printed at the same time. And, I don't use an of: like you do. It seems odd that the same file is the if: and the of:. Joel On Wed, Aug 28, 2002 at 12:59:03PM -0400, Ryan Novosielski wrote: > # cat /etc/printcap | /opt/LPRng/libexec/filters/lpf | lpr -Pps1nwk%9901 -Y > > ..works! > > # lpr -Plp /etc/printcap > > ...no work. :( > > # lpc printcap lp > Printer: lp@njmsa > lp > :ab > :af=/var/spool/lpd/%P/acct > :bp=/opt/LPRng/libexec/filters/lpbanner > :cm=Newark Lab - C632 - HP LinePrinter 2563A > :if=/opt/LPRng/libexec/filters/lpf > :lp=ps1nwk%9901 > :of=/opt/LPRng/libexec/filters/lpf > :sd=/var/spool/lpd/%P > > # lpq -Plp -L > Status: subserver pid 29628 starting at 12:56:06.190 > Status: accounting at start at 12:56:06.190 > Status: opening device 'ps1nwk%9901' at 12:56:06.495 > Status: printing job 'root@njmsa+557' at 12:56:06.498 > Status: creating banner at 12:56:06.499 > Status: Filter_file: pgm '/opt/LPRng/libexec/filters/lpbanner' exited > with status 'JSUCC' at 12:56:06.744 > Status: printing 'root@njmsa+557' starting OF 'lpf' at 12:56:06.745 > Status: OF filter suspended at 12:56:06.835 > Status: processing 'dfA557njmsa.umdnj.edu', size 4180, format 'f', IF filter 'lpf' >at 12:56:06.836 > Status: IF filter 'lpf' filter finished at 12:56:07.022 > Status: OF filter finished at 12:56:07.028 > Status: printing finished at 12:56:07.028 > Rank Owner/ID Class Job Files Size > Time > active root@njmsa+557 A 557 /etc/printcap 4180 > 12:56:04 > > ...anyone have any insight? > > ---- _ _ _ _ ___ _ _ _ > |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin > |$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) > \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630 > > > ----------------------------------------------------------------------------- > 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. -----------------------------------------------------------------------------
