| Andreas Klemm on Sat, 24 Mar 2001 08:30:08 +0100 (CET) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: Apsfilter, Samba, JetDirect - Problem |
You use susefilter, not apsfilter. susefilter != apsfilter. in the early days susefilter was heavily apsfilter based. But these days are long gone and both products have nothing in common. Bug suse thats they call their product still apsfilter, instead of using the name "susefilter". Its weired, they package it as susefilter but still call it apsfilter. [ Cc'd to werner ] Hi Werner, please change that. Its confusing for SuSe customers and apsfilter developers BTW: Thanks for the good relationship over the years ! Andreas /// On Thu, Mar 22, 2001 at 01:39:07PM +0100, christian.weiss@materna.de wrote: > Hi all, > > my Windoze-Users want to have the feature of beeing notified when a printjob > was done (and was removed from the print-queue).- So I have to go and doing > some changes to "apsfilter"... and run into trouble: > > When printing to the "HP LaserJet 4050 PCL" with a JetDirect-Device, the > "cf*" file is zero! All needed data (J, C, M, ...) are stored in > "lpdtempggCf4w" but doesn't seem to be used. > > ---ma-printserver:/var/spool/lpd/PS_lj4050-a4-auto-mono-1200--- > drwxr-xr-x 2 lp lp 1024 Mar 22 13:05 . > drwxr-xr-x 14 lp lp 1024 Feb 15 10:19 .. > -rw-r----x 1 root lp 4 Mar 22 13:05 .seq > -rw-rw---- 1 lp lp 0 Feb 6 11:08 acct > -rw-rw---- 1 root lp 0 Mar 22 13:05 cfA082ma-printserver > -rw-rw---- 1 root lp 2690 Mar 22 13:05 dfA082mRUd5Xe > -rw-rw-r-- 1 root lp 0 Mar 22 13:05 dfA082ma-printserver > -rw-r----- 1 lp lp 26 Mar 22 13:05 lock > -rw-rw---- 1 lp lp 0 Mar 22 08:29 log > -rw-rw---- 1 lp lp 109 Mar 22 13:05 lpdtempggCf4w > -rw-r----- 1 lp lp 24 Mar 22 13:05 status > ---ma-printserver:/var/spool/lpd/PS_lj4050-a4-auto-mono-1200--- > > All variables (options by lpd and "cf*" is not readed) are empty ($PRNAME, > $JOB, ...). So "lpr -m" will not work and in my case I don't know which File > was printed for notifing (echo "$JOB was finished successfull" | smbclient > -M %m -I %I). - The job was just printed out! > > The connected IBM-3218-Printer via parallel port works fine. "cf*" is > filled, "lpr -m ..." is functional, a Popup-Message was sent to > Windoze-Client. > > ---/var/lib/apsfilter/apsfilter--- > # apsfilter Line Printer Input Filter > # Version: SuSE-1.8 > # > # Copyright 1996-2000 SuSE GmbH > # Author: Werner Fink <werner@suse.de> > # > # NOTE: You really NEED bash to run this script > # > # (Not)Heavily based on apsfilter-4.9 > ---/var/lib/apsfilter/apsfilter--- > > ---/etc/printcap--- > lp2|PS_ibm_pageprinter-a4-auto-mono-600|PS_ibm_pageprinter a4 auto mono > 600:\ > :lp=/dev/lp0:\ > :sd=/var/spool/lpd/PS_ibm_pageprinter-a4-auto-mono-600:\ > :lf=/var/spool/lpd/PS_ibm_pageprinter-a4-auto-mono-600/log:\ > :af=/var/spool/lpd/PS_ibm_pageprinter-a4-auto-mono-600/acct:\ > :if=/var/lib/apsfilter/bin/PS_ibm_pageprinter-a4-auto-mono-600:\ > :la@:mx#0:\ > :tr=:cl:sh: > # > lp|PS_lj4050|lp5|pq_ma-lj4050|hp-lj4050|PS_lj4050-a4-auto-mono-1200|PS_lj405 > 0 a4 auto mono 1200:\ > :lp=/dev/null:\ > :rm=pr-ma-lj4050:\ > :sd=/var/spool/lpd/PS_lj4050-a4-auto-mono-1200:\ > :lf=/var/spool/lpd/PS_lj4050-a4-auto-mono-1200/log:\ > :af=/var/spool/lpd/PS_lj4050-a4-auto-mono-1200/acct:\ > :if=/var/lib/apsfilter/bin/PS_lj4050-a4-auto-mono-1200:\ > :la@:mx#0:\ > :tr=:cl:sh: > ---/etc/printcap--- > > So, I've got two options: > 1. Knowing how the "lpdtempXXX"-File is beeing named/created for doing my > Windoze-Stuff. Paper is just printed. > 2. "cf*"-File must be filled with the nice stuff instead of "lpdtempXXX". > > Does someone know this phenomenon or just even have a "Windoze-Popup after > printing-Solution"? ;) > > Thanks and sorry for my bad english, > -------------------------------------------- > Christian Weiss > Solaris/Linux Admin > Mobile Applications Central Services > Business Unit Communications > > MATERNA Information & Communications > Voßkuhle 37, 44141 Dortmund, Germany > www.materna.de - www.annyway.com > > Phone: +49 (0) 231 / 5599-8382 > PC-Fax: +49 (0) 231 / 5599-678382 > eMail: christian.weiss@materna.de Andreas /// -- Andreas Klemm Apsfilter Homepage http://www.apsfilter.org Support over mailing-lists (only!) http://www.apsfilter.org/support Mailing-list archive http://www.apsfilter.org/Lists-Archives