You are here
Home > Ubuntu > Share a printer with Window XP from Open Suse

Share a printer with Window XP from Open Suse

On the Windows XP Computer…

Share the printer so other computers can access it.

Open "Add/Remove Windows Components"

Graphical way:

 Start -> Control Panel -> Add or Remove Programs Click the "Add/Remove Windows Components" button on the left side of the "Add or Remove Programs" dialog

Windows Shortcut:

 Location:  %windir%system32sysocmgr.exe /i:c:windowsinfsysoc.inf Name:  "Windows Component Wizard" or "Add or Remove Windows Components" (without quotes)

Locate "Other Network File and Print Services" and click the "Details" button

Check the "Print Services for Unix" option.

Click "OK", then click "Next".

Open Windows Services:

Graphical way:

 Right click "My Computer" -> Manage -> Services

Windows Shortcut:

 Location:  services.msc Name:  Windows Services

Locate the "TCP/IP Print Server" service, then double click it

Set the startup type to "Automatic".

Start -> Control Panel -> Printers and Faxes

On the right side of the Printers and Faxes window is a large white area with a list of printers. Position the mouse pointer below the list of printers (but NOT directly over a printer icon), then right click (in a white area) and select "Server Properties" from the menu.

Here is a screenshot that might help with the above step:


If you do not see "Server Properties" in the menu, carefully re-read the line above.

Click on the "Ports" tab, then click the "Add Port…" button.

Click on "Standard TCP/IP Port" and then click the "New Port…" button.

This will open the "Welcome to the Add Standard TCP/IP Port Wizard" dialog.

Click the "Next" button.

In the "Printer Name or IP Address" field, enter either the computer name or the IP Address of the computer.

The "Port Name" field will be filled out automatically.

Click the "Next" button.

Select "Custom", then click the "Settings" button.

Switch from "Raw" to "LPR".

Check the "SNMP Status Enabled" option, then click "OK".

Click "Next", then click "Finish".

Reboot the XP machine and wait for it to come back up.

On the Linux Computer…

Open YaST -> Hardware -> Printers

Click the Add button.

Select "Network Printers" then click "Next"

Select "Print via LPD-Style Network Server" then click "Next".

In the "Forwarding Queue to a Remote LPD" dialog:

In the top edit box, enter the IP Address of XP machine.

In the bottom edit box enter the XP share name.

Then click the "Test Remote LPD Access" button.

It should say "Success" or "Pass".

Click "Next".

Enter a description.

Click "Next".

Select the new printer and then click "Edit", then supply the make & model of the printer.

Test everything possible.

When you are done, save your new printer by clicking the "Finish" button.

Tip of the Day

To print in reverse order:

 su -c 'lpadmin -p printername -o outputorder-default=reverse'

Note: Use the actual printer name that you created in YaST where you see "printername" in the line above

Leave a Reply