General
cancel
Showing results for 
Search instead for 
Did you mean: 

Postscript "rangecheck" error with HP LJ 6MP from Redhat 7.3

Jonathan Smith_5
Occasional Contributor

Postscript "rangecheck" error with HP LJ 6MP from Redhat 7.3

I am printing a level 1 Postscript document from a Redhat 7.3 server to an
HP LJ 6MP. The document appears to print fine, but an error page always
prints after the document, which displays the text "%%[Error:
rangecheck]%%". From my understanding, the rangecheck error is a very
general postscript error message. My main concern at this point is
stopping the error page from printing. Does anyone know how to disable
Postscript error reporting on the HP LJ 6MP?

Something that is a bit strange about this is that I can print this same
document to the same printer from a SCO v5 server and the error report
does not print.

Any other advice that could be offered is greatly appreciated.


Thanks
Jonathan Smith
6 REPLIES
Albert Keizer
Occasional Advisor

Re: Postscript "rangecheck" error with HP LJ 6MP from Redhat 7.3

Jonathan,

Is the printer on your Redhat machine defined as a generic postscript printer?

What happens if you send it directly to the raw print device?

It is possible that the document is filtered through a ghostscript filter while it does n't need to, and the error could be from ghostscript.
Jonathan Smith_5
Occasional Contributor

Re: Postscript "rangecheck" error with HP LJ 6MP from Redhat 7.3

The printer is setup as a Raw Print Queue. The document is converted from text to ps using ghostscript v7. The postscript file is then sent to the printer.
If the driver is changed to postscript, only the postscript code prints.
Jonathan Smith_5
Occasional Contributor

Re: Postscript "rangecheck" error with HP LJ 6MP from Redhat 7.3

I am still confused with why the same postscript document will print fine from a SCO v5 machine and not from the Redhat 7.3 machine.

Any ideas on why this is occuring?

Thanks
Stuart Browne
Honored Contributor

Re: Postscript "rangecheck" error with HP LJ 6MP from Redhat 7.3

You sending it to the printer with the flag:

-o raw

If not, even with the 'raw' print driver, it will do some parsing.

We have this issue with PCL files we send (not the exact message, but *shrug*).
One long-haired git at your service...
Jonathan Smith_5
Occasional Contributor

Re: Postscript "rangecheck" error with HP LJ 6MP from Redhat 7.3

The "-o raw" flag did not help; it still spits out the rangecheck error. Thanks anyway.
Stuart Browne
Honored Contributor

Re: Postscript "rangecheck" error with HP LJ 6MP from Redhat 7.3

set up a dummy printer that dumps the printjob to a file (rather than a device), or pause the queue and looked at the queued job. See what changes are being made to your file.

You might need to set up a simple 'if' filter to achieve this (#!/usr/bin/perl;open(FILE, '/tmp/junk';while (<>) { print FILE $_; }; close(FILE);).

One long-haired git at your service...