Problem using HP LaserJet 4 printer

Hi everyone,

Last week I made the switch from Ubuntu to OpenSUSE because the Ubuntu ATI drivers stopped supporting my laptop graphics card.

Now I am having problems getting my HP LaserJet 4 printer to work. It is connected to my network with IP address 192.168.1.100 and uses the default port 9100. I first tried using Control Center->Printer Configuration and setting up an AppSocket/HP Jetdirect connection using the “HP LaserJet 4/4M, CUPS + omni [en]” driver. These are the same settings I have been using in Ubuntu, but when I try printing a test page using these settings the message box comes up but nothing happens and the Printer State shows “Idle - CUPSToOmni: No pages printed!”.

I also tried setting up the printer using YaST and the same settings and got the same results. I have also tried using the LaserJet III driver which did not work either. There seems to be no problem with the connection itself as YaST recognizes a HP printer on the mentioned port and browsing to 192.168.1.100:9100 using firefox gives a plaintext output of the HTTP commands used in the connection.

Printing on a separate Windows computer connected in the same way works without problems, as did printing on this computer using my previous Ubuntu installation.

I don’t know what to try next, so I’d be thankful for any suggestions or information as to what might be wrong.

On 10/11/2009 11:56 AM, MickeA wrote:
>
> Hi everyone,
>
> Last week I made the switch from Ubuntu to OpenSUSE because the Ubuntu
> ATI drivers stopped supporting my laptop graphics card.
>
> Now I am having problems getting my HP LaserJet 4 printer to work. It
> is connected to my network with IP address 192.168.1.100 and uses the
> default port 9100. I first tried using Control Center->Printer
> Configuration and setting up an AppSocket/HP Jetdirect connection using
> the “HP LaserJet 4/4M, CUPS + omni [en]” driver. These are the same
> settings I have been using in Ubuntu, but when I try printing a test
> page using these settings the message box comes up but nothing happens
> and the Printer State shows “Idle - CUPSToOmni: No pages printed!”.
>
> I also tried setting up the printer using YaST and the same settings
> and got the same results. I have also tried using the LaserJet III
> driver which did not work either. There seems to be no problem with the
> connection itself as YaST recognizes a HP printer on the mentioned port
> and browsing to 192.168.1.100:9100 using firefox gives a plaintext
> output of the HTTP commands used in the connection.

Under YaST, it should show the connection as
socket://192.168.1.100:9100 with one of the recommended drivers. My
printer is an HP2200N that uses the same JetDirect card, but a
different driver.

On 2009-10-11, MickeA <MickeA@no-mx.forums.opensuse.org> wrote:

> Now I am having problems getting my HP LaserJet 4 printer to work. It
> is connected to my network with IP address 192.168.1.100 and uses the
> default port 9100. I first tried using Control Center->Printer
> Configuration and setting up an AppSocket/HP Jetdirect connection using
> the “HP LaserJet 4/4M, CUPS + omni [en]” driver. These are the same
> settings I have been using in Ubuntu, but when I try printing a test
> page using these settings the message box comes up but nothing happens
> and the Printer State shows “Idle - CUPSToOmni: No pages printed!”.

Try using an LPD conection with that same IP.


Any time things appear to be going better, you have overlooked
something.

Have you checked if the firewall blocks port 9100, or whether the interface is connected to the internal zone?

Thank you everyone for your replies.

Rikishi42:

I tried removing the printer and installing it again using
LPD instead, but unfortunately probing from YaST did not
find the printer and no pages were printed when I tried
installing it.

lwfinger:

Yeah it does show that information and I used the
recommended LaserJet 4/4M driver, so I guess that shouldn’t be a
problem.

By the way, how did you find out that they both use the
same JetDirect card? I’d be happy to know of any resources to
help in more detailed troubleshooting.

SauronXXX:

As far as I can tell the firewall doesn’t block the
connection itself. Pinging works without problems and as I
mentioned, using Firefox to browse to the device (which does not
have web capabilities) actually gave a raw text printout of the
HTTP commands used.

If I understand correctly, since the IP used
is within the range reserved for local networks it should be
connected to the internal zone and not be blocked by the
firewall by default. I’m not entirely sure if I’ve understood
the terminology right though.

By the way, I’ll submit an error log I get when trying to print
using the JetDirect driver. The error messages seem to indicate
that CUPS can’t actually find the driver .so file. Where should
these files be? I looked in /lib but there was no appropriate file there.

{‘error_log’: ‘I [11/Oct/2009:14:45:59 +0200] Saving subscriptions.conf…’,
‘I [11/Oct/2009:14:46:06 +0200] [Job 14] Adding start banner page “none”.’,
‘I [11/Oct/2009:14:46:06 +0200] Saving subscriptions.conf…’,
‘I [11/Oct/2009:14:46:06 +0200] [Job 14] Adding end banner page “none”.’,
‘I [11/Oct/2009:14:46:06 +0200] [Job 14] File of type application/postscript queued by “mikael”.’,
‘I [11/Oct/2009:14:46:06 +0200] [Job 14] Queued on “hplj4” by “mikael”.’,
‘I [11/Oct/2009:14:46:06 +0200] Saving subscriptions.conf…’,
‘I [11/Oct/2009:14:46:06 +0200] [Job 14] Started filter /usr/lib/cups/filter/pstops (PID 28384)’,
‘I [11/Oct/2009:14:46:06 +0200] [Job 14] Started filter /usr/lib/cups/filter/pstoraster (PID 28385)’,
‘I [11/Oct/2009:14:46:06 +0200] [Job 14] Started filter /usr/lib/cups/filter/CUPSToOmni (PID 28387)’,
‘I [11/Oct/2009:14:46:06 +0200] [Job 14] Started backend /usr/lib/cups/backend/socket (PID 28388)’,
‘I [11/Oct/2009:14:46:06 +0200] Saving subscriptions.conf…’,
‘E [11/Oct/2009:14:46:06 +0200] PID 28387 (/usr/lib/cups/filter/CUPSToOmni) stopped with status 1!’,
‘I [11/Oct/2009:14:46:06 +0200] Hint: Try setting the LogLevel to “debug” to find out more.’,
‘E [11/Oct/2009:14:46:06 +0200] [Job 14] CUPSToOmni: Fatal error: unable to load “libHP_LaserJet_4_4M.so”, g_module_error returns “libHP_LaserJet_4_4M.so: cannot open shared object file: No such file or directory”’,
‘E [11/Oct/2009:14:46:06 +0200] [Job 14] CUPSToOmni: No pages printed!’,
‘I [11/Oct/2009:14:46:06 +0200] Saving subscriptions.conf…’,
‘I [11/Oct/2009:14:46:06 +0200] Saving subscriptions.conf…’,
‘E [11/Oct/2009:14:46:11 +0200] [Job 14] Job stopped due to filter errors.’,
‘I [11/Oct/2009:14:46:11 +0200] Saving subscriptions.conf…’,
‘I [11/Oct/2009:14:46:11 +0200] Saving subscriptions.conf…’,
‘I [11/Oct/2009:14:46:16 +0200] Saving subscriptions.conf…’]}

I would just like to say that installing the printer again using
YaST/Printer but choosing the foomatic driver for HP Laserjet 4+
instead of the omni driver for Laserjet4/4M solved the issue.

Pages print without any problems, both text and graphics.

Thank you everyone who tried to help!

On a different note, I would like to change the title of the
thread to show the fact that the problem is resolved.
Is there any way to do that?