From owner-freebsd-stable Wed Jan 16 3:12:11 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mout03.kundenserver.de (mout03.kundenserver.de [195.20.224.218]) by hub.freebsd.org (Postfix) with ESMTP id 529AB37B417 for ; Wed, 16 Jan 2002 03:11:29 -0800 (PST) Received: from [195.20.224.204] (helo=mrvdom00.kundenserver.de) by mout03.kundenserver.de with esmtp (Exim 2.12 #2) id 16QnyN-0007kU-00; Wed, 16 Jan 2002 12:11:15 +0100 Received: from [217.230.78.245] (helo=ser1.chrullrich.de) by mrvdom00.kundenserver.de with esmtp (Exim 2.12 #2) id 16QnyK-0000E2-00; Wed, 16 Jan 2002 12:11:13 +0100 Received: from christian.chrullrich.de (christian.chrullrich.de [192.168.0.2]) by ser1.chrullrich.de (Postfix) with ESMTP id 5DB5316F; Wed, 16 Jan 2002 12:11:12 +0100 (CET) Received: by christian.chrullrich.de (Postfix on SuSE Linux 7.3 (i386), from userid 1000) id 25B1645; Wed, 16 Jan 2002 12:11:06 +0100 (CET) Date: Wed, 16 Jan 2002 12:04:48 +0100 From: Christian Ullrich 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> References: <20020115062456.GA13349@christian.chrullrich.de> <20020115151846.GA14953@christian.chrullrich.de> <20020115213522.GA15920@christian.chrullrich.de> <20020116091030.GA16535@titan.klemm.gtn.com> <20020116093257.GA18106@titan.klemm.gtn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020116093257.GA18106@titan.klemm.gtn.com> User-Agent: Mutt/1.3.25i X-Current-Uptime: 7 d, 12:51:40 h Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * 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