Neil Kittipalo wrote:
> I have several 98/95 boxes which have previously printed to the LaserJet 5L
> connected to my Linux box. I was using SuSE then and had no problems.
> Now with Mdk 7.2 and 8.0 I'm trying to make printing work with CUPS and I'm
> having no luck.
> I changed my smb.conf as follows ( I read this somewhere )...
>
> ; printing = bsd
> ; printcap name = /etc/printcap
> printing = cups
> load printers = yes
>
> When I try to print from a windows box the light on the printer gives a quick
> flash and that is all that happens - no output.
> Printing from Linux apps is working fine.
>
> Can anyone advise me, please?
>
> Neil
It's right there in your /etc/smb.conf file:
# NOTE: If you have a CUPS print system there is no need to
# specifically define each individual printer.
# You must configure the samba printers with the appropriate Windows
# drivers on your Windows clients. On the Samba server no filtering is
# done. If you wish that the server provides the driver and the clients
# send PostScript ("Generic PostScript Printer" under Windows), you have
# to swap the 'print command' line below with the commented one.
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
# to allow user 'guest account' to print.
guest ok = yes
writable = no
printable = yes
create mode = 0700
# =====================================
# print command: see above for details.
# =====================================
print command = lpr-cups -P %p -o raw %s -r # using client side printer
drivers.
; print command = lpr-cups -P %p %s # using cups own drivers (use generic
PostScript on clients).
lpq command = lpstat -o %p
lprm command = cancel %p-%j