LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Printing on XP-based hosts (https://www.linuxquestions.org/questions/linux-newbie-8/printing-on-xp-based-hosts-401556/)

GibsonDL 01-10-2006 06:50 AM

Printing on XP-based hosts
 
I've established a (SUSE 9.3) linux system within a Windows Workgroup, and have so far been able to configure SAMBA to enable sharing of a Canon printer on the Linux system such that it's usable by both Linux and XP users. However, I haven't been able to print from my linux system on printers hosted by XP machines. Can this be done, and if so what are the steps I should take?

steve1972 01-10-2006 10:11 AM

You want to be able to print to a Windows Server using SAMBA...


To configure CUPS for SAMBA, run the following command:

ln -s `which smbspool` /usr/lib/cups/backend/smb ENTER

The smbspool(1) program is provided with SAMBA starting with SAMBA 2.0.6. Once you have made the link you can configure your printers with one of the following device URIs:

smb://servername/sharename
smb://username:password@servername/sharename
smb://ntdomain;username:password@servername/sharename

I found this in the CUPS documentation.

You can also use LPD, but that was a much longer explanation...

http://www.cups.org/doc-1.1/sam.html#8_9

awollet 01-10-2006 11:12 PM

How do I know if I have Samba? I'm fairly new to linux. I think I have Red Hat Enterprise 4.

steve1972 01-11-2006 09:18 AM

I think you should have it already. Type: which smdb

It should be listed. If not, check out how to install it from your distributor.


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