Printing with CUPS through SAMBA

This is a discussion on Printing with CUPS through SAMBA within the Linux Networking forums, part of the Linux Forums category; OK, here's the scenario. My home network is primarily Windows machines except for mine, which is running Ubuntu (a ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-04-2004
Hikaru79
 
Posts: n/a
Default Printing with CUPS through SAMBA

OK, here's the scenario. My home network is primarily Windows machines
except for mine, which is running Ubuntu (a spinoff of Debian). One of
the Windows XP machines has an HP LaserJet 4P printer. I can see the
computer with the printer just fine (I can browse through it's shared
folder, etc), but when it comes to printing through the printer attached
to it, I have some problems. For example, if I run 'smbclient -L
administrator -N" in the terminal, I get the following outpupt:

-------------------------------------------------------------------
hikaru79@ubuntu:~ $ smbclient -L administrator -N
Domain=[ADMINISTRATOR] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
HPPS735 (E) Disk
Bkp_Pictures Disk
IPC$ IPC Remote IPC
D$ Disk Default share
print$ Disk Printer Drivers
SharedDocs Disk
G$ Disk Default share
Printer5 Printer Acrobat Distiller
ADMIN$ Disk Remote Admin
C$ Disk Default share
Printer Printer HP LaserJet 4P
ClipsRomania Disk
Family Album Disk
Domain=[ADMINISTRATOR] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Server Comment
--------- -------

Workgroup Master
--------- -------
--------------------------------------------------------------------------

Judging from this output I would think the correct next step would be:
'lpadmin -p LaserJetPrinter -v smb://administrator/Printer -P
/root/inkjet.ppd' But when I do this, I get the following error:
'lpadmin: add-printer (set model) failed: client-error-not-found'

What's wierd is if I then go into the graphical printer manager, the new
printer STILL shows up. However, it does not work. When I try to print a
test page, I get this:

'Printing to 'LaserJetPrinter' failed with error code: 1286
is the printer paused ?'

Here are some screenshots of the printer properties menu tabs that I
took in case I'm not describing things well. Notice in the second
screenshot, there's a password filled in--I did not fill it in and there
shouldn't be one as there is no password on the network--is this normal?

http://thegoban.com/Screenshot.png
http://thegoban.com/Screenshot-1.png

My question is what can I do to be able to send to my printer through
this Windows network? NOTE: I have physical access to both the
administrator computer and the printer itself--this is just a small home
network

Any help would be greatly appreciated! Thanks! =D
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:38 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0