| Zach Paine on Sun, 19 Nov 2000 20:34:59 +0100 (CET) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: SMB and Apsfilter |
On Sun, Nov 19, 2000 at 07:06:49PM +0100, Andreas Klemm wrote:
> Is network working in general ?
> Can you ping the windows machine ?
> If not, then first bring tcp/ip up and running.
>
> Additionally I'd suggest you read the documents concerning
> apsfilter && troubleshooting
> You need to enable debugging in apsfilter, so that we get the
> debug output of the apsfilter shell script to see where things
> fail ... this is described in the docu (hint: enable set -x in the
> apsfilter script)
I enabled debugging. The log file says this:
2000-11-19-00:33:01.173 matrix lp: Printer_open: printer 'lp' missing
lp_device value
My /etc/printcap looks like this:
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
lp|Printer1 auto:\
:lp=/dev/null:\
:if=/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp:\
:lf=/var/spool/lpd/lp/log:\
:af=/var/spool/lpd/lp/acct:\
:mx#0:\
:sh:
# APS1_END - don't delete this
In addition, once the job is in the queue, the output of the lpq command looks
like this:
Printer: lp@matrix 'Printer1 auto'
Queue: 1 printable job
Server: pid 5429 active
Unspooler: pid 5430 active
Status: IF filter 'apsfilter' filter msg - 'Error object: ' at
14:33:42.694
Rank Owner/ID Class Job Files Size
Time
active root@matrix+427 A 427 test 18
14:33:41
What's going on?!?
Thanks for your help so far.
--
__
Zach Paine
http://www.wplug.org/~zman/zman.key
Key available from pgp.ai.mit.edu ID: 87746D3D
Fingerprint: B813 EFB8 ECD0 0C34 6F7F 71DD 01E9 17C3 8774 6D3D