Siavush Randjbar-Daemi siavush at spin.it
Tue Feb 17 16:43:15 GMT 2004

yes, you might as well replacing Printing with Spamming and Linux 
Printer with Samba Mailing List...
Michael Aldrich wrote:

>has everyone received this 20 times?
>-----Original Message-----
>From: samba-bounces+maldrich=i-centrix.com at lists.samba.org
>[mailto:samba-bounces+maldrich=i-centrix.com at lists.samba.org]On Behalf
>Of zynkx
>Sent: Tuesday, February 17, 2004 10:00 AM
>To: samba at lists.samba.org
>hi all and thanks in advance for reading this
>i have worked with samba for a while, sharing drives on
> my linux boxes and all went well until now.
>now, i tried to share a printer.
>1 i setup a printer in a box with cups. the printer is
>working fine in that host printing everything as it is
>2 i tried to share the printer to:
>             2.1 one windows wrokstation in the lan
>             2.2 two linux boxes on the lan
>with the following config file:
>   workgroup = PRINTSERVER
>   netbios name = NEPTUN
>   server string = neptun print server
>   log file = /var/log/samba/log.%m
>   max log size = 50
>   security = share
>   encrypt passwords = yes
>   socket options = TCP_NODELAY SO_RCVBUF=8192
>   printcap name = lpstat
>   printing = cups
>   comment = All Printers
>   printer = hp_670C
>   path = /var/spool/samba
>   browseable = no
>   guest ok = yes
>   writable = no
>   printable = yes
>   create mode = 0700
>   print command = lpr -P %p -o raw %s -r
>   lpq command = lpstat -o %p
>   lprm command = cancel %p-%j
>   use client driver = yes
>i then made the client configuration on the windows
>workstation, and windows is printing well to my linux
>printing server with samba. it shares drives and the
>printer without any kind of problem.
>the problem is that i cannot print form my linux boxes
>to that shared printer...
>on linux boxes i made the following
>1 configured one printer queue with cups linking the
>smbspool to /usr/lib/cups/backend/
>ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb
>2 loaded the driver for hp 670c in cups
>3 tried to print a test page and i did it successfully
>now... the only thing is that i am only able to print
>test pages... and i can't figure out the command line
>options to print from my linux print clients to my
>linux print server...
>windows is doing fine though.
>other thing is that when I:
>smbclient //neptun/printers
>i can mount the share but it does not print.
>Email Enviado utilizando o serviço MegaMail
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list