James, do you see through smb (\\server-computer) the "printers"
share ?
If you do, can you see the printer listed ? (Camaleón somehow asked
you the same question) .
Try running # smbclient -L server-computer to see all shares listed
by the server .
Check if your printer is listed on /etc/printcap .
Last resort, install swat and point your browser to
http://server-computer:901 to see what shows up .
Pablo
Thanks Pablo, I'll try that if I can't get it to work
through samba.
Problem seems to be with the config file not picking up the
printing declaration. I have restarted samba after editting the
file.
Testparm gives me the following
[global]
workgroup = ETHICSGRADIENT
server string = %h server
interfaces = lo, eth0
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully*
.
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
printcap name = cups
dns proxy = No
wins support = Yes
panic action = "" %d
[homes]
comment = Home Directories
valid users = %S
create mask = 0700
directory mask = 0700
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
but if you actually look at the config file;
Hawaiian:/etc/samba# grep = smb.conf | grep -v \# | grep -v \;
workgroup = EthicsGradient
server string = %h server
wins support = yes
dns proxy = no
interfaces = lo eth0
log file = /var/log/samba/log.%m
max log size = 5000
syslog = 0
panic action = "" %d
security = user
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully*
.
pam password change = yes
load printers = yes
printing = cups
printcap name = cups
comment = Home Directories
browseable = no
read _only_ = yes
create mask = 0700
directory mask = 0700
valid users = %S
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = yes
read _only_ = yes
writeable = no
create mask = 0700
useclient driver = yes
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read _only_ = yes
guest ok = no
printing and load printers are clearly defined. Bit confused so
could do with some advice on this?
Thanks,
Jim
2011/2/15 Pablo Sánchez <pab...@adinet.com.uy>
James, i usually use ipp (internet printing protocol) to print
on cups from windows , skipping samba alltogether.
Just map the printer over http://printerhost:631/printers/PrinterName
.
Bear in mind that you can create a raw print spool , o have
the real driver of the printer.
In the first case you install the driver printer on your pc an
then install the printer over http.
Remember to share the printer on cups.
Regards.
Pablo
Hi,
I have a debian server running samba connected to a
local USB printer. I also have a dual boot laptop with
windows Vista on it.
I can print fine from the server and the linux side of
the laptop using CUPS, and even though I can see my home
directory via samba in Vista, I can't get it to detect
any printers. Vista is on the same Workgroup, I've
lowered the firewall, but still windows won't detect it.
An Nmap from the laptop shows ports
22,25,80,111,139,445,631 and 2049(all tcp) open.
My Samba config is at the bottom, any advice would be
greatly appreciated.
Thanks,
Jim
[global]
workgroup = ETHICSGRADIENT
server string = %h server
interfaces = lo, eth0
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:* %n\n
*password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
printcap name = cups
dns proxy = No
wins support = Yes
panic action = "" %d
[homes]
comment = Home Directories
valid users = %S
create mask = 0700
directory mask = 0700
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
Archive: http://lists.debian.org/4d59c501.1080...@adinet.com.uy
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d5bd26b.2050...@adinet.com.uy
|