Date: Wed, 16 Jan 2002 12:04:48 +0100 From: Christian Ullrich <chris@chrullrich.de> To: apsfilter-help@apsfilter.org Subject: Re: 4.4R: if: doesn't get started when getting remote print job (Re: apsfilter doesn't work on server) Message-ID: <20020116110448.GA19558@christian.chrullrich.de> In-Reply-To: <20020116093257.GA18106@titan.klemm.gtn.com> References: <20020115062456.GA13349@christian.chrullrich.de> <XFMail.020115124543.phallobst@web.de> <20020115151846.GA14953@christian.chrullrich.de> <20020115213522.GA15920@christian.chrullrich.de> <20020116091030.GA16535@titan.klemm.gtn.com> <20020116093257.GA18106@titan.klemm.gtn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* 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 majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020116110448.GA19558>