Bug 620 - Bug in printtool causes 0-length postscript.cfg for hp DeskJet 600
Bug in printtool causes 0-length postscript.cfg for hp DeskJet 600
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: printtool (Show other bugs)
5.1
i386 Linux
low Severity low
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1998-12-26 19:32 EST by Robert Dowling
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1998-12-28 11:06:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Robert Dowling 1998-12-26 19:32:07 EST
Not exactly sure what causes (other than my system...hp
DeskJet 600 printer)

What I did to fix it was:

Change /usr/bin/printtool:1070
   set tauto_color "-d\nBitsPerPixel=$auto_color"
to:
   set tauto_color "-dBitsPerPixel=$auto_color"
(Perhaps it should be something else...maybe a "-d
BitsPerPixel..")

Having a \n gives this message from sed:
   postscript.cfg error: sed: Unterminated `s' command)
And leaves postscript.cfg with zero length.

--Robert--rd@uman.com
Comment 1 Bill Nottingham 1998-12-28 11:06:59 EST
this has been fixed for 5.2.

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