Configuring an Apple LaserWriter for 8-bit postscript

Barry Hathaway HATHAWA at gecrdvm1.crd.ge.com
Tue Dec 19 06:14:57 AEST 1989


I'm trying to print Postscript output on an Apple LaserWriter attached to
a Sun workstation.  This Postscript output is actually produced on an IBM
mainframe and is sent to the Sun via LPR.  The Postscript output defines
fonts using a non-standard (EBCDIC) encoding vector in which characters are
represented by 8-bit character codes.  Currently the PRINTCAP file defines
the LaserWriter as:

lp|isolw|lw|apple|ps|postscript|PostScript:\
        :lp=/dev/ttya:\
        :br#19200:rw:fc#0000374:fs#0000003:xc#0:xs#0040040:mx#0:sf:sb:\
        :if=/usr/local/lib/lw/psif:\
        :of=/usr/local/lib/lw/psof:\
        :gf=/usr/local/lib/lw/psgf:\
        :tf=/usr/local/lib/lw/pstf:\
        :nf=/usr/local/lib/lw/psnf:\
        :vf=/usr/local/lib/lw/psvf:\
        :sd=/usr/spool/lw:\
        :lf=/usr/spool/lw/log:\
        :rf=/usr/local/lib/lw/psrf:\
        :cf=/usr/local/lib/lw/pscf:\
        :df=/usr/local/lib/lw/psdf:

This definition seems to strip off or ignore the parity bit which results
in garbage being printed.

What is the correct flag settings to use so that all 8-bits are transmitted
to the printer?   Will this change have any impact on any other type of
printing?



More information about the Comp.unix.wizards mailing list