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:
------------------------------------------------------------------- Code:
hikaru79@ubuntu:~ $ smbclient -L administrator -N 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? URLS have apparently been blocked but I need to get these screenshots out so here's a desription. My domain name is thegoban.com . The images are in the root directory and are called Screenshot.png and Screenshot-1.png . So please make the URL yourself since I can't type it in :) 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 NOTE: This is an HP Laserjet 4P printer. Am I using the wrong driver? I'm rather a beginner at UNIX systems (been using Windows until about a week ago) so I'm still we behind the ears. :newbie: Any help will be greatly appreciated though! :D |
Hi Hikaru79, welcome to lq. These may help.
http://www.faqs.org/docs/Linux-mini/...-Printing.html http://www.linuxprinting.org/show_pr...HP-LaserJet_4P good luck. |
Thank you a lot, Peacedog! =D That first link really hit the spot. My error was a stupid one, but now it's gone ^ ^ Printing works great. Thanks!
Mods, this thread can be considered solved ^ ^' |
Your welcome, glad to help.
good luck. |
All times are GMT -5. The time now is 05:53 AM. |