Network Prints to HP1000 from XP Not printing

Asked by RickB

Printing directly on the Ubuntu 8.04 server works fine for the HP1000 using HPLIP.

However when I try to do a network print from Windows XP using the recommended setup by Ubuntu I find that the print "appears" to go to the printer and when I check the HP Device manager within Ubuntu it shows the print arriving and printing then marked completed only nothing comes out the printer. I can pause the printing within the jobs window and then send a local test print behind the paused job. Everything is on hold, then the first job acts like it prints out (only doesn't) while the local job then follows through and does print...

If I access the printer directly through a web page http://{hostname}/:631 - which is managed by CUPS the exact same process occurs AND I get hard copy

I have a second printer managed through CUPS and everything works fine (both locally and network wise) within CUPS the global settings are set correctly for both printers so the issue seems somehow related to HPLIP since it seems to be receiving than losing the networked printout for the HP1000

Note that I have two System->Administration->Printing menu items (the first I am assuming is CUPS - it opens up a Printer Configuration - localhost application and the second I assume is HPLIP - with icons for the printers) The global settings within the CUPS Printers settings is set, while I cannot set the global settings within the HPLIP window - they are grayed out. This could be the smoking gun, only am not sure at this point. Nor am I sure how to fix it

Your advice/suggestions/help is greatly appreciated.

Thanks

Rick

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
RickB
Solved:
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

Hey Rick,

We don't support sharing printers to Windows systems. However you may want to look on ubuntuforums.org there might be a solution.

Sorry we couldn't help more.

Although I'm setting this to answered the thread is still searchable and if anyone wants to add to it feel free.

Thanks.

A

Revision history for this message
RickB (openskys) said :
#2

Hey Aaron,

I understand and appreciate where you are coming from - however this isn't really a "sharing printers" issue as the printers are indeed shared, the document is indeed passed to the Ubuntu machine, however the software within Ubunut HPLIP causes it to disappear (not print) even though it reports it as printed... hence the original query/concern/question/call for help.

The sharing part works fine - the printing part doesn't.

Rick

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#3

Sorry I misunderstood.

If you print from the ubuntu system does it print?

Also run hp-check -t and post the output.

Thanks!

Aaron

Revision history for this message
RickB (openskys) said :
#4

No problem - yes it outputs fine when I print from the ubuntu system. Will post the hp-check -t report shortly (have to boot the machine up again)

When I do a network print everything reports fine - I can even watch the document in the queue as it is "process" but then it just disappears and reports as printed (only it hasn't. I did an hp-check earlier (after reviewing what I thought were similar problems ) found a few errors and I think that I corrected them, but the problem is still there - hence this posting - will generated the hp-check -t shortly for you.

Thanks again!

Rick

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#5

Lets put cups into debug mode and then try and print from the network.

How to put cups into debug mode:

http://hplip.sourceforge.net/troubleshooting/printing.html

View the log, try and print, and post the log. You may want to post the log to http://pastebin.com/ as it will be rather long.

Thanks.
A

Revision history for this message
RickB (openskys) said :
#6

Okay - since I don't know if you still want the full hp-check log or not - here is a grep of the hp-check -t log. It does look like it is still generating errors - don't know if it is crucial or not though...

grep error hp-check.log
error: SIP not installed or version not found.
error: Not found. SANE backend 'hpaio' NOT properly setup (needs to be added to /etc/sane.d/dll.conf).
error: 4 errors and/or warnings.

Okay - tried your recommendation for cups debugging - don't think it's right as it did not generate any traffic whatsoever in the log - will try to research that one a bit more. Printed both from the HP1000 (problem child) which disappeared and from the inkjet which printed fine - no entries in the log were generated - the ENTIRE log is currently 2 lines long (after starting/stopping cups) and I don't think the errors are related...

E [29/May/2008:10:16:28 -0400] DNSServiceRegister failed with error -65537
E [29/May/2008:10:16:28 -0400] DNSServiceRegister failed with error -65537

Rick

Revision history for this message
RickB (openskys) said :
#7

Okay got debugging working - had to edit the cupsd.conf file and turn logging from warn to debug - works like a charm and you are right generated a lot of data.

Never tried pastebin.com before - freakin' brilliant. Can't thank enough for putting a facility up like that for people to use - simplifies issues like this tremendously - thanks for pointing me to it and I'll make sure to use it more in future as well (plus put a quick note of it in my blog for others to find)

Sorry..... here is the link to the log
http://pastebin.com/m3b5c7bd8

I'll be looking at it as well, but I am really rusty these days and will be taking a while to get up to snuff - so by all means holler if anyone finds what the issue(s) may be

Thanks again!

Rick

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#8

I looked at the cups log and I'm not seeing any specific problem.

How do you have the system configured for network printing? hplip doesn't support sharing a printer over the network and we haven't tested the configuration.

Please run hp-check and post the entire output. It will detect the printer queues and I want to have a look at how the printer is configured.

Thanks!

A

Revision history for this message
RickB (openskys) said :
#9

Man - too many windows open and I blew away the wrong one - this is attempt two - that'll teach me for trying to work this out late at night ;)

Okay -
1) The Network set up was done ala Gutsy (there was nothing listed anywhere Hardy Heron/Ubuntu 8.04 specific) The set up directions are here...
https://help.ubuntu.com/community/NetworkPrintingFromWinXP

2) The hp-check -t log (in full) can be found here...
http://pastebin.com/m658e1d44

3) The hp-check log (with no switches turned on) can be found here...
http://pastebin.com/m404eab5f

Dollars to donuts it is really something stupid that I did, I just can't wrap my mind around it for some reason and don't want to start kicking things over until you have a closer look.

When it came to step 1 this worked wonderfully for both printers within System ->Administration -> Printing (Configure Printers) which matched the directions within the documented page, so I suspect this is CUPS. However only the color inkjet worked (network wise).

However I have a second System -> Administration -> Printing ( Configure Your Printers ) which is graphic vs window based and for that one I could not turn on any Global Settings or make any changes to (everything was grayed out) - would this be HPLIP or something else - is it a Red Herring or a symptom or....

If both printers didn't print across the network that would be one thing or If the document to the HP1000 just disappeared and never got here, that would be another - but the sucker actually transfers across for the HP1000 and acts like it is printing but just never outputs - that's what has me stymied...

Your assistance is greatly appreciated on this - thanks again!

Rick

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#10

If you setup another queue using the cups backend and configure it for network printing does that work?

By using cups backend I mean using the usb backend.

You can configure the printer directly at http://localhost:631

A

Revision history for this message
RickB (openskys) said :
#11

I set up another printer via CUPS (as you recommended it) and configured it(to use hpijs-ZJS once again it worked fine locally.

 I then found it within Windows and tried printing across the network. Same issues as before - the HP1000 queues up the document, but it disappears (never prints out). So it gets the doc - but somehow loses it.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#12

Rick,

HPLIP currently doesn't support sharing a printer..and if it's not working using the CUPS backend there may be some other problem going on.

Sorry I couldn't help more!

A

Revision history for this message
RickB (openskys) said :
#13

Problem FINALLY solved!

I paused the printer and then captured, in total, three printouts in /var/spool/cups and examined them using the command "file"

The local printout was in Postscript format - it printed out okay
The printout coming from a Unix laptop was in Postscript format - it also printed out
The printout coming from the XP laptop was in Zenographics ZjStream - and never printed out

Since the printer only understands Zenographics ZjStream it obviously converts the file before sending it to the printer. (in between the spool and the actual print out)

Since it found no "Postscript" to convert in the XP data - it just dumped it all and printed out what was left - which was nothing. So no printout.

The problem:
Using an HP1000 driver within the Windows print environment causes the output to be converted to Zenographics ZjStream before it is sent to the print server. This results in it being thrown out (after transfer) during the print process. So the print happens and arrives but nothing gets printed.

The solution:
Replacing the HP1000 driver with a Generic Postscript driver created a Postscript format to be transferred which was then processed and turned into a Zenographics ZjStream format for printing on the print server - everything works fine when this is done.

The Adobe Generic Postscript driver can be found here.

 It's a bit of a pain to install within windows (like everything else is) and you actually have to set up your network printer before installing the driver. Make sure that you select "local connect" when it asks for the type of printer. Select the printer you just set up and follow all the steps - including yet another reboot.... Once your driver is in place the printer and printouts work fine across the network....

Now I can move on to my next challenge...... sorry it took so long to find the solution

Revision history for this message
RickB (openskys) said :
#14

Sorry

The link for Adobe's Generic Postscript driver is

http://www.adobe.com/support/downloads/product.jsp?product=pdrv&platform=win