Connecting from Red Hat Enterprise Linux 4 to a printer on a Windows system

Connecting from Red Hat Enterprise Linux 4 to a printer on a Windows system

I am using RHEL 4 (Red Hat Enterprise Linux 4) and I want to connect to a printer on a Windows machine. The Windows box is a part of domain. Could you tell me how to configure it? I am not in a domain but part of the network and getting ip add from dhcp server.

    Requires Free Membership to View

    When you register, my team of editors will also send you resources covering Linux administration and management; integration and interoperability between Linux, Windows and Unix; securing Linux and mixed-platform environments; and migrating to Linux.

    Cathleen A. Gagne, Senior Editorial Director

    By submitting your registration information to SearchEnterpriseLinux.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchEnterpriseLinux.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

First, you want to open the Red Hat Enterprise Linux printer configuration tool:



Next, select Networked Windows (SMB), which refers to printers attached to the Windows system and being shared over an SMB (Server Message Block) network (such as a printer attached to a PC configured as a print server). Samba provides the print services to clients running SMB-compatible network clients. The /etc/printcap file and the /usr/local/etc/smb.conf will need to be edited accordingly. For more information and detail, go straight to the source,  the Red Hat Admin guide, which will provide you with all the instructions you need. We are assuming that when you say that the printer is "on a Windows machine", that it does not have a networked JetDirect card with its own IP address. If it does, you should select that option using the Red Hat printer configuration tool.

This was first published in October 2007