G'day all I have a windows 2000 machine with a shared printer. Can any one recomend a good howto to set up samba to use that shared printer. Thanks
You don't use samba, just smbclient. Basically, you will be sending a job, already filtered, to the windows printer using smbclient. The basic command is: cat file | smbclient //server/printershare -c 'print -' Then, the rest is just details. You can do this in several ways. Just use the one that you understand and can trouble shoot. Joel On Thu, Oct 03, 2002 at 09:42:26AM +1000, cj wrote:> G'day all > > I have a windows 2000 machine with a shared printer. > Can any one recomend a good howto to set up samba to use that shared > printer.
Hello everybody !! I've got a little problem with sharing my printer which is connected to my linux computer with usb port. I want to print with my windows computer. Windows says : "Acces refus?. Connexion impossible" ("Access refused. Impossible to connect") Somebody has an idea? Thanks ! Fred. Here are my files /etc/samba/smb.conf and /etc/cups/printers.conf : # Samba config file created using SWAT # from localhost.localdomain (127.0.0.1) # Date: 2002/11/12 00:41:24 # Global parameters [global] workgroup = REZID server string = Samba Server %v security = SHARE encrypt passwords = Yes log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = lpstat os level = 99 domain master = True dns proxy = No printing = cups [printers] comment = Imprimante Chou1800 path = /var/spool/samba guest account create mask = 0777 guest ok = Yes printable = Yes print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. browseable = No [pdf-generator] comment = PDF Generator (only valid users) path = /var/tmp printable = Yes print command = /usr/share/samba/scripts/print-pdf %s ~%u \\\\\\\\%L\\\\%u %m %I & [Films_Rack1] comment = Films_Rack1 path = /mnt/rack_1/_Films/ guest ok = Yes [SoftsLinux] path = /home/pifgold/_Softs/_Linux guest ok = Yes [Fred$] path = /tmp/fred guest ok = Yes hosts allow = 192.168.1.232 # Printer configuration file for CUPS v1.1.16 # Written by cupsd on mar 12 nov 2002 01:11:51 GMT <DefaultPrinter Chou1800_Imprimante> Info Chou1800_Imprimante Location Epson Stylus Color 760 DeviceURI usb:/dev/usb/lp0 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer>
Hello everybody !! I've got a little problem with sharing my printer which is connected to my linux computer with usb port. I want to print with my windows computer. Windows says : "Acces refus?. Connexion impossible" ("Access refused. Impossible to connect") Somebody has an idea? Thanks ! Fred. Here are my files /etc/samba/smb.conf and /etc/cups/printers.conf : # Samba config file created using SWAT # from localhost.localdomain (127.0.0.1) # Date: 2002/11/12 00:41:24 # Global parameters [global] workgroup = REZID server string = Samba Server %v security = SHARE encrypt passwords = Yes log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = lpstat os level = 99 domain master = True dns proxy = No printing = cups [printers] comment = Imprimante Chou1800 path = /var/spool/samba guest account create mask = 0777 guest ok = Yes printable = Yes print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. browseable = No [pdf-generator] comment = PDF Generator (only valid users) path = /var/tmp printable = Yes print command = /usr/share/samba/scripts/print-pdf %s ~%u \\\\\\\\%L\\\\%u %m %I & [Films_Rack1] comment = Films_Rack1 path = /mnt/rack_1/_Films/ guest ok = Yes [SoftsLinux] path = /home/pifgold/_Softs/_Linux guest ok = Yes [Fred$] path = /tmp/fred guest ok = Yes hosts allow = 192.168.1.232 # Printer configuration file for CUPS v1.1.16 # Written by cupsd on mar 12 nov 2002 01:11:51 GMT <DefaultPrinter Chou1800_Imprimante> Info Chou1800_Imprimante Location Epson Stylus Color 760 DeviceURI usb:/dev/usb/lp0 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Apparently Analagous Threads
- Game freezing
- Cannot browse the network on a multiple vlan configuration.
- Two different issues with dovecot 1.1.13
- Cann't get Windows XP system to find Samba printers
- Bug#608715: Recent hardware components render the xen-hyervisor unusable, fails completeley to boot due to kernel panic