Officejet J6410 not working

Asked by Chris Gerhard

I'm trying to get an HP OfficeJet J6410 working from a fresh install of ubuntu and also under Solaris. Both fail. On ubuntu attempting to print the test page results in a message:

Processes: no %%:Pages comment in header

Which I assume means the filter has failed.

On Solaris I've managed to dig a bit deeper and the problem appears to be that hpijs server is not playing nicely with ghostscript:

: pearson FSS 51 $; truss -faeo /tmp/tr.$$ /usr/lib/lp/bin/foomatic-gswrapper>
truss -faeo /tmp/tr.$$ /usr/lib/lp/bin/foomatic-gswrapper -D -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dIjsUseOutputFD -sOutputFile=- /tmp/passwd.ps
foomatic-gswrapper: gs '-D' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-dIjsUseOutputFD' '-sOutputFile=/dev/fd/3' 3>&1 1>&2
unable to set Quality=0, ColorMode=2, MediaType=0, err=4
following will be used Quality=0, ColorMode=2, MediaType=0
unable to set paper size=17, err=4
Unrecoverable error: rangecheck in setscreen
Operand stack:
    -0.0 0 --nostringval--
: pearson FSS 52 $;

From the source it appears the two "unable to set" error happen if routines are called when there is no valid printer context at that point, whether this is the ultimate cause of the rangecheck error I don't yet know.

If I remove the -sDEVICE=ijs entry from the above command ghostscript manages to render the PostScript file to the screen.

Even if no PostScript file is presented to the command at all the same errors are seen.

Any help diagnosing the issue would be welcomed

--chris

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
Aaron Albright (albrigha-deactivatedaccount) said :
#1

On your Ubuntu system can you run

hp-check -t

and post the output?

Thanks.

Aaron

Revision history for this message
Chris Gerhard (hplip-thegerhards) said :
#2

Aaron Albright wrote:
> Your question #60202 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/60202
>
> Status: Open => Needs information
>
> Aaron Albright requested for more information:
> On your Ubuntu system can you run
>
> hp-check -t
>
> and post the output?

The Ubuntu system burst into life after a reboot so that is now solved.
I'm curious about solaris but that is not supported and I can at least
print via the ubuntu system.

thanks

--chris

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

Chris,

Thanks for the update--setting to answered.

Aaron

Revision history for this message
Jay Mallar (surfing) said :
#4

Tried this to:

:foomatic-gswrapper -D -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dIjsUseOutputFD -sOutputFile=- /dl/test.gs

which gives me:

foomatic-gswrapper: gs '-sstdout=%stderr' '-D' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-dIjsUseOutputFD' '-sOutputFile=%stdout' '/dl/test.gs'
unable to set Quality=0, ColorMode=2, MediaType=0, err=4
following will be used Quality=0, ColorMode=2, MediaType=0
unable to set paper size=17, err=4
Unrecoverable error: rangecheck in setscreen
Operand stack:
    -0.0 0 --nostringval--

Revision history for this message
Jay Mallar (surfing) said :
#5

Um - ignore that - wrong msg :)

Can you help with this problem?

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

To post a message you must log in.