Skip navigation.
Home
Now Shipping Version 8.0

HOWTO: setting up printing to a remote smb windows shared printer (if it doesn't work at first :-)

Open KDE control centre | peripherals | printers
click on add

if the option to add an
SMB shared printer (Windows)??
is unavailable (unselectable) then you have to create an smb backend link
in a shell execute :

# ln -s `which smbspool` /usr/lib/cups/backend/smb

then if browsing for the share in one of the following wizard pages you
encounter this error :
NT_STATUS_ACCESS_DENIED
(maybe you are using an hp deskjet ??)

if you are sure that WIndows is effectively sharing the printer to anyone without requiring any account
then
just get the connection details (workgroup,host,sharename) using smb4k and enter them manually in the
kprinter wizard click on next and set printer type options etc.
at this point printing the test page won't work yet.

as root, open
/etc/cups/printers.conf

find your printer and change the line :

DeviceURI smb://WORKGROUP/HOSTNAME/sharename
to
DeviceURI smb://Guest@WORKGROUP/HOSTNAME/sharename

then restart your cups server and print a test page ... worked for me !

Edoardo

It worked for me too!

Many thanks, Edoardo.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.