LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-06-2006, 05:01 AM   #1
r_balest
LQ Newbie
 
Registered: Apr 2006
Posts: 14

Rep: Reputation: 0
[help] adding network printer


guys, i'm totally newb in linux.my boss wants me to try this out so we can reduce the total license...
Okay, i'm using mandriva 2006. and I've set it up including networks, samba [so that the linux client can browse to windows share folders], etc etc. But i realize that our client / users must be able to print. I attach my printer [hp Laserjet 1320] on a windows workstation [ip 192.168.9.xx] and share it. I install cups and went to firefox, i typed: http://localhost:631. the cups page showed and i click add printer, choose windows network, on the address, i typed: smb://192.168.9.xx/hpLJ1320 -> my share name printer.
Shortly, I sent a test page to the printer, but there's no reaction at all.. Can anybody help me here? Thanks...
 
Old 07-06-2006, 10:31 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
Quote:
Originally Posted by r_balest
guys, i'm totally newb in linux.my boss wants me to try this out so we can reduce the total license...
Okay, i'm using mandriva 2006. and I've set it up including networks, samba [so that the linux client can browse to windows share folders], etc etc. But i realize that our client / users must be able to print. I attach my printer [hp Laserjet 1320] on a windows workstation [ip 192.168.9.xx] and share it. I install cups and went to firefox, i typed: http://localhost:631. the cups page showed and i click add printer, choose windows network, on the address, i typed: smb://192.168.9.xx/hpLJ1320 -> my share name printer.
Shortly, I sent a test page to the printer, but there's no reaction at all.. Can anybody help me here? Thanks...
It's been a while since I've done this, but to get you on the right track, you have to give the username, password, and workgroup to make the connection... so something like smb://userass@workgroup/server/printername

of course, double check that with the CUPS documentation (which is slim), but that should get you pointed in the right direction.
 
Old 07-06-2006, 11:04 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
First of all I would highly recommend using the "lppasswd" program to make yourself a cups administrator. On some distro's the root/password when asked in cups won't work, and using lppasswd is a lot easier than reconfiguring the cups.conf file.

HP LaserJet printer work best if you install the "hplip" package. You can go to www.linuxprinting.org or http://hplip.sourceforge.net/ and check if your printer is supported. The hplip package includes a program called makeuri (/usr/share/hplip/makeuri). If you enter the ip address of the windows print server, it may give you a ipp:// based uri to enter into cups. You need to configure the printer through the cups web interface, as you did in the past, or the hp-toolkit program may not be able to connect to your printer. The hplip package includes hpijs and may provide more recent PPD files.

If this printer has a usb interface, there is an alternative of installing a jetdirect device (such as the HP JetDirect 3700 device that my hp laser printer came with). Then you could have the printer connected directly to the LAN instead of using a print server.


Good Luck!

Last edited by jschiwal; 07-06-2006 at 11:08 PM.
 
  


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
adding a network printer (CUPS) help.... jmgreen7 Debian 2 04-18-2005 01:20 PM
Adding a WinXP printer on network to Linux MI3GTO Linux - Newbie 7 01-01-2005 07:49 AM
adding network printer guessme Linux - Hardware 0 07-08-2004 10:32 PM
adding a windows network printer Cedtech23 Linux - Hardware 1 02-22-2004 01:48 PM
adding cups printer to another machine over the network Mugatu Linux - Software 4 01-02-2004 03:45 PM

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

All times are GMT -5. The time now is 06:31 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