Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-22-2004, 04:51 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 8

Rep: Reputation: 0
?How to print from Redhat 3.0 to Win2k (Samba)

Am running Redhat AS 3.0, have HP printer attached to Win2k box on LAN.
Have basic Samba shares working between both boxes.
My Win2k printer is shared.
I want to print from the Linux box to the WIn2k attached printer.
Can't seem to get past the redhat-config-printer->'Add a new print queue'->'Authentication' panel. I supply Workgroup,Server,ShareName, UserName, Password.
"smbclient -L Win2kBox -U<user>" returns the following:
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
oracle Disk
ADMIN$ Disk Remote Admin
SEAPRT7 Printer SEAPRT7 14th Floor East
C$ Disk Default share

Server Comment
--------- -------

Workgroup Master
--------- -------
I just can't get past the 'Authentication' challenge trying to setup the printer.
Found nothing useful on Google. Most of the threads on this site address Win2k->Linux printing, not the other way around.
What am I missing? Do I need to be running somekind of additional Samba printer client on Win2k? A good reference would be gratly appreciated.

Thanks in advance.
Old 07-22-2004, 05:20 PM   #2
Registered: Jun 2004
Posts: 129

Rep: Reputation: 15
This link helped me when I had a problem with samba/cups printing
You may have to create an login with the redhat knowlegdebase. It's free as far as I know.

Last edited by SheldonPlankton; 07-22-2004 at 05:22 PM.
Old 07-22-2004, 05:53 PM   #3
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
You do need to install samba-client software on the AS 3.0 server

If you have acces to kde or gnome you can use the printer tool

Select queue type "Networked Windows SMB"

Select Specify and fil in Workgroup(domain name), server name, share, user name and password.

That is all

Personally I would use lpd or jetdirect to get direct access to the printers instead of sending it first to the AD Printer server
Old 07-23-2004, 08:51 AM   #4
LQ Newbie
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Right. Here are the 5 fields that need to be populated:
* Workgroup - The name of the Samba workgroup for the shared printer.
* Server - The name of the server sharing the printer.
* Share - The name of the shared printer on which you want to print. This name must be the same name defined as the Samba printer on the remote Windows machine.
* User name - The name of the user you must log in as to access the printer. This user must exist on the Windows system, and the user must have permission to access the printer. The default user name is typically guest for Windows servers, or nobody for Samba servers.
* Password - The password (if required) for the user specified in the User name field.
What do I need to do on the Win2k side to define a "Samba printer", "Samba workgroup", etc?

My problem is that altho the target Win2k server shows up in the RH 'Printer Configuration Tool' -- the problematic Win2k printer does not. I can't get past the Authentication screen regardless of what I put in these 5 fields.

This leads me to believe that I'm missing something on the Win2k side. One again, besides Win2k right-out-of-the-box, what else do I need on the Win2k side to enable a Samba-shared printer?

Old 07-26-2004, 10:52 AM   #5
LQ Newbie
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
fyi: Stumbled upon the solution.

Don't use 'redhat-config-printer'. There seems to be an undocumented bug whereby the
authentication ALWAYS fails when setting up a new printer queue.

Use 'redhat-config-printer-tui' instead. Once a new printer queue is defined, editing it
via 'redhat-config-printer' seems to work fine.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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/Win2K printing ignores print quantity ahz10 Linux - Software 0 05-17-2005 06:36 PM
how to file/print share using Redhat and WINXP thru SAMBA spandau Linux - Software 1 07-23-2004 06:59 AM
Can't print from win2k to Fedora w/Samba + CUPS WarrenWright Linux - Newbie 6 02-02-2004 09:36 PM
Suse 8.1,Samba,Cups print to Win2k printer mithrin Linux - Networking 1 03-14-2003 04:42 PM
PRINTER visible, but can't print (samba on RedHat 8.0) jaitropfaim Linux - Hardware 0 02-17-2003 03:37 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:36 PM.

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