Networking Forums

Networking Forums > Computer Networking > Linux Networking > printing to Windows XP through samba

Reply
Thread Tools Display Modes

printing to Windows XP through samba

 
 
topher
Guest
Posts: n/a

 
      11-20-2003, 10:47 PM
Hi,

I have a Windows XP box hosting an HP deskjet 720C printer, and am
having some trouble printing to it with samba. I can actually print to
it using "Print Services for Unix" on the Windows box and changing
"smb:" to "lpd:" in my lpadmin command, so I know I'm close to getting
it to work through Samba.

Here's my samba configuration:
$ lpadmin -p inky -E -v smb://queeg500/Inky -P HP-DeskJet_722C-pnm2ppa.ppd

When I try using smb, /var/log/cups/error_log I get:
SMB tree connect failed: NT_STATUS_ACCESS_DENIED

I can connect to the windows share using smbclient (and pressing enter
at the password prompt), but I don't know what to try at that point.

$ smbclient //queeg500/Inky
added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0
Got a positive name query response from 192.168.1.101 ( 192.168.1.101 )
Password:
Domain=[HOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
smb: \>

Commands like put and dir don't do anything since it's a printer not a
filesystem. Do I need to explicitly supply a (null) password or
username? If so, how?

Am I missing something else?

- Topher

 
Reply With Quote
 
 
 
 
Conny
Guest
Posts: n/a

 
      11-21-2003, 03:47 PM

"topher" <(E-Mail Removed)> skrev i meddelandet
news:Gocvb.132227$(E-Mail Removed).. .
> Hi,
>
> I have a Windows XP box hosting an HP deskjet 720C printer, and am
> having some trouble printing to it with samba. I can actually print to
> it using "Print Services for Unix" on the Windows box and changing
> "smb:" to "lpd:" in my lpadmin command, so I know I'm close to getting
> it to work through Samba.
>
> Here's my samba configuration:
> $ lpadmin -p inky -E -v smb://queeg500/Inky -P HP-DeskJet_722C-pnm2ppa.ppd
>
> When I try using smb, /var/log/cups/error_log I get:
> SMB tree connect failed: NT_STATUS_ACCESS_DENIED
>
> I can connect to the windows share using smbclient (and pressing enter
> at the password prompt), but I don't know what to try at that point.
>
> $ smbclient //queeg500/Inky
> added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0
> Got a positive name query response from 192.168.1.101 ( 192.168.1.101 )
> Password:
> Domain=[HOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
> smb: \>
>
> Commands like put and dir don't do anything since it's a printer not a
> filesystem. Do I need to explicitly supply a (null) password or
> username? If so, how?
>
> Am I missing something else?
>
> - Topher
>


The easy way is to install CUPS,it also have a web based gui to log in to
and set up the printer.



 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing via Samba Doug Laidlaw Linux Networking 4 06-04-2008 11:27 PM
Printing from Samba Doug Laidlaw Linux Networking 2 01-09-2008 01:19 AM
Printing with Samba Doug Laidlaw Linux Networking 9 07-22-2007 04:52 PM
Printing over samba Mark Tilford Linux Networking 4 01-24-2007 05:21 PM
printing to samba printer Michael Powe Linux Networking 0 09-16-2003 01:21 AM



1 2 3 4 5 6 7 8 9 10 11