Did the lpq -llll and got the output shown below. There's a postscript
error. The file prints fine if dumped to the printer with pap, so I guess
there's an error in filter processing.
I turned PS error printing on on my LJ4 and it printed the following:
ERROR: undefined
OFFENDING COMMAND:
STACK:
Not very useful, but it explains why the job isn't printing.
Does ifhp send the job straight thru if it's postscript, but create
postscript if it's not?
Also, lpq doesn't show the job in the queue when it's done. But, the job
exists in the lp/ directory (along with a whole bunch of other test prints).
lpq -llll output:
********
Printer: lp@rgp 'Randy's Laserjet'
Queue: no printable jobs in queue
Status: subserver pid 803 starting at 06:29:12.099
Status: accounting at start at 06:29:12.145
Status: opening device '| -$ /usr/bin/pap -e -p "Randy's Laserjet"' at
06:29:12.186
Status: printing job 'root@rgp+781' at 06:29:12.191
Status: processing 'dfA781rgp.lan', size 25439, format 'f', IF filter
'ifhp' at 06:29:12.191
Status: IF filter 'ifhp' filter finished at 06:29:12.693
Status: printing finished at 06:29:12.693
Status: IO_DEVICE message '%%[ Error: undefined; OffendingCommand: ^D ]%%'
at 06:29:17.796
Status: IO_DEVICE message '%%[ Flushing: rest of job (to end-of-file) will
be ignored ]%%' at 06:29:17.839
Status: waiting for printer filter to exit at 06:29:19.072
Status: printer filter exit status 'JSUCC' at 06:29:19.072
Status: accounting at end at 06:29:19.073
Status: finished 'root@rgp+781', status 'JSUCC' at 06:29:19.073
Status: subserver pid 803 exit status 'JSUCC' at 06:29:19.074
Status: [EMAIL PROTECTED]: job 'root@rgp+781' printed at 06:29:19.075
Status: job 'root@rgp+781' removed at 06:29:19.076
Filter_status: converter failed, exit code 33 at 16:13:17.967
Filter_status: using model 'ps' at 06:29:12.676
Filter_status: setting up printer at 06:29:12.690
Filter_status: pagecounter 0 at 06:29:12.690
Filter_status: sending job file at 06:29:12.690
Filter_status: starting transfer at 06:29:12.690
Filter_status: initial job type 'POSTSCRIPT' at 06:29:12.690
Filter_status: decoded job type 'POSTSCRIPT' at 06:29:12.690
Filter_status: job type 'POSTSCRIPT' at 06:29:12.691
Filter_status: transferring 25439 bytes at 06:29:12.691
Filter_status: 40 percent done at 06:29:12.692
Filter_status: 80 percent done at 06:29:12.692
Filter_status: finished writing file, cleaning up at 06:29:12.692
Filter_status: sent job file at 06:29:12.692
Filter_status: pagecounter 0, pages 0 at 06:29:12.692
Filter_status: done at 06:29:12.692
on 8/24/00 6:31 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:
>> From [EMAIL PROTECTED] Thu Aug 24 08:42:38 2000
>> Date: Thu, 24 Aug 2000 10:28:46 -0400
>> Subject: LPRng: LPRng and netatalk
>> From: rgp systems <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>>
>> I've got netatalk 2.1.38 running good on Yellow Dog Linux on a Mac G3. My
>> printer is a HP
>> LJ4M.
>>
>> I installed LPRng, as per recommendations on netatalk lists. Everything
>> seems to be set up correctly. If I print with lpr -Plp test.ps it shows up
>> in the
>> queue. My HP blinks a few times -- then nothing. Guess the server keeps
>> trying cause a few seconds later the printer will blink twice again -- and
>> still nothing.
>>
>> So: the file spools ok, the printer is being seen, but the job isn't going
>> through.
>>
>> Printing with pap (pap -p "LJ4" test.ps) works fine.
>>
>> I also installed LPRng on a completely different, well-functioning appletalk
>> network, using MkLinux with a LaserWriter IIg -- with the same results.
>>
>> HELP!
>>
>>
>> Below are my config files:
>>
>>
>> Printcap ***
>> lp|LJ4|Randy's Laserjet: \
>> :lp=| -$ /usr/bin/pap -e -p "Randy's Laserjet": \
>> :sd=/var/spool/lpd/lp: \
>> :ifhp=model=ps,status@: \
>> :filter=/usr/local/libexec/filters/ifhp
>>
>> papd.conf ***
>>
>> :pr=| /usr/bin/lpr -Plp:\
>> :op=netatalk:\
>> :pd=/usr/local/lib/PPDs/Hewlett-Packard/LaserJet4
>>
>>
>> atalkd.conf ***
>> eth0 -phase 2 -net 0-65534 -addr 65280.164
>>
>> afpd.conf ***
>> "G3 Netatalk" -tcp
>
> You can get more information by looking at the log file:
>
> lpq -lll
>
> This will print additional status information.
>
> If this fails to tell you what is going on, then you
> can do the following:
>
> cd /var/spool/lpd/lp
> cp /dev/null log
>
> lpc debug lp 4
> lpr /some/file/to/print
> lpq ... (check to see if the job is done)
>
> lpc debug all off
>
> mail me the log file.
>
> Patrick Powell
>
> Patrick Powell Astart Technologies,
> [EMAIL PROTECTED] 9475 Chesapeake Drive, Suite D,
> Network and System San Diego, CA 92123
> Consulting 858-874-6543 FAX 858-279-8424
> LPRng - Print Spooler (http://www.astart.com)
>
> -----------------------------------------------------------------------------
> 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.
> -----------------------------------------------------------------------------
>
--
Randy Perry
rgp systems
Mac Consulting/Sales
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------