| Shaun Jurrens on Wed, 6 Feb 2002 12:54:50 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| scaling problems with 7.2.1 |
Hi all,
I upgraded recently from apsfilter 5.2.1 (iirc) to 7.2.1 and since then I
seem to have some wierd scaling problems. I'm using the fbsd port and
AFPL Ghostscript 7.03 (2001-10-20) on a HP 4L printer.
The basic problem appears as huge scaling of printed documents, i.e. a
printjob from a remote (also 4.5 fbsd) machine from netscape, is printed
side-by-side on numerous A4 pages.
A few config details:
/etc/printcap: (on printer "server")
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
aisha|lp2|ljet4d;r=600x600;q=high;c=mono;p=a4;m=auto:\
:lp=/dev/lpt1:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/aisha:\
:lf=/var/spool/lpd/aisha/log:\
:af=/var/spool/lpd/aisha/acct:\
:mx#0:\
:sh:
# APS1_END - don't delete this
strangely enough, I get these errors in the log file, which point to
some parsing error in the apsfilter script:
apsfilter warning: unknown option 'dakota'
apsfilter warning: unknown option 'dakota'
...
bascially one error for each printjob, which come from host "dakota"
/etc/printcap (on remote box):
aisha|pcl|PCL|Hewlett Packard LaserJet 4L:\
:sh:\
:lp=:rp=lp2:\
:rm=johnny:sd=/var/spool/lpd/aisha:lf=/var/log/lpd-errs:
(no errors in log)
apsfilterrc (/usr/local/etc/apsfilter/aisha/apsfilterrc):
#
# don't delete these settings
#
PRINTER='ljet4d'
PAPERSIZE='a4'
METHOD='auto'
QUALITY='high'
COLOR='mono'
RESOLUTION='600x600'
#
# additional configuration follows
# insert settings as seen in /usr/local/etc/apsfilter/apsfilterrc
I've try adjusting resolutions, gray/mono settings, auto/raw setting (raw
just spits out garbage) and even hacking a little in apsfilter itself, but
I haven't taken the time to do a lot of debugging "echos" yet, to see why
it's having problems with the remote printing headers. I'm using the stock
fbsd lpd's on both machines. I've tried running lpd -d on the printer
"server" and see no errors there. The outdated info on debugging apsfilter
(uncomment "#set -x") no longer applies. I haven't run out of things to
try yet, but I've done quite a bit, including reading the handbook and FAQ
and searching the ML archives. Perhaps someone has an idea here.
Thanks in advance for any help.
--
Yours truly,
Shaun D. Jurrens
shaun@shamz.net
shamz@freenix.no
IRCNET nick: shamz #chillout #unix #FreeBSD