[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Looking for a URI that will work from Fedora to Windows printer.



Aaron Konstam wrote:
On Tue, 2009-06-09 at 11:45 -0400, Kevin J. Cummings wrote:
Aaron Konstam wrote:
I had this working for years. I could print from my Fedora printserver
to a Windows XP with a HP Laserjet 1020 printer. My machine crashwed so
I had to rebuild the server. Now I can't find a URI that will work in
printing using CUPS from the Fedora machine to the Windows machine.

The 1020 is on a usb port. Can someone make a suggestion?
For printing from Fedora to a Windows printer:

smb://WINSERVERNAME\WinUserID:Password WINDOMAIN/winservername/PrinterName

where:
	WINSERVERNAME is the DNS name of the Windows machine
	WinUserID is the userid of a valid login user on the Windows machine
	Password is the password for the above Windows userid
WINDOMAIN is the domain name or workgroup name to which the Windows machine belongs
	winservername is the windows machine name again
and	PrinterName is the name of the printer you are trying to print to

It is supposed to be possible to print without having a valid Windows user id, but I've never been able to make it work consistently, but the above *does* work consistently. On the Fedora side, you'll need to install the appropriate CUPS driver for the printer being printed to.
Well three comments.
1. The above URI does not work for me in the CUPS web interface or in
system-config-printer. In each case it says this is a bad device
description. Which did you use?

Cut and Pasted from my /etc/cups/printers.conf file.

I'm pretty sure it was entered via the CUPS web page interface, but maybe not exactly as that....

2. When I got it to work previously I did not include a passwd.Which
seems very insecure to me.

Me neither, but since its kept in system administration files, I didn;t think twice about it (printers.conf is 600 root lp).

3. When setting it up what type of URI did your say this was? LPD, IPP,
or what?

smb

--
Kevin J. Cummings
kjchome rcn com
cummings kjchome homeip net
cummings kjc386 framingham ma us
Registered Linux User #1232 (http://counter.li.org)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]