Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-12-2004, 02:53 PM   #1
LQ Newbie
Registered: Nov 2003
Distribution: Slackware
Posts: 19

Rep: Reputation: 0
Print from Linux to WinXP printer

I have samba up and working, and can transfer files back and forth between the computers. Now I want to print from my linux to my windows printer. I tried the how-to on:
but when I get to the third part of 3.2, I get a Connection Refused error. Here is my info from smbclient:
root@srv1:~# smbclient -L big -N
ERROR: Badly formed boolean in configuration file: "yes [Srv1]".
Domain=[BIG] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
D$ Disk Default share
print$ Disk Printer Drivers
SharedDocs Disk
C Disk
wprint Printer hp psc 1200 series
ADMIN$ Disk Remote Admin
C$ Disk Default share
Printer Printer HP DeskJet 640C/642C/648C
Domain=[BIG] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

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

Workgroup Master
--------- -------
The printer I want to use is wprint. Is how I setup this command correct?:
lpadmin -p wprint -v smb://big/wprint -P /root/wprint.ppd

Or, am I way off and shouldnt even be at this step yet?
Old 07-12-2004, 03:52 PM   #2
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
What distro are you using. I had this problem with SUSE 9.1 and Windows XP -- but using YAST and Printer configuaration tool it worked perfectly.
Select SMB printer in the CUPS system.

MDK AFAIK has a similar configuration tool and so do some of the others.

I can post the contents of the config files (generated by the config tool) if you let me know which one's you want to see. This should help.

my 2 Windows printers are an Epson 2200 and an Epson 1290. Windows Share names ep1290 and ep2000.

On the linux box I set my user id as the user id to logon to the Windows share but until you tell me what files you want to see I can't help you any more here (a bit like the blind leading the blind). All I know is that both printers are acessible from my Linux boxes.

Last edited by 1kyle; 07-12-2004 at 03:58 PM.


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
Unable to print from WinXP to my Linux-shared printer guarriman Linux - General 5 05-24-2005 10:45 AM
Print from a winxp shared printer on Solaris9.0 UltraSoul Solaris / OpenSolaris 4 02-18-2005 11:30 AM
Unable to print to Samba printer from WinXP TSloth Linux - Networking 3 02-06-2005 05:13 PM
Print to Printer con to Mandk from WinXP nat2k4us Mandriva 0 08-18-2004 11:46 AM
Setting up Redhat 7.3 to print to a WinXP printer oryan_dunn Linux - Newbie 2 11-26-2002 04:30 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:12 AM.

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