Chris Fuhrman on Thu, 14 Nov 2002 18:52:25 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org)


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

HP Laserjets and Stair-stepping prob



Howdy,

Attempting to set up 3 printers on an OpenBSD 3.2 system using APSfilter 
7.2.4 (stable version).  Here's a list:

ps0  - Lexmark Optra RN+ 

       Works using postscript and plain-text

ps8k - HP 8000DN Laserjet

       Works using postscript but plain-text documents have the infamous 
       stair-stepping problem.

       lpr -Pps8k /etc/printcap

ps45 - HP 4550 Color Laserjet

       Works using postscript but plain-text documents have the infamous
       stair-stepping problem.

       lpr -Pps45 /etc/printcap

Needless to say, this is frustrating :)

Here's how I've set up APSfilter:

 -- /etc/printcap --

#	$OpenBSD: printcap,v 1.3 1999/09/23 01:31:20 deraadt Exp $

#lp|local line printer:\
#	:lp=/dev/lp:sd=/var/spool/lpd:lf=/var/log/lpd-errs:

#rp|remote line printer:\
#	:lp=:rm=printhost:rp=lp:sd=/var/spool/lpd:lf=/var/log/lpd-errs:
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
ps0|lp|PS;r=300x300;q=high;c=gray;p=letter;m=auto:\
    :lp=:\
    :rm=ps0:\
    :rp=lp:\
    :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
    :sd=/var/spool/lpd/ps0:\
    :lf=/var/spool/lpd/ps0/log:\
    :af=/var/spool/lpd/ps0/acct:\
    :mx#0:\
    :sh:
# APS1_END - don't delete this
# APS2_BEGIN:printer2
# - don't delete start label for apsfilter printer2
# - no other printer defines between BEGIN and END LABEL
ps45|PS;r=1200x1200;q=high;c=full;p=letter;m=auto:\
    :lp=:\
    :rm=ps45:\
    :rp=raw:\
    :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
    :sd=/var/spool/lpd/ps45:\
    :lf=/var/spool/lpd/ps45/log:\
    :af=/var/spool/lpd/ps45/acct:\
    :mx#0:\
    :sh:
# APS2_END - don't delete this
# APS3_BEGIN:printer3
# - don't delete start label for apsfilter printer3
# - no other printer defines between BEGIN and END LABEL
ps8k|PS;r=600x600;q=high;c=full;p=letter;m=auto:\
    :lp=:\
    :rm=ps8k:\
    :rp=raw:\
    :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
    :sd=/var/spool/lpd/ps8k:\
    :lf=/var/spool/lpd/ps8k/log:\
    :af=/var/spool/lpd/ps8k/acct:\
    :mx#0:\
    :sh:
# APS3_END - don't delete this

Here's what I'm using for a local apsfilterrc file for the ps8k:

 --- /usr/local/etc/apsfilter/ps8k/apsfilterrc

#
# don't delete these settings
#
PRINTER='PS'
PAPERSIZE='letter'
METHOD='auto'
QUALITY='high'
COLOR='full'
RESOLUTION='600x600'

#
# additional configuration follows
# insert settings as seen in /usr/local/etc/apsfilter/apsfilterrc
#

ASCII_FILTER=enscript
ENSCRIPT_PAPERSIZE=Letter
PRETTY_PRINTING=2

I've also tried PSgs as well as the ljet4d filter.  Enscript is 
definitely installed on my box in /usr/local/bin and when I run aps2file 
it looks like the filter is finding enscript okay.  As this e-mail is 
getting long, I can post the output of aps2file should anyone request it.

If anyone has any ideas how to fix this problem, I'd love to hear it.  My 
only other solution is to simply print out text documents using enscript 
from the command line.

Cheers!

-- 
Chris Fuhrman           | Twenty First Century Communications
chris.fuhrman@tfcci.com | Software Engineer
(W) 614-442-1215 x271   |
(F) 614-442-5662        | PGP/GPG Public Key Available on Request