| Andreas Klemm on Fri, 13 Jul 2001 07:40:11 +0200 (CEST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: Printing problems with samba |
See webserver (or sources) how to report bugs. Best is to enable debugging in apsfilter as well. And it should be very evident to name at least operating system and software versions .... On Thu, Jul 12, 2001 at 01:58:51PM +0200, Magnus Larsson wrote: > Hi, > > I have just set up aspfilter to use our HP laserjet printer with samba. Everything wen't ok and the testpage was printed and looked just fine. In /etc/printcap I can see that two new printers have been added 'PimPim' and 'raw1'. But when i try to print to any of them i get the following error in /var/spool/lpd/PimPim: > > When I try to print as normal user: > Unexpected interpreter error -16. > Error object: > cat: write error: Broken pipe > cat: write error: Broken pipe > /etc/apsfilter/basedir/bin/apsfilter: /etc/apsfilter/PimPim/smbclient.conf: Permission denied > > And when i try to print as root: > Unexpected interpreter error -16. > Error object: > cat: write error: Broken pipe > cat: write error: Broken pipe > > This is what the new entries in printcap looks like: > # APS1_BEGIN:printer1 > # - don't delete start label for apsfilter printer1 > # - no other printer defines between BEGIN and END LABEL > PimPim|Printer1 auto:\ > :lp=/dev/null:\ > :if=/etc/apsfilter/basedir/bin/apsfilter:\ > :sd=/var/spool/lpd/PimPim:\ > :lf=/var/spool/lpd/PimPim/log:\ > :af=/var/spool/lpd/PimPim/acct:\ > :mx#0:\ > :sh: > raw1|Printer1 raw:\ > :lp=/dev/null:\ > :if=/etc/apsfilter/basedir/bin/apsfilter:\ > :sd=/var/spool/lpd/raw1:\ > :lf=/var/spool/lpd/raw1/log:\ > :af=/var/spool/lpd/raw1/acct:\ > :mx#0:\ > :sf:\ > :sh: > # APS1_END - don't delete this > > Im very new to aspfilter and printing with samba so any suggestions are welcome. > > /magnus 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