LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 01-03-2007, 06:32 PM   #1
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
I want to print using windows XP shared printer


Hi, everyone

I am using slackware 11. Samba version 3.0.23c and cups
1.1.23. I am able to share files betwwen both linux and windows computers. I want to be able to print to the windows printer, but can't. The printer is on, I added my linux static IP in the trusted zone in zone alarm. The workgroups
are the same, the printer share name is in lowercase with no spaces, No password is requiredd to use printer.

In cups, when it ask device, I selected windows printer via samba, for device url, I enter smb://192.168.1.100/hp I also tried smb://home/192.168.1.100/hp
home is the workgroup name. For make, i selected HP and for model, I selected HP deskjet 2000 series. I tried other
models close to my printer, but to no avail. The printer I have is a HP Deskjet 2360.

Based on what I read online, The changes I made to the
smb.conf file are:

workgroup = home
printcap name = cups
printing = cups

evrything else as default values.

In the cupsd.conf, the changes I made are:

ServerName 192.168.1.111
BrowseAddress x.y.z.255

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.1.*
</Location>

Everything else default values.

Then restarted cups and samba servers.

I appreciate any help. Thanks in advance
 
Old 01-03-2007, 08:47 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
Perhaps you could try setting up the printer via the cups web interface. http://localhost:631

I've seen this as the url to use when "googling" for a solution:
smb://user:password@workgroup/server/printer

I've also read that when printing to a windows hosted HP printer, that hpijs is used and not hplip.

If cups runs as the system user "lp", you may have better luck if you use the lppasswd program to add yourself as a cups admin. Then when the user/password dialog comes up, use your own name and password. I've found this to be the case for SuSE in the last few distro editions. Before that, entering root and the root password worked, but lately, configuring via the cups interface, it won't accept it unless you configure cups differently. Using "lppasswd" is much easier.

Are you able to print to this shared printer from another windows machine. The WinXP (SP 2) firewall might be interfering.

Last edited by jschiwal; 01-03-2007 at 08:49 PM.
 
Old 01-03-2007, 10:14 PM   #3
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Original Poster
Rep: Reputation: 57
I tried the above steps you mention, including the cups interface. The firewalls are turn off from linux and windows. I know the printer is communicating with
linux. I check the print spool on the windows computer, the printer has 15 pages in its print spool,but nothing is printing.
 
Old 01-04-2007, 08:42 AM   #4
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Original Poster
Rep: Reputation: 57
Anyway thanks jschiwal for your suggestions. I going to buy a laser printer for my linux box. I always have
success on laser printers on the first try. Inkjet
printers are so tricky get working even if the model
is close to your model you have.
 
Old 01-04-2007, 02:06 PM   #5
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
If the printer is connected to the Linux box, or the network, HPLIP does a good job of handling both HP inkjet and laser printers. If you do get a Laser Printer, don't get a Samsung. I made that mistake. While the resolution was good and it printed on two sides of the paper automatically, it would smudge and used a propriety pcl, so you have to install their program to print. Another thing, don't assume that every Laser Printer is a postscript printer.

I think that one of the main advantages of a Laser Printer over an Ink Jet is that the printout won't smudge, and won't fade as fast. An inkjet would be much better for pictures however.

If you get an HP, check out the HCL at the HPLIP website: http://hplip.sourceforge.net/

Since it is a HP that you have hooked up to windows, another solution is to hook up that printer to the linux box instead and to ofter the printer share to the windows machine.

The problem you are having may be with the windows config. You might try enabling Unix Printer Services or access it through an IPP: protocol.

Another thing to try is to install hplip on your Linux box anyway, for the purpose of providing the additional drivers that it installs. ( Uninstall hpijs first, as a newer version may be supplied by hplip ). Check out the hplip website to see if the exact printer model is supported. If it is, even though printing to an smb printer share doesn't use hplip, it may work if the hplip package supplies a PPD file for your exact printer model.

The website has a chart, where the print class listed is "DJ3600".

Yet another option, if the printer is a usb printer is to get a jet direct device and put the printer on the network.

Last edited by jschiwal; 01-04-2007 at 02:18 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to print on a winxp-shared printer from inux? pusrob Linux - Networking 14 06-16-2006 06:33 AM
How do I print to my windows shared printer from mandriva roybullard Mandriva 6 11-07-2005 11:22 PM
How to print in Mandrake 9.2 using a Windows XP shared printer? winkydink Linux - Newbie 6 06-06-2004 03:59 PM
Can't seem to print to an XP Pro Shared Printer powerismine Slackware 1 05-10-2003 12:54 AM
Cannot print to Win2K shared printer from RH8 mjamil Linux - Networking 0 11-05-2002 09:55 PM


All times are GMT -5. The time now is 11:17 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration