[NTLUG:Discuss] printer database on Red Hat 7.2?

Fred James fredjame at concentric.net
Fri May 3 17:15:13 CDT 2002


I found the latest hp linux inkjet driver (hpijs 1.0.4) at 
http://hpinkjet.sourceforge.net, and the installation instructions 
included a note on Red Hat 7, suggesting that:

"If you use PrintTool (i.e. RH6.2 and RH7) and you want PrintTool to 
recognize the new ijs device add the following lines to 
/usr/lib/rhs/rhs-printfilters/printerdb file."

Oops! No such file on RH7.2, and PrintTool is printconf-gui.  I have 
been searching, but no luck so far -- any clues to offer?

Thanks in advance for any help you can offer.


For reference, the lines to add to the file are included below.

StartEntry: IJS
GSDriver: ijs
Description: {IJS Client}
About: { \
This is a generalized IJS client interface for ghostscript printer \
drivers. Different drivers and options are specified in the \
"Extra GS options" box. The following ghostscript commands are used by the \
HP Inkjet Driver (HPIJS): -sIjsServer=hpijs, \
-sDeviceManufacturer="HEWLETT-PACKARD", \
-dIjsUseOutputFD, -sDeviceModel=model, -dDuplex, -dTumble, 
-sIjsParams=options. \
Where DeviceModel equals one of the following: "DESKJET 990", "DESKJET 
970", etc... \
-dDuplex equals book, -dDuplex -dTumble equals tablet. \
IjsParams can be any of the following: Quality=n, MediaType=n, 
ColorMode=n, PenSet=n. \
Where Quality equals one of the following: 0=normal (default), 1=draft, 
2=best. \
MediaType equals one of the following: 0=plain (default), 1=premium, 
2=photo. \
ColorMode equals one of the following: 0=grey_k, 1=grey_cmy, 2=color 
(default). \
PenSet equals one of the following:  0=black_pen, 1=color_pen, 
2=both_pens, \
3=mdl_pen, 4=mdl_both. \
Not all combinations of Quality, MediaType and ColorMode are valid print 
modes. \
Resolution setting 600x600 is available for some print modes only. \
In printtool special characters must be preceded by a double backslash 
see the \
following example for HP 990C: -sIjsServer=hpijs 
-sDeviceManufacturer=\\"HEWLETT-PACKARD\\" \
-dIjsUseOutputFD -sDeviceModel=\\"DESKJET 990C\\". \
}
Resolution: {300} {300} {}
Resolution: {600} {600} {}
EndEntry


-- 
...make every program a filter...





More information about the Discuss mailing list