Hi, everyone,
I've got this problem: I want to print from a linux machine running samba
to a Win95 machine. So, the entry in /etc/printcap looks like:
hp:\
:lp=/dev/null:\
:sd=/var/spool/lpd/hp:sh:\
:if=/usr/local/sbin/smbprint:\
:af=/var/spool/lpd/hp/acct:\
:cm=HP Laserjet 4M:\
:mx=0:
the directory '/var/spool/lpd/hp' exists, and the same with the script
'/usr/local/sbin/smbprint'. I'm sure the 'smbprint' script is Ok. The
problem is that when I do a:
'cat my_file | lpr -P hp'
the 'smbprint' script is not even called (one command in the script is to
write something in a file... it doesn't...). But the job is there,
in the queue, with the status 'active'.Could somebody help me? How can I
make lpd use the input filter?
Thank you,
bogdan