HPIJS 3.9.12

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#31 Post by edoc »

WOOT! WOOT! WOOT!

CUPS is talking to my HP OJ-4215!

THANKS!
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#32 Post by rcrsn51 »

Glad to help. This fix comes from Patriot's work with CUPS 1.3.9.

Toppy
Posts: 10
Joined: Mon 11 May 2009, 19:01

HP Deskjet F380 failed

#33 Post by Toppy »

Hello,

Wondered if anyone could help. I'm a newbie to puppy and am using Boxpup 4.1.3 which I like a lot. Unfortunately, CUPS printing doesn't seem to work.

Puppy is Boxpup 413
Installed PET package hpijs-2.8.12.pet
Printer is an HP DeskJet F380 all-in-one printer. It's connected via USB.

Symptoms: error message when trying to print via CUPS. Nothing appears on the printer.

In the CUPS browser I get this error:
HP_F380_USB_1 "/usr/lib/cups/filter/foomatic-rip-hplip failed"

Printer details are shown here as:
Description: HP Deskjet F300 series
Location: Local Printer
Printer Driver: HP Deskjet f300 Series Foomatic/hpijs, hpijs 2.8.12.26
Printer State: idle, accepting jobs, published.
Device URI: usb://HP/Deskjet%20F300%20series?serial=CN66UGK1KD04KH

Then I changed /usr/lib/cups/filter/foomatic-rip-hplip to switch debug on.
This creates a logfile in /tmp/foomtic-rip.log
I think that this is the error:
renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 3600" -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=1 -dIjsUseOutputFD -sOutputFile=- -
Starting process 23424: "tee -a /tmp/foomatic-rip.ps | ( foomatic-gswrapper -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDE..."
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=deskjet 3600' '-r300' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=1' '-dIjsUseOutputFD' '-sOutputFile=%stdout' '-'
Insecure dependency in exec while running setuid at /usr/bin/foomatic-gswrapper line 73.
Process 23424 ending: "tee -a /tmp/foomatic-rip.ps | ( foomatic-gswrapper -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDE..."
renderer return value: 9
renderer received signal: 9



I didn't want to post the entire log file as it's big, but can do it if required.
Anyone have any ideas on what I should do next?

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#34 Post by rcrsn51 »

Go to the folder /usr/lib/cups/filter
Locate the file foomatic-rip-hplip and open it in a text editor
Change the top line to #!/usr/bin/perl -U
Save it and try to print again.

Toppy
Posts: 10
Joined: Mon 11 May 2009, 19:01

#35 Post by Toppy »

@rcrsn51,

thanks for the help. I changed the file and restarted cups - still get the error.
I then rebooted and tried again - same error.

The log file has this - wondered if the 'inappropriate ioctl' bit had any bearing on it. Sorry, managed to miss that line in my earlier post:

Closing renderer
renderer PID kid4=7582
renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 3600" -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=1 -dIjsUseOutputFD -sOutputFile=- -
Starting process 7583: "tee -a /tmp/foomatic-rip.ps | ( foomatic-gswrapper -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDE..."
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=deskjet 3600' '-r300' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=1' '-dIjsUseOutputFD' '-sOutputFile=%stdout' '-'
Insecure dependency in exec while running setuid at /usr/bin/foomatic-gswrapper line 73.
Process 7583 ending: "tee -a /tmp/foomatic-rip.ps | ( foomatic-gswrapper -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDE..."
renderer return value: 9
renderer received signal: 9
KID3 exited with status 1
Renderer exit stat: 1
tail process done writing data to STDOUT
Process dying with "The renderer command line returned an unrecognized error code 9.", exit stat: 1
error: Inappropriate ioctl for device (25)

Cleaning up ...
Killing process 7582 (KID4) with signal 15
Killing process 7582 (KID4) with signal 9

Closing foomatic-rip.
Renderer process finished
Process dying with "Error closing renderer", exit stat: 1
error: Bad file descriptor (9)
Cleaning up ...
Killing process 7581 (KID3) with signal 15
Killing process 7581 (KID3) with signal 9

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#36 Post by rcrsn51 »

It also wants the -U patch applied to the file /usr/bin/foomatic-gswrapper. Just to be safe, also apply it to /usr/bin/foomatic-rip.

Toppy
Posts: 10
Joined: Mon 11 May 2009, 19:01

#37 Post by Toppy »

Thanks for the amazingly quick reply and I'm glad to report that it's working now! :lol:

I just changed the first file , /usr/bin/foomatic-gswrapper , then restarted cups and the test print worked. Many thanks for your help!

Wolf Pup
Posts: 637
Joined: Fri 28 Apr 2006, 01:37

#38 Post by Wolf Pup »

HPIJS updated to 3.9.4b
[img]http://img230.imageshack.us/img230/8595/ubd6467dp2.png[/img]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#39 Post by rjbrewer »

Cartridges went bad in my old Deskjet3930, so picked up
an even older Deskjet3650 for a few dollars; works fine with
new driver.

With the first printer I deleted the 600+ extra drivers one by one;
this time saved the one I need and trashed the rest of the package.
Saves about 5mb of space.

thanks

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

edl
Posts: 10
Joined: Thu 24 Sep 2009, 17:55

#40 Post by edl »

sorry
I'm looking for about PET package hpijs-2.8.12.pet. everyone could help me and say me where is it?
thanks

Wolf Pup
Posts: 637
Joined: Fri 28 Apr 2006, 01:37

#41 Post by Wolf Pup »

HPIJS updated to 3.9.12
[img]http://img230.imageshack.us/img230/8595/ubd6467dp2.png[/img]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#42 Post by edoc »

I did a clean reload of my laptop and now my HP LJ P-1006 is not working.

I tried the hplite app and nothing.

I tried the latest HPIJS 3.9.12 and still no joy.

It all looks OK, no errors, I just get nothing when I tell it to send a Test page.

The job seems to be sent into the ether as it doesn't show up as Active or Competed.

I am running Puppy 4.31

WDYT?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#43 Post by edoc »

Just observed this in CUPS:
HP LaserJet p1006 hpijs, 3.9.12.29, requires proprietary plugin
The driver challenge for Linux is described and solved here:
http://www.foo2xqx.rkkda.com/

Puppy is not mentioned so I will look around for the Puppy PET - since using stuff for other distros often does not work ... or breaks things. :roll:
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#44 Post by edoc »

[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

Post Reply