home *** CD-ROM | disk | FTP | other *** search
- # Printer descriptions in the TERMCAPs style
- #
- # Note: the last char on continued lines MUST be \ (not \ + whitespace)
- #
- # Allowed options:
- # am, ap, bs, os (boolean)
- # co, li (number)
- # bc, cr, ff, fs, is, nl, se, so, ue, us (string)
-
- ###############################################################################
- # typewriter turned printer, the Brother series 50, 60, 65, EMS 100 & 200
- # at 10 pitch there are only 65 columns unless special init string
- # there is no FF or sheet feed so about 65 lines and just one page
- # set eight tabs also for APRTEST program; any longer line blows SQUASH(ATBTGS)
- # English wheel loses \, ^, `, {, |, }, ~, and there is no CR either
- #
- 65|BRO65|Brother typewriter model Executron 65:\
- :ap:bs:\
- :li#65:\
- :ff=:\
- :is=\EC \E9\E2 \E1 \E1 \E1 \E1 \
- \E1 \E1 \E1 \E1^M:\
- :ue=\ER:\
- :us=\EE:
-
- ###############################################################################
- # special Brother 65 entry for 12 pitch use
- # at 12 pitch there are 88 columns unless special init string
- #
- 12|BRO12|Brother typewriter model Exectron 65 at 12 pitch:\
- :ap:bs:\
- :li#65:\
- :ff=:\
- :is=\EC \E9\E\037\013:\
- :ue=\ER:\
- :us=\EE:
-
- ###############################################################################
- # the PROWRITER & PROWRITER II dot matrix serial impact printer
- # this is the same as the C. Itoh model 8510A
- # this entry works for SW1 all open except SW1-2 closed
- #
- PR|PRO|C ITOH 8510A:\
- :ap:bs:os:\
- :nl=\r\n:\
- :se=\E":\
- :so=\E!:\
- :ue=\EY:\
- :us=\EX:
-
- ###############################################################################
- # the STARWRITER Model F10-40 and F10-55 daisy wheel printers
- # note: activating boldprint (shadowprint) deactivates underlining! so don't
- #
- ST|STAR|Starwriter F10-40/55 daisy wheel:\
- :ap:bs:os:\
- :is=\E\032I:\
- :se=\E&:\
- :so=\EW:
-
- ###############################################################################
- # the DEFAULT printer is the default, ie a logical output file
- #
- DF|DEFAULT|default logical printer:\
- :ap:\
- :co#80:li#66:
-
- ###############################################################################
- # Default wide logical output file
- #
- WI|WIDE|default wide logical printer:\
- :ap:\
- :co#132:li#66:
-
- ###############################################################################
- # the PC comes with a dot matrix printer described in the tech manual
- #
- PC|IBMPC|IBM PC dot matrix:\
- :am:ap:os:\
- :co#80:li#66:\
- :is=^L:\
- :fs=^L:\
- :se=\EH:\
- :so=\EG:
-
- ###############################################################################
- # the NEC spinwriter described here uses 66 lines by 85 columns
- # and does a blank page before each printout
- #
- NC|NEC7700|NEC Spinwriter 7730:\
- :ap:bs:os:\
- :co#85:li#66:\
- :cr=^M:\
- :ff=^L:\
- :is=^L:\
- :nl=^J:
-
- ###############################################################################
- # Xerox 2700 II laser printer
- #
- XE|XEROX|XEROX 2700 laser printer:\
- :ap:\
- :ff=\EA:\
- :se=\Ep:\
- :so=\Eb:\
- :ue=\Ew:\
- :us=\Eu:
-
- ###############################################################################
- # The Epson FX-86e dot-matrix printer has 80 columns at 10 cpi.
- #
- F8|FX86E|Epson FX-86e:\
- :ap:\
- :co#80:li#66:\
- :cr=^M:\
- :ff=^L:\
- :is=\E@\E2\EP\E-\000\EF:\
- :nl=^J:\
- :se=\EF:\
- :so=\EE:\
- :ue=\E-\000:\
- :us=\E-\001:
-
- ###############################################################################
- # The Epson FX-286e dot-matrix printer. It has 136 columns at 10 cpi.
- #
- F2|FX286E|Epson FX-286e:\
- :ap:\
- :co#136:li#66:\
- :cr=^M:\
- :ff=^L:\
- :is=\E@\E2\EP\E-\000\EF:\
- :nl=^J:\
- :se=\EF:\
- :so=\EE:\
- :ue=\E-\000:\
- :us=\E-\001:
-
- ###############################################################################
- # The HP LaserJet printer family (LaserJet, LaserJet+, LaserJet 500+).
- # Should also be compatible with the LaserJet series II.
- #
- HL|HPLASER|HP LaserJet family:\
- :ap:\
- :co#80:li#66:\
- :cr=^M:\
- :ff=^L:\
- :is=\EE\E&l6D\E&d@\E(s0B\E(s0P\E(s10H:\
- :nl=^J:\
- :se=\E(s0B:\
- :so=\E(s3B:\
- :ue=\E&d@:\
- :us=\E&dD:
-
- ###############################################################################
- #
- # HPLWIDE -- HP LaserJet in portrait mode with compressed characters
- #
- HW|HPLWIDE|HP LaserJet:\
- :ff=^L:cr=^M:nl=^J:is=\E(s0P\E&k2S\E&l7.27c66F:so=\E(s7B:se=\E(s0B:\
- :li#66:co#132:ap:us=\E&dD:ue=\E&d@:
-
- ###############################################################################
- # HP ThinkJet printer (The Personal Printer from Hewlett-Packard) in HP mode.
- #
- HT|HPINK|HP ThinkJet:\
- :ap:\
- :co#80:li#66:\
- :cr=^M:\
- :ff=^L:\
- :is=\EE\E&l6D\E&k0S\E(s0B\E&d@:\
- :nl=^J:\
- :se=\E(s0B:\
- :so=\E(s1B:\
- :ue=\E&d@:\
- :us=\E&dD:
-
- ###############################################################################
- # The IBM Proprinter 9-pin dot-matrix printer.
- #
- PP|IBMPRO|IBM Proprinter:\
- :ap:\
- :co#80:li#66:\
- :cr=^M:\
- :ff=^L:\
- :is=\021\EA\014\022\E-\000\EF:\
- :nl=^J:\
- :se=\EF:\
- :so=\EE:\
- :ue=\E-\000:\
- :us=\E-\001:
-
- ###############################################################################
- # The Okidata Microline 292 9-pin dot-matrix.
- # The 292 has 80 columns at 10 cpi.
- #
- ON|OKI292|Okidata Microline 292:\
- :ap:\
- :co#80:li#66:\
- :cr=^M:\
- :ff=^L:\
- :is=\EA\014\022\E-\000\EF:\
- :nl=^J:\
- :se=\EF:\
- :so=\EE:\
- :ue=\E-\000:\
- :us=\E-\001:
-
- ###############################################################################
- # The Okidata Microline 293/294 9-pin dot-matrix.
- # These have 136 columns at 10 cpi.
- #
- OW|OKIWIDE|Okidata Microline 293/294:\
- :ap:\
- :co#136:li#66:\
- :cr=^M:\
- :ff=^L:\
- :is=\EA\014\022\E-\000\EF:\
- :nl=^J:\
- :se=\EF:\
- :so=\EE:\
- :ue=\E-\000:\
- :us=\E-\001:
-
- ###############################################################################
- # The Canon LBP-8II "Laser Beam" Printer. Yow!
- #
- CL|LBP8II|Canon LBP-8II:\
- :ap:\
- :co#80:li#62:\
- :cr=^M:\
- :ff=^L:\
- :is=\E;\Ec\E[0m:\
- :nl=^J:\
- :se=\E[22m:\
- :so=\E[1m:\
- :ue=\E[24m:\
- :us=\E[4m:
-
- ###############################################################################
- #
- # PostScript Printer Definitions
- #
- # pspor80 - Portrait mode, 80 columns, 66 lines
- # pspor132 - Portrait mode, 132 columns, 66 lines
- # pslan80 - Landscape mode, 80 columns, 66 lines
- # pslan132 - Landscape mode, 132 columns, 60 lines
- # pslan180 - Landscape mode, 180 columns, 66 lines
- #
- # The printer is reset after each document. There are no
- # special commands that need to be given to the printer,
- # either before or after printing in landscape mode.
- #
- # There are 4 variables that you can change to customize the
- # printer definition:
- #
- # LM -- left margin. Currently set as far left as possible (18 points)
- # TM -- top margin. Currently set as close to the top as possible
- # (792 points for all, except for pslan180, which has a top margin
- # of 1 3/8 inches)
- # PT -- point size of text
- # SP -- spacing. Generally equal to the point size for single spacing.
- #
- # *** IMPORTANT ***
- # If there are parentheses in a report, you MUST place
- # backslashes BEFORE EACH parenthesis, e.g. \( in order
- # for the PostScript driver to work correctly.
- #
- ###############################################################################
- #
- # Postscript portrait 80 column output
- #
- PP|PSPOR80|postscript printer:\
- :co#80:li#66:\
- :nl=)mv^J(:\
- :is=/TM 792 def^J/LM 18 def^J/PT 12 def^J/SP 12 def^J/y TM def^J\
- /mv {show^J/y y SP sub def^JLM y moveto}def^J\
- /fnt {findfont^JPT scalefont^Jsetfont}def^J\
- /ly {currentpoint 2 sub}def^J\
- /Courier fnt^JLM y moveto^J(:\
- :fs=)mv^Jerasepage^Jinitgraphics:\
- :ff=)mv^Jshowpage^J/y TM def^JLM y moveto^J(:\
- :so=)show^J/Courier-Bold fnt^J(:\
- :se=)show^J/Courier fnt^J(:\
- :us=)show^Jly^J(:\
- :ue=)show^Jcurrentpoint^J4 2 roll^Jly^Jmoveto^Jlineto^Jstroke^Jmoveto^J(:
- #
- # Postscript portrait 132 column output
- #
- PP|PSPOR132|postscript printer:\
- :co#132:li#66:\
- :nl=)mv^J(:\
- :is=/TM 720 def^J/LM 18 def^J/PT 7 def^J/SP 8 def^J/y TM def^J\
- /mv {show^J/y y SP sub def^JLM y moveto}def^J\
- /fnt {findfont^JPT scalefont^Jsetfont}def^J\
- /ly {currentpoint 2 sub}def^J\
- /Courier fnt^JLM y moveto^J(:\
- :fs=)mv^Jerasepage^Jinitgraphics:\
- :ff=)mv^Jshowpage^J/y TM def^JLM y moveto^J(:\
- :so=)show^J/Courier-Bold fnt^J(:\
- :se=)show^J/Courier fnt^J(:\
- :us=)show^Jly^J(:\
- :ue=)show^Jcurrentpoint^J4 2 roll^Jly^Jmoveto^Jlineto^Jstroke^Jmoveto^J(:
- #
- # Postscript landscape 80 column output
- #
- PL|PSLAN80|postscript printer:\
- :co#80:li#40:\
- :nl=)mv^J(:\
- :is=/TM 612 def^J/LM 18 def^J/PT 14 def^J/SP 14 def^J/y TM def^J\
- /tr {612 0 translate^J90 rotate^JLM TM moveto}def^J\
- /mv {show^J/y y SP sub def^JLM y moveto}def^J\
- /fnt {findfont^JPT scalefont^Jsetfont}def^J\
- /ly {currentpoint 2 sub}def^J\
- /Courier fnt^Jtr^J(:\
- :fs=)mv^Jerasepage^Jinitgraphics:\
- :ff=)mv^Jshowpage^Jtr^J/y TM def^J(:\
- :so=)show^J/Courier-Bold fnt^J(:\
- :se=)show^J/Courier fnt^J(:\
- :us=)show^Jly^J(:\
- :ue=)show^Jcurrentpoint^J4 2 roll^Jly^Jmoveto^Jlineto^Jstroke^Jmoveto^J(:
- #
- # Postscript landscape 132 column output
- #
- PL|PSLAN132|postscript printer:\
- :co#132:li#60:\
- :nl=)mv^J(:\
- :is=/TM 600 def^J/LM 18 def^J/PT 10 def^J/SP 10 def^J/y TM def^J\
- /tr {612 0 translate^J90 rotate^JLM TM moveto}def^J\
- /mv {show^J/y y SP sub def^JLM y moveto}def^J\
- /fnt {findfont^JPT scalefont^Jsetfont}def^J\
- /ly {currentpoint 2 sub}def^J\
- /Courier fnt^Jtr^J(:\
- :fs=)mv^Jerasepage^Jinitgraphics:\
- :ff=)mv^Jshowpage^Jtr^J/y TM def^J(:\
- :so=)show^J/Courier-Bold fnt^J(:\
- :se=)show^J/Courier fnt^J(:\
- :us=)show^Jly^J(:\
- :ue=)show^Jcurrentpoint^J4 2 roll^Jly^Jmoveto^Jlineto^Jstroke^Jmoveto^J(:
- #
- # Postscript landscape 180 column output
- #
- PW|PSLAN180|postscript printer:\
- :co#180:li#66:\
- :nl=)mv^J(:\
- :is=/TM 549 def^J/LM 18 def^J/PT 7 def^J/SP 8 def^J/y TM def^J\
- /tr {612 0 translate^J90 rotate^JLM TM moveto}def^J\
- /mv {show^J/y y SP sub def^JLM y moveto}def^J\
- /fnt {findfont^JPT scalefont^Jsetfont}def^J\
- /ly {currentpoint 2 sub}def^J\
- /Courier fnt^Jtr^J(:\
- :fs=)mv^Jerasepage^Jinitgraphics:\
- :ff=)mv^Jshowpage^Jtr^J/y TM def^J(:\
- :so=)show^J/Courier-Bold fnt^J(:\
- :se=)show^J/Courier fnt^J(:\
- :us=)show^Jly^J(:\
- :ue=)show^Jcurrentpoint^J4 2 roll^Jly^Jmoveto^Jlineto^Jstroke^Jmoveto^J(:
-
- ###############################################################################
- #
- # DEC -- DEC printers in portrait mode
- #
- DC|DEC|DEC printers:\
- :ff=^L:cr=^M:nl=^J:is=^L:so=\E[1m:se=\E[0m:li#66:co#80:\
- :ap:us=\E[4m:ue=\E[0m:
-
- ###############################################################################
- #
- # DECWIDE -- DEC printers in portrait mode with compressed characters
- #
- DW|DECWIDE|DEC printers:\
- :ff=^L:cr=^M:nl=^J:is=^L\E[4w:so=\E[1m:se=\E[0m:li#66:co#132:\
- :ap:us=\E[4m:ue=\E[0m:
-
- ###############################################################################
- #
- # DECLAND -- DEC printers in landscape mode (/FORM=LAND)
- #
- DL|DECLAND|DEC printers:\
- :ff=^L:cr=^M:nl=^J:is=^L:so=\E[1m:se=\E[0m:li#66:co#132:\
- :ap:us=\E[4m:ue=\E[0m:
-
- ###############################################################################
- #
- # DEC180 -- DEC printers, landscape wide mode (/FORM=LANDWIDE)
- #
- D1|DEC180|DEC printers:\
- :ff=^L:cr=^M:nl=^J:is=^L:so=\E[1m:se=\E[0m:li#66:co#180:\
- :ap:us=\E[4m:ue=\E[0m: