How to configure SLED to print to a Windows shared printer

  • 3732910
  • 06-Apr-2007
  • 16-Mar-2012

Environment

Novell SUSE Linux Enterprise Desktop 10
Shared Microsoft Windows Printer

Situation

Need to print from a SLED workstation to a Windows shared printer.

Resolution

1. Launch YAST, and enter the root password
2. Select Hardware -> Printer -> Add -> Network Printers -> Next -> Print via SMB Network Server -> Next
3. On the "Samba or Windows Printer" page, enter the correct values for these fields:
a. Workgroup (the name of the Windows workgroup on the shared PC)
b. Hostname of Print Server (the ip address or DNS name)
c. Remote Queue Name (the name of the shared printer)
d. Username (the name of the user you are using to authenticate to the Windows machine)
e. Password (the password for this user)
4. You can press the "Test Remote SMB Access" button to be sure you can contact the shared workstation.
5. Click "Next"
6. On the "Queue Name" page, enter the information:
a. Name for printing (the name of this printer on the local SLED machine)
b. Printer Description (whatever description you want to specify)
c. Printer Location (whatever location you want to specify)
7. At this point, you can click on the "Test Print" button if you are not doing local filtering, and verify the configuration.
8. Click "Next"
9. On the "Printer Model" page, select the manufacturer and model for the shared printer. If it's not present in the list, you will need to add it using the "Add PPD File to Database" button.
10. Click "Next"
11. Review the configuration. Again, you can press the "Test" button to verify that the configuration works.
12. Click "OK"
13. Click "Finish"
14. On the "Printer Configuration" page, you can see the printer configuration which has been set for this printer. Note that the user's password is represented by asterisks. The configuration for this printer is recorded in the /etc/cups/printers.conf file, with the password in cleartext. This file is accessible only by the root user.

Note: If the Windows Workgroup is not found, try disabling firewalls within SLED. For example, look in YaST's "Security and Users" and "Novell AppArmor" for settings to disable.