LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 07-12-2004, 03:53 PM   #1
MattOlz
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: http://www.faqs.org/docs/Linux-mini/...ing_to_windows
but when I get to the third part of 3.2, I get a Connection Refused error. Here is my info from smbclient:
Quote:
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
--------- ---- -------
IPC$ IPC Remote IPC
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, 04:52 PM   #2
1kyle
Member
 
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 04:58 PM.
 
  


Reply


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


All times are GMT -5. The time now is 02:43 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration