[Samba] Samba printer

Steve Carter scarter at pobox.com
Tue Nov 12 23:20:15 GMT 2002


I've started to see this myself, as have others ... but I haven't found a 
solution yet.

-Steve

* FP <pifgold at netcourrier.com> [021112 14:21]:
> 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



More information about the samba mailing list