LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-11-2006, 09:06 PM   #1
Dag Nabbit
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Rep: Reputation: 0
Having trouble printing to Windows printers on my network


Hi All, this is my first post!
I've installed mandriva 2006 on this PC, a reformat and reinstall of Mandriva's previous offering and now I can't get anything to print to the printers installed on my winXP PC. They worked before, but not now...in the print setup for KDE, the scan shows them, but nothing prints. Any idea what's going on here? I've run out of options that I can actually understand, being pretty new to Linux.
Any help is appreciated-
Dag
 
Old 03-12-2006, 09:08 AM   #2
Andrew Skinner
Member
 
Registered: Jun 2004
Distribution: Mandrake LE 2005
Posts: 37

Rep: Reputation: 15
I had similar problem with Mandriva Le2005. In the KDE print setup I needed to tick the Guest account box otherwise XP just ignores the print job, I had to enable the guest account in XP too - but I guess this is already done since you had printing working before.

I'm assuming that CUPS is installed ?
 
Old 03-12-2006, 03:50 PM   #3
Dag Nabbit
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Hi- Yeah, I tried that...it would report an error when I tried printing a test page as anonymous, and would say print job sent if I chose to authenticate as a guest, but it just sat in the queue and never printed. Nothing has changed on the XP machine. Is this maybe a SMB issue or something?
Oh yeah CUPS is installed- Thanks Dag

Last edited by Dag Nabbit; 03-12-2006 at 03:51 PM.
 
Old 03-12-2006, 05:03 PM   #4
tmick
Member
 
Registered: Jun 2005
Location: North Dakota
Distribution: Debian Testing
Posts: 247

Rep: Reputation: 20
What type of printer is it?
Are you doing this via SAMBA? What steps have you tried so far?
What is the error message(s) you are getting?
What did you change from when it did work??

Last edited by tmick; 03-12-2006 at 05:06 PM.
 
Old 03-13-2006, 08:51 AM   #5
Dag Nabbit
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
OK,I'm doing this via the printer wizard in drakconf, also tried it through the printer setup in KDE. I assume it's trying to work through SMB as I'm telling it to look for SMB printers on the network...it finds them every time but just won't print to them. I've tried deleting them from both locations and then re-scanning for printers and reinstalling them, I've uninstalled CUPS and reinstalled it, I've turned on the guest account on the XP machine and tried it that way. The only error message I've ever gotten was when I tried to use the anonymous login, it said it couldn't connect to the printer. The guest login lets the wizard proceed then it just sits in the job queue(the test page and an attempt to print from kontact).
I've tried to print to any of three HP printers on the XP machine, a laserjet III si, an officejet G85 and deskjet 895Cse, all working properly from other computers on the network. In the case of the laserjet I tried using another driver than the one recommended, that didn't work either.
The change in my setup is that I installed Mandriva 2006 where I had mandriva 2005 LE before.
Any ideas what to try next?
Thanks!
 
Old 03-13-2006, 12:16 PM   #6
Andrew Skinner
Member
 
Registered: Jun 2004
Distribution: Mandrake LE 2005
Posts: 37

Rep: Reputation: 15
The fact that the job arrives but does not print suggests that the file format may be wrong, I get this with my Windows Me box since this does not understand the internet printing protocol used by CUPS -at least this is what I have understood to be the problem, from other posts that I have seen. XP is ok with CUPS so i'd check that CUPS is the printing system being used:

In the KDE print manager it should show at the bottom "print system currently used " this has a drop-down list . This should show "CUPS" is this right ? if not select CUPS and try again
 
Old 03-13-2006, 12:37 PM   #7
tmick
Member
 
Registered: Jun 2005
Location: North Dakota
Distribution: Debian Testing
Posts: 247

Rep: Reputation: 20
Also Windows XP uses ports 445, 139 for SAMBA although the Anon login should work if configured on the printer to do so. What happens if you put one of the HP's on your Linux box and try to get XP to print to it?
 
Old 03-13-2006, 12:55 PM   #8
Dag Nabbit
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
OK as far as the print system being used, it is CUPS...as far as the file format, in smb4k I sent a .ps file from the linux box to the printer on the XP machine(the laser, the only postscript native printer I think) and it still wouldn't work.
I connected the deskjet 895 to the linux box and voila! it worked right away, I also found it on the network from the XP box and printed to it.
In the drakconf printer setup it says it's using port 631(forthe printers on the xp box), could that be the problem?
I am starting to think maybe it's the xp print server? But why would it still let me print from my other xp boxes on the network?
I want to keep at least the officejet on xp because it has a pretty good software suite for paperless faxing, scanning,copying, paperless fax receiving etc. HP hasn't ported the software to linux yet or I'd just move them all to the linux box...
 
Old 03-13-2006, 05:07 PM   #9
tmick
Member
 
Registered: Jun 2005
Location: North Dakota
Distribution: Debian Testing
Posts: 247

Rep: Reputation: 20
It could be a port problem, I have an HP OfficeJet 6210 it uses port 9100 as a DYNAMIC port meaning the port number gets changed when the data is sent back. I don't believe Linux supports Dynamic ports, and that could be the issue. I would leave it as is since it is working the way you have it. Port 631 is a static port.

Last edited by tmick; 03-13-2006 at 05:09 PM.
 
Old 03-13-2006, 05:31 PM   #10
Dag Nabbit
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Hmm..well, that doesn't explain why it used to work and now it doesn't, specifically printing to the officejet or laserjet still on the xp box. The only one working is the deskjet that is now on the linux box, no luck with printing from linux to windows..thanks for your help though.
 
Old 03-16-2006, 10:04 AM   #11
Dag Nabbit
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
OK, this is still not working....more info, in the KDE printer management app. if I ask for a report on the printers that it found on my network, it reports that it was unable to access SAMBA printer for both the laserjet and the officejet. I have accessed them across the network from my laptop running mandriva 2005 LE. I still could use some help here, please?
Dag
 
Old 03-18-2006, 05:34 PM   #12
Dag Nabbit
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Doesn't anybody know what might be the problem here?
 
Old 03-19-2006, 02:48 AM   #13
tmick
Member
 
Registered: Jun 2005
Location: North Dakota
Distribution: Debian Testing
Posts: 247

Rep: Reputation: 20
My suggestion would be to open a bug in bugzilla, if it worked in the previous version but is broke now they must of changed something in the coding of the new version that is screwing things up. Other than that if you could post an Ethereal sniff of the failed printing job maybe someone can help after that?
 
Old 03-21-2006, 04:30 PM   #14
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180
Blog Entries: 1

Rep: Reputation: 32
Smile Verify, in order, the SAMBA then CUPS configuration

This is a helpful document I used to set up Windoze/Linux shared printing via SAMBA and CUPS:

http://www.faqs.org/docs/Linux-mini/...-Printing.html

I know your distro is not Debian but the components you want to use (SAMBA and CUPS) are the same no matter what the distro.

Once you have verified that SAMBA is configured correctly and your Linux box can "see" the printer connected to the WinXP box, make sure in CUPS you specify the printer URI as:

smb://guest@XPmachinename

And, as mentioned by a previous poster, the GUEST account on WinXP should be enabled.

SAMBA and CUPS logging levels should be increased to show more information while debugging. Good luck and hope this helps!
 
Old 03-21-2006, 04:37 PM   #15
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180
Blog Entries: 1

Rep: Reputation: 32
CUPS URI for WinXP printer shared via SAMBA

Whoops, the URI should be in the following format:

smb://guest@//hostname/printername

I always forget
 
  


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
hplip does not support printing to windows printers phats_O Linux - Hardware 1 06-01-2005 03:54 PM
printing via network trouble YellowFin Linux - Newbie 5 03-26-2005 07:51 PM
CUPS error - trouble printing to windows printer vr6stress Linux - Newbie 13 12-23-2004 08:46 AM
Cannot print from Windows-network-connected printers milleron Linux - Networking 9 07-19-2004 07:02 AM
sharing printers in linux and windows xp: no printing, yet no errors TheOneAndOnlySM Linux - Networking 1 04-26-2004 07:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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