Bug 288 - filter for HP Deskjet 400/500C/520/540C causing errors
Summary: filter for HP Deskjet 400/500C/520/540C causing errors
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ghostscript
Version: 5.2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
: 336 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 1998-12-04 02:49 UTC by Brian Ryner
Modified: 2014-03-17 02:08 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1998-12-29 16:03:42 UTC

Attachments (Terms of Use)

Description Brian Ryner 1998-12-04 02:49:40 UTC
When I try to use this filter, I get the following error
Unrecoverable error: rangecheck in .putdeviceprops

This was with it configured for black and white printing.
My printer is a deskjet 400.  Using the Deskjet 500 driver
seems to be a workaround.

Comment 1 dclark 1998-12-05 18:11:59 UTC
I get the same error using the "HP 550C/450C/6xxC series" driver for
my HP DeskJet 600C printer under RedHat 5.2. I did not have this
problem under 5.1. In addition to the error that is printed out which
is mentioned in the initial bug report, this also comes up on the

stdin: is not a tty/var/spool/lpd/lp/filter: /root/general.cfg: No
such file or directory
/var/spool/lpd/lp/filter: [: asc: unary operator expected
/var/spool/lpd/lp/filter: [: printer: unary operator expected
/var/spool/lpd/lp/filter: [: printer: unary operator expected
/var/spool/lpd/lp/filter: [: ps: unary operator expected
/var/spool/lpd/lp/filter: [: ps: unary operator expected
/var/spool/lpd/lp/filter: [: printer: unary operator expected
/var/spool/lpd/lp/filter: [: printer: unary operator expected

I've tried replacing the rhs-printfilters, ghostscript,
ghostscript-fonts, printtool, and lpr packages with the RH5.1 versions
without success (However I do get different error messages when I do

Comment 2 dclark 1998-12-05 19:30:59 UTC
Setting the filter for 2 pagers per output page seems to make this
problem also happen under the "DeskJet 500" driver when printing the
Postscript Test Page. No console messages appear, but the

Unrecoverable error: rangecheck in .putdeviceprops


Comment 3 Bill Nottingham 1998-12-08 16:13:59 UTC
Hmm. It appears the cdj550 driver for ghostscript is broken for
1bpp mode. What you can do to work around this is:

- go into the input filter settings in printtool, and set the
  'Color Depth' to 8 for B&W printing.
- use the DeskJet 500 or some other mostly-compatible driver

Comment 4 Bill Nottingham 1998-12-10 22:44:59 UTC
*** Bug 288 has been marked as a duplicate of this bug. ***
... at least from netscape. I tried both Netscape 4.05-4
and  (after) I tried Communicator 4.07-1.

I am not sure if the problem is with Netscape or lpr.

I am printing locally and I can print from the command line
just fine. It even spits it out if I print after netscape
chokes on it.

It gives the error:
"Unrecoverable error: rangecheck in .putdeviceprops

(1488)op_arrray(486)0x817b0d4:E" [where it goes off the end
of the page. Also after .putdeviceprops and before (1488)
there is no carriage return]

------- Additional Comments From notting  12/08/98 11:06 -------
What driver are you using?

------- Additional Comments From bubar  12/10/98 15:45 -------
I did a little testing this morning and the problem appears to be
ghostscript. I could do all kinds of Text printing but once I sent a
postscript test it balked and I had to senda text job to free it.

Comment 5 Bill Nottingham 1998-12-29 16:01:59 UTC
*** This bug has been marked as a duplicate of 257 ***

Comment 6 Bill Nottingham 1998-12-29 16:03:59 UTC
A workaround has been made in rhs-printfilters-1.46-4.
(For all the cdj-based drivers, the 1bpp option has been

Comment 7 dclark 1998-12-31 13:46:59 UTC
This workaround did not work for me:

dclark@djbclark:~ rpm -qa | grep printfilters

I still get:
Unrecoverable error: rangecheck in .putdeviceprops

Comment 8 Bill Nottingham 1999-01-02 05:40:59 UTC
Um, perhaps I need to clarify. The workaround in printfilters
only appears when configuring the printer (it removes
1bpp from the valid color depth lists). It doesn't change
the old configuration - gs will still crash if you run it
in 1bpp.

Note You need to log in before you can comment on or make changes to this bug.