Operating System - Linux
1820076 Members
3325 Online
109608 Solutions
New Discussion юеВ

Linux to Windows printing

 
jorge K
New Member

Linux to Windows printing

I've a computer with Suse linux 9.3 connectet in a network through SAMBA and I want to install a HP Deskjet 3820 witch is connected to another computer with a WINDOWS 2000.
HOw can I do it? I tryed with YaST but it is impossible.
I'll thank you very much if yo can send me every information about it.
Jorge K
3 REPLIES 3
xyko_1
Esteemed Contributor

Re: Linux to Windows printing

Hi Jorge,

I guess you run cups as your spooler, so you have to define this windows printer via cups interface. If you are running graphical mode you have printer administration on KDE. If you are running text mode, cups administration can be donne in web mode. Point your browser to the server machine on port 631 and you will be in cups administration page. You will be asked for root user and password. You have to know that cups has some security issues and you have to configure it to accept logins from remote machines.

Please refer to cups documentation at
http://www.cups.org/

hope it helps
xyko
xyko_1
Esteemed Contributor

Re: Linux to Windows printing

Jorge,

here are some stuff from cups documentation that may help you, but I suggest that you go and read all documents.

---------------------------------------------

Printing to LPD Servers

CUPS provides the lpd backend for printing to LPD-based servers and printers. Use a device URI of lpd://server/name to print to a printer on an LPD server, where server is the hostname or IP address of the server and name is the queue name. Additional options can be specified after the remote queue name to control how the LPD requests are sent - consult Appendix B - Common Network Settings for a complete description.

Microsoft Windows NT provides an LPD service under the name "TCP/IP Printing Services". To enable LPD printing on NT, open the "Services" control panel, select the "TCP/IP Printing Services" service, and click on the "Start" button. Any shared printer will then be available via the LPD protocol.

Printing to Windows Servers

CUPS can print to Windows servers in one of two ways. The first way uses the LPD protocol on the CUPS system and the "TCP/IP Printing Services" on the Windows system. You can find out more about this configuration in the LPD section earlier in this chapter.

The second way is through the Microsoft Server Message Block ("SMB") protocol. Support for this protocol is provided with the free SAMBA software package. You can download SAMBA from:

http://www.samba.org

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://workgroup/server/sharename
smb://server/sharename
smb://user:pass@workgroup/server/sharename
smb://user:pass@server/sharename

The workgroup name need only be specified if your system is using a different workgroup. The user:pass strings are required when printing to Windows NT servers or to shares with passwords enabled under Windows 95 and 98.

---------------------------------------

regards,
xyko
renarios
Trusted Contributor

Re: Linux to Windows printing

Hi Jorge,

Please use the subject as issue/problem descriptor in stead of your email address please.

It's sometimes quite a struggle get samba configured and secured well. That's why there are several GUI applications to make live easier for you. Look at http://us2.samba.org/samba/GUI/ and choose your favourite one.
If you want a nice tool to configure more than samba only, webmin is a good choice.

Good luck!

Cheerio,

Renarios

Nothing is more successfull as failure