LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-01-2008, 05:00 PM   #16
bhert
Member
 
Registered: May 2006
Distribution: OpenSUSE 10.3 Kubuntu Hardy Heron
Posts: 268

Original Poster
Rep: Reputation: 30

Note that I am using static address and not DHCP for my xp box since it is the gateway system.

Ok, here goes, The URI I did for IPP is: IPP://0.0.0.0/printers/hprint where my ip address is for the xp box and the hprint is name of the printer for sharing in xp box.

URI for Samba:smb://MSHOME/usernameassword@0.0.0.0/hprint where the ip address is for xp box and MSHOME is name of the workgroup in xp box The username and password is from linux box.

URI for LPD:lpd://0.0.0.0/hprint, ip address is for xp box also.

I got most of the info for all this from: http://www.swerdna.net.au/linhowtosambaprint.html


-bhert

Last edited by bhert; 04-01-2008 at 05:02 PM.
 
Old 04-02-2008, 10:11 AM   #17
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
I don't see anything wrong with any of the formats you have tried. So, I'm running out of ideas. I did look at the cups documentation, and saw the following:

Quote:
Hewlett Packard JetDirect w/o IPP socket://address:9100
socket://address:9101
socket://address:9102
Hewlett Packard JetDirect w/IPP ipp://address/ipp
ipp://address/ipp/port1
ipp://address/ipp/port2
ipp://address/ipp/port3
This is for HP deskjet printers, and I found it by doing a search in the cups admin area for URI.

At this point, we think we have the correct driver installed in linux, we know the printer works when plugged into the linux system.

It appears, the print files go to XP, but don't print.

It might be worth some time if you go to M$ support ( their knowledge base ) and look for any fixes for problems like this. I'm not at all sure we have a linux/samba/cups problem.

You could also try one of the other URI's, although I don't think that is the problem.

Been a while since I did anything with XP. Can you see the print file arrive at the print queue in XP?

Have you had a look at this thread?

http://forums.suselinuxsupport.de/in...howtopic=41382

Last edited by camorri; 04-02-2008 at 10:22 AM. Reason: More info.
 
Old 04-03-2008, 04:30 PM   #18
bhert
Member
 
Registered: May 2006
Distribution: OpenSUSE 10.3 Kubuntu Hardy Heron
Posts: 268

Original Poster
Rep: Reputation: 30
I looked at the site you provided and used yast to configure the printer and tested samba and it did connect to the xp printer.

I then proceeded to print a test page and looked at the xp's queue and the same thing happened. The file name, owner, ipaddress, file size showed right except for the page size which was N/A again of course. I have to turn off the printer to delete the file stuck in the job queue. So no go.

As a test, I had my mom bring her xp laptop and configured it so her box can print remotely to the other xp box connected to the printer and it printed beautifully.

I don't know how the xp to xp printing works but linux to xp printing does not?

I don't know if the fault lies at the xp print server

I am pretty much out of ideas too. Sucks big time.


-bhert
 
Old 04-03-2008, 08:12 PM   #19
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
I agree. I'm about out of ideas also. I'll do some more looking around, and post back if I can find something.
 
Old 04-04-2008, 09:03 AM   #20
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
One thought, what flavour is your XP system? Home, or Pro?

Here are some links I found. Not sure they tell us much we don't know, but they are worth a look.

http://www.idevelopment.info/data/Un...LinuxSMB.shtml

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

I know these are different distros, but printing is the same beyond the gui's different distros provide. The Debain one has some nice stuff covering samba as well as packages you must have.

Did you create an account on XP as the Red-Hat example shows?

Quote:
After making your printer sharable, you will need to create an account on your Windows XP/2000 machine. In my example, I created a user account called JHUNTER/JHUNTER.
One more How-to...

http://www.linux.org/docs/ldp/howto/...o_windows.html

Have a look here, if all else fails. It may help define the problem.

http://www.linux.org/docs/ldp/howto/...eshooting.html

Last edited by camorri; 04-04-2008 at 09:17 AM. Reason: Added info.
 
Old 04-09-2008, 04:56 PM   #21
bhert
Member
 
Registered: May 2006
Distribution: OpenSUSE 10.3 Kubuntu Hardy Heron
Posts: 268

Original Poster
Rep: Reputation: 30
Hey Camorri, Sorry for taking so long to respond. I was out town for a few days. Thanks for the links you posted here. I tried all these things and it didn't work. As a last ditch effort, I decided to try something else. I reinstalled cups and then tried samba and magically, it worked. I don't know how. The config file in cups must have been wrong or something. No matter, I am glad that it's working perfectly now. The problem I had about the page N/A in the window queue before now shows page 1 and the fact that it's printing beautifully!

Thanks again for sticking with me through the problem

In case you were wondering, I am using XP home.


-bhert
 
Old 04-09-2008, 07:01 PM   #22
bhert
Member
 
Registered: May 2006
Distribution: OpenSUSE 10.3 Kubuntu Hardy Heron
Posts: 268

Original Poster
Rep: Reputation: 30
Now this is interesting, I found this thread:
http://www.linuxquestions.org/linux/...d_from_Windows

I wonder if it would have worked for my printer also. It's mainly for hp printers with exactly the same problem. It has to do with HP and the shockwave file monitoring the printer port. I will keep that info as it may come in handy sometime in the future.

-bhert

Last edited by bhert; 04-09-2008 at 07:04 PM.
 
Old 04-10-2008, 09:18 AM   #23
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Thank-you for posting the information on the windoze side.

I'm happy you had success.
 
Old 04-11-2008, 12:30 PM   #24
bhert
Member
 
Registered: May 2006
Distribution: OpenSUSE 10.3 Kubuntu Hardy Heron
Posts: 268

Original Poster
Rep: Reputation: 30
Camorri, My significant other rebooted windoze cause of the slowdown and then I tried to print from my suse box, and how about that? The same old "won't print" happened again.

I then figured the link I added 2 posts above this about HP printer port problem might be put to good use.

I know it was made for suse 10.0 and a different HP printer than mine.

The file names to be changed and deleted were different with my HP printer files but it can be easily figured out. I messed with the registry and the system files in windoze and after that, it seemed to have worked with no problems.

I then rebooted both machines to make sure that it's not playing with me.

Yay, printing still works fine for me.

The link above should be made available to anyone that has problems getting HP printers to work remotely, maybe make it a sticky.

Apparently HP printers are popular and used by most. Should the mods be notified to make the link a sticky to make people that have HP printers lives easier? What do you think?

-bhert
 
Old 04-12-2008, 09:04 AM   #25
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Sounds like that would be a good idea. So more people can find this thread we ca tag it. That helps with search engine on the board.
 
  


Reply

Tags
hp, linux, print, printer, server, windows



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
Brother HL2070N network printer installed, print jobs stuck in printer que jgz Linux - Networking 0 02-14-2008 10:54 PM
Remote Printer Queue? durden2.0 Linux - Newbie 1 08-04-2004 06:01 PM
Where printer stores queue jobs? mikeshn Linux - Hardware 3 12-19-2003 07:44 AM
Does anyone know how to queue print jobs? Makystir Linux - Software 3 11-05-2003 05:12 PM
Printer queue getting stuck tamim Linux - General 0 10-10-2003 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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