LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-15-2004, 04:28 PM   #1
TSloth
Member
 
Registered: Oct 2002
Location: Houston, Texas
Posts: 97

Rep: Reputation: 15
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
 
Old 04-19-2004, 07:31 PM   #2
TSloth
Member
 
Registered: Oct 2002
Location: Houston, Texas
Posts: 97

Original Poster
Rep: Reputation: 15
I wonder if it has to do with the uppercase/lowercase of the print queue names, since the queue that works is all uppercase/numeric. I see in "man smb.conf" that there are several parameters that deal with case, but the docs seem to be unclear to me. Can anyone enlighten me as to what should work best with Win98?

- TSloth
 
Old 04-19-2004, 08:28 PM   #3
level
Member
 
Registered: Jan 2004
Posts: 82

Rep: Reputation: 15
This might be of help :

http://www.tldp.org/HOWTO/Debian-and...h_windows.html

You may need to add: use client driver = yes to you smb.conf file.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Printing to Win Client brokenflea Linux - Networking 0 02-23-2004 01:38 AM
printing from win 98 client to samba printer on red hat linux with cups shashi_lq Linux - Networking 0 12-10-2003 01:04 AM
Win->Samba works, Samba->Win does'nt work outburst Linux - Networking 2 10-30-2003 08:31 AM
win xp won't login to samba after reboot but win 2k works great davidekholm Linux - Networking 1 04-04-2003 09:44 AM
Setting up Samba with SuSe 8.1 and Win 2K/Win XP Pro crstine Linux - Networking 1 12-11-2002 06:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration