PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 24, 2012, 05:31:42 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Printing to Windows shared printer from PCLinuxOS - No Windows printer (Solved)  (Read 450 times)
mgdodds
New Friend
*
Offline Offline

Posts: 5


« on: January 05, 2012, 03:25:24 PM »

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
Logged
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4105

Have a nice ... night!


« Reply #1 on: January 05, 2012, 10:10:00 PM »

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
Logged
mgdodds
New Friend
*
Offline Offline

Posts: 5


« Reply #2 on: January 10, 2012, 09:04:37 AM »

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
Logged
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4105

Have a nice ... night!


« Reply #3 on: January 10, 2012, 09:24:12 AM »

one of these two doesn't work for you ?

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

         smb://username:password@workgroup/server[:port]/printer
Logged
mgdodds
New Friend
*
Offline Offline

Posts: 5


« Reply #4 on: January 10, 2012, 09:35:09 AM »

Woo-hoo!  The second option specifying the domain name worked!

Thanks
Logged
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4105

Have a nice ... night!


« Reply #5 on: January 10, 2012, 09:37:21 AM »

Woo-hoo!  The second option specifying the domain name worked!

Thanks

Great!  Smiley

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

Have fun!

AS
Logged
chishall57
New Friend
*
Offline Offline

Posts: 1


« Reply #6 on: January 10, 2012, 09:45:59 AM »

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.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM