I have a HP laserjet shared on a windows 2003 server as //w3kserver/hp

I want to print from a linux client that has the cups system installed. When I add the printer in the cups web frontend on the linux client I need to provid an url of the printer that is shared on the windows server. How to construct that url for cups?

link|improve this question

feedback

1 Answer

up vote 2 down vote accepted

From this page:

smb
This backend sends print files to printers shared by a Windows host. Examples 
of CUPS device-URIs that may be used includes:

    smb://workgroup/server/printersharename
    smb://server/printersharename
    smb://username:password@workgroup/server/printersharename
    smb://username:password@server/printersharename

The smb:// backend is a symlink to the Samba utility smbspool (does not ship with
CUPS). If the symlink is not present in your CUPS backend directory, have your 
root user create it: ln -s `which smbspool' /usr/lib/cups/backend/smb .
link|improve this answer
printing happily :) – user12096 Feb 4 '10 at 11:36
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.