August 20, 2004

Printing to a Windows (samba) Share from Debian

Perhaps someone might find this useful...

To connect to a share printer via samba, one needs to ensure that the following packages plus any required dependencies are installed. (Under debian use apt-get to install them)
cupsys
cupsys-client
cupsys-bsd

One might need other 'Common Unix Priniting System' (CUPS) related libraries as well , not sure.

Via your web browser, connect to local host port: 631, ie http://localhost:631/admin

From there one can add printers using the cups web frontend.

Click on "Add a printer"

Choose the device, in this case "windows printer via samba"

Choose the device URL:
in my case I had to type in my windows NT_domain plus user and password:
smb://user:pass@nt_domain/server/sharename

Now choose the 'make' of your printer (in my case 'HP') and choose the model from the given list.

If all went well, a successfully installed message should be displayed.

Click on the 'Print Test Page', to confirm the that the printer is working.

Here is another helpful site re this issue,

Posted by michaelm at August 20, 2004 03:07 PM | TrackBack