Re: print via SAMBA
On Mon, Apr 19, 1999 at 02:22:39PM +0200, plastiques@gmx.de wrote:
> another problem i have with printing
> on a windows-network-printer.
> the linux-comp puts the printer-jobs
> right to the spool area, but
> then nothing happens..
Here's the relevant lines from my printcap:
lp|Samba PostScript Printer:\
:lp=/dev/null:sh:\
:sd=/var/spool/lpd/lp:\
:if=/usr/local/bin/smbprint:
Here's my /usr/local/bin/smbprint:
#!/bin/sh
# uses smbclient to print a postscript file
smbclient //frigg/APPLE -c "print -"
I have share-level access control on that printer with no password (local
network). You may have to change some things to implement security.
HTH.
-Dano
Reply to: