* Andreas Klemm schrieb am Mittwoch, 2002-01-16: > Another idea ... additionally. > use set -x in apsfilter shellscript and see in the printers logfile, > if apsfilter gets called an how, to make sure what happens or not ...
I did that. As I'm currently some 30 km away from the printer, I can't see what it produced, but now I know at least that apsfilter was indeed called. In the directory /var/spool/lpd/ascii, two files have been created: "lpq" and "lpq.0". The first one contains only: 4=filenames=lpq.0,prstatus=0x3c4485ce,queue_status_file=0x3c455d0d, (including that comma at the end of the previous line). The second is about 6 KiB and starts thus: Printer: ascii@ser1 'PS;r=600x600;q=medium;c=gray;p=a4;m=ascii' Queue: no printable jobs in queue Status: IF filter 'apsfilter' filter msg - 'J(STDIN)' at 11:59:23.292 Status: IF filter 'apsfilter' filter msg - 'Pchris' at 11:59:23.292 Status: IF filter 'apsfilter' filter msg - 'Qascii' at 11:59:23.292 Status: IF filter 'apsfilter' filter msg - 'N(STDIN)' at 11:59:23.292 Status: IF filter 'apsfilter' filter msg - 'ldfA671christian.chrullrich.de' at 11:59:23.292 Status: IF filter 'apsfilter' filter msg - 'UdfA671christian.chrullrich.de' at 11:59:23.292 Status: IF filter 'apsfilter' filter msg - '' ']'' at 11:59:23.292 Status: IF filter 'apsfilter' filter msg - '+ '[' '(STDIN)' = stdin -o '(STDIN) ' = '(stdin)' -o '(STDIN)' = '(STDIN)' ']'' at 11:59:23.293 Status: IF filter 'apsfilter' filter msg - '+ unset JOB' at 11:59:23.293 Status: IF filter 'apsfilter' filter msg - '+ '[' christian ']'' at 11:59:23.29 4 More data on request. As I said before, I don't really know what's lying in the printer's output tray right now, but I'm quite sure that it's still staircased text. What I printed, BTW, was "fortune -l | lpr -Pascii". The remote queue on the client (christian) is also called "ascii". Thanks for your reply no. 2. -- Christian Ullrich Registrierter Linux-User #125183 "Deliver." To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
