Author Topic: Printing to Windows shared printer from PCLinuxOS - No Windows printer (Solved)  (Read 908 times)

Offline mgdodds

  • New Friend
  • *
  • Posts: 5
Hi all,

I have my HP LJ2300 shared on a Windows 2003 server. Works fine for all the Windows clients, and on my netbook running Bodhi Linux I can also set it up and it works. But on my main PCLinuxOS box I don't get the "Windows Printer via Samba" option in the printer setup utility. Under Network Printer, the options are: Find Network Printer, App Socket/HP JetDirect and Internet Printing Protocol.  

The Bodhi Linux box is using the same printer setup utility, except that it has 2 additional options: Windows Printer via Samba and LPD/LPR Host or Printer.

All the Samba packages are installed, and I can read/write to file shares on the same server and smbtree shows the printer share.

Since my box has been running for a long time and has been updated countless times, as a last resort I booted from the latest PCLinuxOS Live CD (pclinuxos-kde-2011.09) and it is also missing the Samba print option. Anyone know how to get this option back?


Thanks,
Mike
« Last Edit: January 10, 2012, 07:45:51 AM by mgdodds »

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Hi and welcome!

Do not have an answer for your question, however if you don't mind to get your hands dirty, you could manually enter the Device URI of your printer, choose "other" and depending on your setup, add one of the following:

         smb://server[:port]/printer

         smb://workgroup/server[:port]/printer

         smb://username:password@server[:port]/printer

         smb://username:password@workgroup/server[:port]/printer

Substitute printer, server, workgroup, ... accordingly to your share configuration, the parameter [:port] is optional.
if your server is named "W2003" and your printer is shared with the name "LJ2300", enter the following string:
smb://W2300/LJ2300

if the above example doesn't work, substitute the server name with the IP address of your server, i.e. assuming 192.168.1.100:
smb://192.168.1.100/LJ2300

AS

Offline mgdodds

  • New Friend
  • *
  • Posts: 5
Thanks,

I had tried that too, but I think I am narrowing it down to a permissions problem. When I check the properties of the newly created printer, under the Printer State line I get: Idle - Tree connect failed (NT_STATUS_ACCESS_DENIED) Where can I specify a username/password if I use the "other" option in the print setup dialog? I noticed on my Bodhi Linux netbook that when I select a shared Windows printer I have a place to enter credentials, and it works fine there.
 I have some file shares on this box (the PCLinuxOS box) mapped to the same server in fstab, but I am able to specify credentials there.

Thanks,
Mike

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
one of these two doesn't work for you ?

Quote
         smb://username:password@server[:port]/printer

         smb://username:password@workgroup/server[:port]/printer

Offline mgdodds

  • New Friend
  • *
  • Posts: 5
Woo-hoo!  The second option specifying the domain name worked!

Thanks

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Woo-hoo!  The second option specifying the domain name worked!

Thanks

Great!  :)

Please mark the thread as solved, by editing the subject line in your first post.

Have fun!

AS

Offline chishall57

  • New Friend
  • *
  • Posts: 1
In the past on Debian based systems when I don't get the Windows Printer via Samba option in CUPS showing I find that adding the smbclient package gets the option to show up. Might be useful.