Bug 620

Summary: Bug in printtool causes 0-length postscript.cfg for hp DeskJet 600
Product: [Retired] Red Hat Linux Reporter: Robert Dowling <rd>
Component: printtoolAssignee: David Lawrence <dkl>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1998-12-28 16:06:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Robert Dowling 1998-12-27 00:32:07 UTC
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

Comment 1 Bill Nottingham 1998-12-28 16:06:59 UTC
this has been fixed for 5.2.