Date: 10 Nov 2002 15:30:45 +0000 From: Stacey Roberts <stacey@Demon.vickiandstacey.com> To: apsfilter-help@apsfilter.org, FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Printing to Win2K share printer with apsfilter via samba fails Message-ID: <1036942247.92273.4.camel@Demon.vickiandstacey.com>
next in thread | raw e-mail | index | archive | help
--=-8qBtjQiNUpWmxNvDyWA7 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello,=20 I've installed apsfilter-7.2.3, and despite successfully printing the test page, I am unable to get anything to print either from an application (opera / AbiWord), nor command line.=20 Checking printer status:=20 # lpc status all=20 hp845c:=20 queuing is enabled=20 printing is enabled=20 no entries in spool area=20 printer idle=20 #=20 System:=20 # uname -a=20 FreeBSD <snipped> 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Oct 12 10:04:03 BST 2002 root@<snipped>:/usr/obj/usr/src/sys/<snipped> i386=20 #=20 Printer entry created by apsfilter setup in /etc/printcap:=20 # APS1_BEGIN:printer1=20 # - don't delete start label for apsfilter printer1=20 # - no other printer defines between BEGIN and END LABEL=20 hp845c|ijs/DESKJET_845;r=3D600x300;q=3Dhigh;c=3Dfull;p=3Da4;m=3Dauto:\=20 :lp=3D/dev/null:\=20 :if=3D/usr/local/etc/apsfilter/basedir/bin/apsfilter:\=20 :sd=3D/var/spool/lpd/hp845c:\=20 :lf=3D/var/spool/lpd/hp845c/log:\=20 :af=3D/var/spool/lpd/hp845c/acct:\=20 :mx#0:\=20 :sh:=20 # APS1_END - don't delete this=20 #=20 I try printing webpage from opera, I get:=20 # lpc status all=20 hp845c:=20 queuing is enabled=20 printing is enabled=20 no entries in spool area=20 printer idle=20 You have new mail.=20 #=20 Checking mail:=20 From daemon@Demon.vickiandstacey.com Sun Nov 10 15:10:14 2002=20 Date: Sun, 10 Nov 2002 15:10:14 GMT=20 From: Owner of many system processes <daemon@Demon.vickiandstacey.com>=20 To: root@Demon.vickiandstacey.com Cc: stacey@Demon.vickiandstacey.com Subject: apsfilter: can't find configuration=20 apsfilter fatal error: can't find configuration=20 The configuration file /usr/local/etc/apsfilter/hp845c/apsfilterrc=20 is missing. Please run SETUP.=20 -- apsfilter, your lpd input filter=20 &=20 Checking spool logs:=20 # tail /var/spool/lpd/hp845c/log=20 apsfilter: The configuration file /usr/local/etc/apsfilter/hp845c/apsfilterrc=20 apsfilter: is missing. Please run SETUP.=20 cat: /rc: No such file or directory=20 rm: No such file or directory=20 /usr/local/etc/apsfilter/basedir/bin/apsfilter: line 116: /rc: Permission denied=20 apsfilter: can't find configuration=20 apsfilter: The configuration file /usr/local/etc/apsfilter/hp845c/apsfilterrc=20 apsfilter: is missing. Please run SETUP.=20 cat: /rc: No such file or directory=20 rm: No such file or directory=20 #=20 But this file DOES exist:=20 # more /usr/local/etc/apsfilter/hp845c/apsfilterrc=20 #=20 # don't delete these settings=20 #=20 PRINTER=3D'ijs/DESKJET_845'=20 PAPERSIZE=3D'a4'=20 METHOD=3D'auto'=20 QUALITY=3D'high'=20 COLOR=3D'full'=20 RESOLUTION=3D'600x300'=20 #=20 # additional configuration follows=20 # insert settings as seen in /usr/local/etc/apsfilter/apsfilterrc=20 #=20 #=20 That's failed big time. I'll try printing with lpr:=20 # pwd=20 /usr/home/stacey=20 # date=20 Sun Nov 10 15:15:23 GMT 2002=20 # file test=20 test: ASCII English text=20 # lpr -Php845c test=20 # lpc status all=20 hp845c:=20 queuing is enabled=20 printing is enabled=20 no entries in spool area=20 hp845c is ready and printing=20 #=20 Nothing..,=20 Checking logs again:-=20 Messages:=20 Nov 10 15:15:42 Demon lpd[91979]: Demon.vickiandstacey.com requests printjob hp845c=20 Nov 10 15:15:43 Demon lpd[91979]: restarting hp845c=20 Nov 10 15:15:45 Demon last message repeated 3 times=20 Nov 10 15:15:46 Demon lpd[91979]: hp845c: job could not be printed (cfA033Demon.vickiandstacey.com)=20 Nov 10 15:15:47 Demon lpd[91979]: mail sent to user root about job <unknown> on printer hp845c (FATALERR)=20 #=20 Checking root's mail:=20 Message 21:=20 From daemon@Demon.vickiandstacey.com Sun Nov 10 15:15:47 2002=20 Date: Sun, 10 Nov 2002 15:15:46 GMT=20 From: Owner of many system processes <daemon@Demon.vickiandstacey.com>=20 To: root@Demon.vickiandstacey.com Subject: hp845c printer job "<unknown>"=20 Reply-To: root@Demon.vickiandstacey.com Your printer job=20 could not be printed=20 &=20 Checking spool again:=20 # date=20 Sun Nov 10 15:18:07 GMT 2002=20 # tail /var/spool/lpd/hp845c/log=20 apsfilter: The configuration file /usr/local/etc/apsfilter/hp845c/apsfilterrc=20 apsfilter: is missing. Please run SETUP.=20 cat: /rc: No such file or directory=20 rm: No such file or directory=20 /usr/local/etc/apsfilter/basedir/bin/apsfilter: line 116: /rc: Permission denied=20 apsfilter: can't find configuration=20 apsfilter: The configuration file /usr/local/etc/apsfilter/hp845c/apsfilterrc=20 apsfilter: is missing. Please run SETUP.=20 cat: /rc: No such file or directory=20 rm: No such file or directory=20 #=20 There's a "permission denied" error being thrown. Checking permissions on the offending file:=20 # ls -al /usr/local/etc/apsfilter/basedir/bin/apsfilter=20 -r-xr-xr-x 1 root wheel 56940 Nov 8 22:24 /usr/local/etc/apsfilter/basedir/bin/apsfilter=20 #=20 Is this not what it should be? I didn't see instructions to change permissions on any of apsfilter config file, scripts, nor any files concerning printing anywhere.=20 Again complaints about a missing file.., this file DOES EXIST:=20 # more /usr/local/etc/apsfilter/hp845c/apsfilterrc=20 #=20 # don't delete these settings=20 #=20 PRINTER=3D'ijs/DESKJET_845'=20 PAPERSIZE=3D'a4'=20 METHOD=3D'auto'=20 QUALITY=3D'high'=20 COLOR=3D'full'=20 RESOLUTION=3D'600x300'=20 #=20 # additional configuration follows=20 # insert settings as seen in /usr/local/etc/apsfilter/apsfilterrc=20 #=20 #=20 I've searched the apsfilter mailing list archives.., googled.., and read the faq and what online docs there are available for installation and usage, but haven't found anything that addresses what I'm seeing here.=20 Is there some step I've missed?=20 I have not touched /etc/printcap, as apsfilter is supposed to set this up for me. Or, am I wrong in this presumption?=20 This is the second time I'm posting about this problem. I've received kind replies FreeBSD list members (for which I am overly grateful), and would look forward to hearing from apsfilter folks as well. The apsfilter "online feeeback" facility fails, that's why I'm having to post this via e-mail. Thanks for the patience. Stacey --=20 Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com --=-8qBtjQiNUpWmxNvDyWA7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQEVAwUAPc57o5vQeubckvvXAQGcSggAs8By3dIFqyEBqZN0NtzcXZKaLratH4Cc X4jZQEE7Vh7cmYb9MrNb1WbpWkuGTq4KZssZAE97T89G8vzSKChElqMqgxMPdq69 WWcDydvBQH8xjg5h7NdqA5qenERCPM7czGYifqh19xjwSRiZ6/ExqcUBR8Lomn8l 1x5MFhRLMVpB4fyXhwfeCWRIiC8WGkUy4Gvyo0iP3wP5fWdKhw1fNNpkSrdHi1/D OwPOZQ4lz9O8SsooWWy/5Xjttp2i1E//ehlD8yp1pqEfsYAx5shxUfkIWuZ9RVvt cNJ7MPHb/oj1IQY1KC/Fqi7rHQgmftSKiMzVLo7z/W8p67eembnK7g== =bMAP -----END PGP SIGNATURE----- --=-8qBtjQiNUpWmxNvDyWA7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1036942247.92273.4.camel>