Printing from Win to Samba
I am trying to print from Win98 to a Mandrake Linux system running Samba (2.2 I think). One printer works and one doesn't.
The Samba server has 2 print queues: "HP960" and "Gray". Both work when printing locally from the Linux system.
On the Win98 system, both of these printers are visible in Network Neighborhood.
I've set up queues for them: "Prism HP960" points to "\\Prism\hp960" and "Prism Gray" points to "\\PRISM\Gray". I'm not sure why Windows is choosing that particular combination of upper and lower case, and I don't know if that's significant, but I can't change it on the Win98 system (when I try to fix it, it sets it back).
From Win98, "Prism HP960" works and "Prism Gray" doesn't. If I try to print a test page to "Prism Gray", it immediately produces an error: "Windows was unable to print the test page. ..."
Also annoying (and probably related): When I look at the properties of the 2 printers in Win98, "Prism HP960" shows 6 tabs of information (General, Details, ..., Setup, ..., Advanced), "Prism Gray" shows only 2 (General and Details).
Any suggestions as to how to get "Prism Gray" to print to queue "Gray" on the linux system?
Thanks in advance,
- TSloth
Here is /etc/samba/smb.conf:
# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2004/03/22 10:35:01
# Global parameters
[global]
netbios name = PRISM
server string = Samba server %v
security = SHARE
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
unix password sync = 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
dns proxy = No
hosts allow = 192.168.1.
printing = cups
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
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
browseable = No
|