[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Printer configuration



William R Ward wrote:
> 
> I'm running hamm and wanted to set up a printer (HP OfficeJet).  I
> want PostScript files to be automatically filtered using ghostscript,
> and text files to be printed in Courier.

Have you tried package magicfilter? If you install it, you will have the
following filters:

bj10e-filter bj200-filter bj600-filter bj600_draft-filter cps300-filter
cps400-filter cps600-filter cpsonly300-filter cpsonly400-filter
cpsonly600-filter deskjet-filter dj500-filter dj500c-filter
dj550c-filter epson9-filter epson9c-filter epsonlq-filter
epsonlqc-filter ibmpro-filter jetp3852-filter la50-filter la75-filter
laserjet-filter laserjetlo-filter lbp8-filter lj250-filter ljet2p-filter
ljet2plo-filter ljet3-filter ljet4-filter ljet4l-filter ljet4m-filter
ljet4ml-filter ljetplus-filter ljetpluslo-filter ln03-filter
m8510-filter necp6
-filter oki182-filter pj-filter pjxl-filter pjxl300-filter ps300-filter
ps400-filter ps600-filter psonly300-filter psonly400-filter
psonly600-filter r4081-filter stylus800-filter
stylus_color_360dpi-filter stylus_color_720dpi-filter tek4693-filter
tek4696-filter

Just choose the closest to your printer and modify it. For example, with
dj550c-filter file I have made a dj670c-filter file for my HP Deskjet
670C) by only changing the "-r300" to "-r600" in the lines:

# PostScript
0       %!              filter  /usr/bin/gs  -q -dSAFER -dNOPAUSE -r300
-sDEVICE=cdj550 -sOutputFile=- - 
0       \004%!          filter  /usr/bin/gs  -q -dSAFER -dNOPAUSE -r300
-sDEVICE=cdj550 -sOutputFile=- - 

# PDF
0       %PDF            fpipe   /usr/bin/gs  -q -dSAFER -dNOPAUSE -r300
-sDEVICE=cdj550 -sOutputFile=- $FIL

-- 
Conrado Badenas (Assistant Lecturer)
Department of Thermodynamics. University of Valencia
c/. Doctor Moliner, 50       | e-m: Conrado.Badenas@uv.es
46100 Burjassot (Valencia)   | Phn: +34-63864350
SPAIN                        | Fax: +34-63983385


Reply to: