Skip site navigation (1)Skip section navigation (2)
Date:      09 Nov 2002 23:24:25 +0000
From:      Stacey Roberts <stacey@Demon.vickiandstacey.com>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   More Info - Re: Printing to Win2K share printer with apsfilter via samba fails
Message-ID:  <1036884267.20466.93.camel@Demon.vickiandstacey.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hello,
     In addition my initial post (see below), I've discovered tons of
mail from apsfilter in root's mail. All have the same content:

Message 1:
From daemon@<snip>.vickiandstacey.com Sat Nov  9 22:26:59 2002
Date: Sat, 9 Nov 2002 22:26:58 GMT
From: Owner of many system processes <daemon@<snip>.vickiandstacey.com>
To: root@<snip>.vickiandstacey.com
Cc: stacey@<snip>.vickiandstacey.com
Subject: apsfilter: can't find configuration

apsfilter fatal error: can't find configuration

The configuration file /usr/local/etc/apsfilter/hp845c/apsfilterrc
is missing. Please run SETUP.


-- apsfilter, your lpd input filter

& 8
Message 8:
From daemon@<snip>.vickiandstacey.com Sat Nov  9 22:32:38 2002
Date: Sat, 9 Nov 2002 22:32:38 GMT
From: Owner of many system processes <daemon@<snip>.vickiandstacey.com>
To: root@<snip>.vickiandstacey.com
Cc: stacey@<snip>.vickiandstacey.com
Subject: apsfilter: can't find configuration

apsfilter fatal error: can't find configuration

The configuration file /usr/local/etc/apsfilter/hp845c/apsfilterrc
is missing. Please run SETUP.


-- apsfilter, your lpd input filter

This is utterly messed up, because that file *does* exist:

# ls -la /usr/local/etc/apsfilter/hp845c/apsfilterrc
-rw-r--r--  1 root  wheel  246 Nov  9 13:41
/usr/local/etc/apsfilter/hp845c/apsfilterrc

# more /usr/local/etc/apsfilter/hp845c/apsfilterrc
#
# don't delete these settings
#
PRINTER='ijs/DESKJET_845'
PAPERSIZE='a4'
METHOD='auto'
QUALITY='medium'
COLOR='full'
RESOLUTION='600x300'

#
# additional configuration follows
# insert settings as seen in /usr/local/etc/apsfilter/apsfilterrc
#

Checking messages:
# tail /var/log/messages
Nov  9 22:32:36 Demon lpd[96547]: restarting hp845c
Nov  9 22:32:39 Demon last message repeated 3 times
Nov  9 22:32:40 Demon lpd[96547]: hp845c: job could not be printed
(cfA027Demon.vickiandstacey.com)
Nov  9 22:32:40 Demon lpd[96547]: mail sent to user stacey about job
<unknown> on printer hp845c (FATALERR)
Nov  9 22:33:20 Demon su: stacey to root on /dev/ttyp0
Nov  9 23:11:37 Demon lpd[85463]: Demon.vickiandstacey.com requests
printjob hp845c
Nov  9 23:11:38 Demon lpd[85463]: restarting hp845c
Nov  9 23:11:41 Demon last message repeated 3 times
Nov  9 23:11:42 Demon lpd[85463]: hp845c: job could not be printed
(cfA028Demon.vickiandstacey.com)
Nov  9 23:11:42 Demon lpd[85463]: mail sent to user root about job
<unknown> on printer hp845c (FATALERR)
#

Checking messages:
<Lots of these>
Nov  9 23:11:42 <snip> lpd[85463]: hp845c: job could not be printed
(cfA028<snip>.vickiandstacey.com)
Nov  9 23:11:42 Demon lpd[85463]: mail sent to user root about job
<unknown> on printer hp845c (FATALERR)

Checking spool logs:
# tail /var/spool/lpd/hp845c/log 
apsfilter: The configuration file
/usr/local/etc/apsfilter/hp845c/apsfilterrc
apsfilter: is missing. Please run SETUP.
cat: /rc: No such file or directory
rm: No such file or directory
/usr/local/etc/apsfilter/basedir/bin/apsfilter: line 116: /rc:
Permission denied
apsfilter: can't find configuration
apsfilter: The configuration file
/usr/local/etc/apsfilter/hp845c/apsfilterrc
apsfilter: is missing. Please run SETUP.
cat: /rc: No such file or directory
rm: No such file or directory
#

I know I've asked this same question before, in many ways., but I'll
take another stab at this - please forgive my asking again: 

Is there anyone on this list that has apsfilter-7.2.3 working with
FreeBSD running samba-2.2.6, printing to a Win2K shared printer?

Thanks

Stacey

Original post follows:

-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQEVAwUAPc2ZJ5vQeubckvvXAQF/9ggAruRCwR2ctYBudNw567IrOk5U9jwACQi8
kisZOTprW6NJT/Ww1WUGSBlGeZPau4m7a/umoYxblmLcNNfNSlfgz7qStOUuc6fN
wMr4zpyPrJJy6qnQS+Fi+nHzl1NAIK6wXJATuvNugX/ih8f+G2Hk3ZCyCxvK/2E/
w4rr2xkVmS/MJ8r21VoMD6sIws5aflMopfuv615NQV5deRvqGmKG9+efxZblS1RC
FHxm9hX9YKnki2vKOtslx3dbCIyr5lmXQwO3ksmzuaGxXRUPUwFjmYc87O3GxU3X
9hbhud1AJ0Akhj53se2mzjPQwsUvqcGknwa+rOjUPwszp14SJVvcdA==
=vmP7
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1036884267.20466.93.camel>