| Udo Schweigert on Sat, 29 Dec 2001 00:04:48 +0100 (CET)(envelope-from owner-apsfilter-current@apsfilter.org) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| apsfilter 7.1.0: [wrong default mode for ljet4] |
Hi all,
I'm using apsfilter on FreeBSD from the ports and after upgrading to 7.1.0
I realized that my prints had only 300 dpi quality although my printer is
600 dpi and I configured apsfilter to use 600 dpi.
Here is my environment:
Operating System : FreeBSD 4.5-PRERELEASE
apsfilter Rel. : apsfilter-7.1.0
ghostscript Rel. : gs 6.52 (make sure with gs -h)
Printer : HP Laserjet 6L
serial/parallel : parallel printer
Mono/Color : mono printer
Postscript-Printer: no
Print Resolution : gs driver default
After looking around in the apsfilter script I noticed that the MAPPING file
states that ljet4 (which is the right gs driver for Laserjet 5L and 6L) is
mapped onto the "deskjet" driver, which has this:
case "$QUALITY" in
draft) RESOLUTION=100x100 ;;
low) RESOLUTION=150x150 ;;
*) RESOLUTION=300x300 ;;
esac
As one can see: this won't let you ever choose 600x600. I created a new "ljet4"
driver:
case "$QUALITY" in
draft) RESOLUTION=300x300 ;;
low) RESOLUTION=300x300 ;;
*) RESOLUTION=600x600 ;;
esac
[ "$HARDWARE_COPIES" ] && GS_FEATURES="$GS_FEATURES -dNumCopies=$COPIES"
[ -n "$HARDWARE_DUPLEX" -a -n "$DUPLEX" ] && GS_FEATURES="$GS_FEATURES -dDuplex"
and changed the MAPPING accordingly and everything went fine.
Best regards
Udo Schweigert
--
Udo Schweigert, Siemens AG | Voice : +49 89 636 42170
CT IC 3, Siemens CERT | Fax : +49 89 636 41166
D-81730 Muenchen / Germany | email : Udo.Schweigert@siemens.com