LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-04-2004, 12:53 PM   #1
Hikaru79
Member
 
Registered: Nov 2004
Location: Waterloo, Ontario (Canada)
Distribution: Gentoo, Kubuntu, FreeBSD
Posts: 37

Rep: Reputation: 15
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
Domain=[ADMINISTRATOR] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Sharename       Type      Comment
        ---------       ----      -------
        HPPS735 (E)     Disk
        IPC$            IPC       Remote IPC
        D$              Disk      Default share
        print$          Disk      Printer Drivers
        SharedDocs      Disk
        Printer5        Printer   Acrobat Distiller
        ADMIN$          Disk      Remote Admin
        C$              Disk      Default share
        Printer         Printer   HP LaserJet 4P
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?

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. Any help will be greatly appreciated though!
 
Old 11-04-2004, 01:37 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
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.
 
Old 11-04-2004, 02:30 PM   #3
Hikaru79
Member
 
Registered: Nov 2004
Location: Waterloo, Ontario (Canada)
Distribution: Gentoo, Kubuntu, FreeBSD
Posts: 37

Original Poster
Rep: Reputation: 15
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 ^ ^'
 
Old 11-04-2004, 03:21 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Your welcome, glad to help.
good luck.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba and Cups Printing zfletcher Linux - General 7 04-25-2005 01:08 PM
Printing from Cups to Samba MurrayL Linux - Networking 1 03-04-2005 06:49 PM
Samba/cups printing doralsoral Linux - Software 2 12-14-2004 02:43 PM
cups+samba printing vital4ik Linux - Software 0 06-08-2004 01:08 PM
Samba/Cups Printing Gildogg Linux - General 7 11-10-2003 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration