HP M1120n problem

Asked by matis

Hi all,

i want to use my HP M1120n printer on solaris.
i know, that solaris is not supported, but my HP_LaserJet_3052 works fine (both scanning and printing over network using CUPS and SANE on Solaris 10 update 5) so i hope to make HP M1120n working too.

but i don't know how to do it.
the printer seems to need a plugin. i have run hp-plugin, and it created suitable PPD for my printer. then i set up my printer using cups web-based admin frontend.

but when i run hp-check it complains: "error: Required plug-in status: Not installed"
actually, hp-check is looking for /opt/hplip/share/hplip/data/plugins/hp_laserjet_m1120n_mfp.plugin but i have only license.txt in that directory

i don't know how to create that hp_laserjet_m1120n_mfp.plugin file. i tried to use hp-setup with hope it will create it, but hp-setup fails with: Error: Printer queue setup failed. Please restart CUPS and try again

please, can you give me any hint?

thanks a lot

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
dwelch91 (dwelch91) said :
#1

What version of HPLIP?

On Wed, Oct 22, 2008 at 2:07 PM, matis
<email address hidden> wrote:
> New question #48765 on HPLIP:
> https://answers.launchpad.net/hplip/+question/48765
>
> Hi all,
>
> i want to use my HP M1120n printer on solaris.
> i know, that solaris is not supported, but my HP_LaserJet_3052 works fine (both scanning and printing over network using CUPS and SANE on Solaris 10 update 5) so i hope to make HP M1120n working too.
>
> but i don't know how to do it.
> the printer seems to need a plugin. i have run hp-plugin, and it created suitable PPD for my printer. then i set up my printer using cups web-based admin frontend.
>
> but when i run hp-check it complains: "error: Required plug-in status: Not installed"
> actually, hp-check is looking for /opt/hplip/share/hplip/data/plugins/hp_laserjet_m1120n_mfp.plugin but i have only license.txt in that directory
>
> i don't know how to create that hp_laserjet_m1120n_mfp.plugin file. i tried to use hp-setup with hope it will create it, but hp-setup fails with: Error: Printer queue setup failed. Please restart CUPS and try again
>
> please, can you give me any hint?
>
> thanks a lot
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
matis (matis-bonet) said :
#2

hplip 2.8.9
cups 1.1.21 (installed from solaris packages)

Revision history for this message
matis (matis-bonet) said :
#3

well, my question is:

how to make HP M1120n working with hplip 2.8.9 with supported OS (for example linux) .. i will then try to make it working with Solaris :)

what is the file hp_laserjet_m1120n_mfp.plugin needed for? ... what format does that file have?

Revision history for this message
dwelch91 (dwelch91) said :
#4

2.8.9 has only a single plugin file that contains support for all the
printers that require (or optionally can use) a plugin (PPD, binary
driver extension, etc). If you were to download the plugin file (from
http://www.linuxprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-2.8.9-plugin.run)
and then run the plugin (sh ./hplip-2.8.9-plugin.run (as root)), that
should install it... You can also run hp-plugin (as root) if that will
work on your system.

On Wed, Oct 22, 2008 at 2:11 PM, matis
<email address hidden> wrote:
> Question #48765 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/48765
>
> Status: Answered => Open
>
> matis is still having a problem:
> hplip 2.8.9
> cups 1.1.21 (installed from solaris packages)
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
matis (matis-bonet) said :
#5

i have run that hplip-2.8.9-plugin.run already and it created following:

ls -l /opt/hplip/share/hplip/prnt/plugins
-rwxr-xr-- 1 root root 53784 okt 22 21:44 lj-x86_32.so
lrwxrwxrwx 1 root root 48 okt 22 21:44 lj.so -> /opt/hplip/share/hplip/prnt/plugins/lj-x86_32.so

which program loads lj.so ? i have tried to "truss" (it's like linux strace) almost everything in my system, but i was not able to find a program which loads it.

Revision history for this message
Raghothama Cauligi (raghothama-cauligi) said :
#6

It is loaded dynamically by hpijs.
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of matis
Sent: Wednesday, October 22, 2008 2:31 PM
To: Cauligi, Raghothama S
Subject: Re: [Question #48765]: HP M1120n problem

Question #48765 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/48765

    Status: Answered => Open

matis is still having a problem:
i have run that hplip-2.8.9-plugin.run already and it created following:

ls -l /opt/hplip/share/hplip/prnt/plugins
-rwxr-xr-- 1 root root 53784 okt 22 21:44 lj-x86_32.so
lrwxrwxrwx 1 root root 48 okt 22 21:44 lj.so -> /opt/hplip/share/hplip/prnt/plugins/lj-x86_32.so

which program loads lj.so ? i have tried to "truss" (it's like linux
strace) almost everything in my system, but i was not able to find a program which loads it.

You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
matis (matis-bonet) said :
#7

i was investigating PPD files... and those that were created during compiling hplip from source have this line:

*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip-hplip"

and those, that were installed by hp-plugin have this line:

*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"

and i can see CUPS complaining about missing /opt/sfw/cups/lib/cups/filter/foomatic-rip

do i need to use special configure flags to make hplip compatible with hp-plugin?

thanks

Revision history for this message
Raghothama Cauligi (raghothama-cauligi) said :
#8

create a link for foomatic-rip to point to foomatic-rip-hplip.
However, the plugin lj.so is a linux binary.
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of matis
Sent: Wednesday, October 22, 2008 2:55 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #48765]: HP M1120n problem

Question #48765 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/48765

    Status: Answered => Open

matis is still having a problem:
i was investigating PPD files... and those that were created during compiling hplip from source have this line:

*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip-hplip"

and those, that were installed by hp-plugin have this line:

*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"

and i can see CUPS complaining about missing /opt/sfw/cups/lib/cups/filter/foomatic-rip

do i need to use special configure flags to make hplip compatible with hp-plugin?

thanks

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
matis (matis-bonet) said :
#9

hm... so i don't have any chance to get lj.so working with solaris?

btw:. i can see in my cups log this problem with hpijs ... does anyone know how to solve it?

D [23/Oct/2008:11:27:09 -0100] [Job 15] unable to open PrintContext object err=16
D [23/Oct/2008:11:27:09 -0100] [Job 15] ESP Ghostscript 815.01: Can't start ijs server "hpijs"

thanks

Revision history for this message
Raghothama Cauligi (raghothama-cauligi) said :
#10

err=16 is coming from hpijs because the attached printer is unsupported.
In your case, hpijs fails to load lj.so.
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of matis
Sent: Thursday, October 23, 2008 2:57 AM
To: Cauligi, Raghothama S
Subject: RE: [Question #48765]: HP M1120n problem

Question #48765 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/48765

    Status: Answered => Open

matis is still having a problem:
hm... so i don't have any chance to get lj.so working with solaris?

btw:. i can see in my cups log this problem with hpijs ... does anyone know how to solve it?

D [23/Oct/2008:11:27:09 -0100] [Job 15] unable to open PrintContext object err=16 D [23/Oct/2008:11:27:09 -0100] [Job 15] ESP Ghostscript 815.01: Can't start ijs server "hpijs"

thanks

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Can you help with this problem?

Provide an answer of your own, or ask matis for more information if necessary.

To post a message you must log in.