| Magnus Larsson on Thu, 12 Jul 2001 13:58:57 +0200 (CEST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Printing problems with samba |
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