LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Print from Linux to WinXP printer (http://www.linuxquestions.org/questions/linux-networking-3/print-from-linux-to-winxp-printer-204187/)

MattOlz 07-12-2004 02:53 PM

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?

1kyle 07-12-2004 03:52 PM

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.



All times are GMT -5. The time now is 05:03 PM.