*-------------------------------------------------------------------- * * Printer Definition for IBM Graphics printer * * Created and updated by Roy Love August 20, 1987 * I can be reached on Jaskat Computalk BBS, PCBoard (213) 382-2172 * * I've implemented as many of the KEYWORDS defined by PPRINT as of * Version 3.3. Most of the command keywords map directly to defined * Graphic Printer commands. Other keywords, POINT & some of the font * names have been implemented to provide as much functionality as * possible. Where the commands perform some Graphics Printer * functions indirectly, I've included comments explaining the commands * actual results. * *-------------------------------------------------------------------- * The following options are set immediately and become default values * for the Graphics Printer. *-------------------------------------------------------------------- PRINTER: IBM Graphics printer DOT * Define printer as a Dot Matrix type. TOPMARGIN 0 * Define Top Margin to 0 Lines (none) BOTMARGIN 0 * Define Bottom Margin to 0 Lines (none) LINELEN 85 * Define default line length of 85 characters LINESPAGE 58 * Define default number of lines per page FORMLENI 27 67 0 11 * Set default length to 11 inches FFEED 12 * Define Form Feed Character * *-------------------------------------------------------------------- * The following parameters are activated via keyword parameters *-------------------------------------------------------------------- * COMPON 15 * Select Compressed print (16.7 CPI) COMPOFF 18 * Reset Compressed print (16.7 CPI) EXPAND 27 87 1 * Select expanded printing (Double Width) EXPANDOFF 27 87 0 * Reset expanded printing (Double Width) EMPH 27 69 * Select emphasized printing EMPHOFF 27 70 * Reset emphasized printing DOUBLE 27 71 * Select double strike printing DOUBLEOFF 27 72 * Reset double strike printing NLQ 27 71 * Select double strike (NLQ simulated) NLQOFF 27 72 * Reset double strike (NLQ simulated) PERFSKIP 27 78 4 * Set Skip Perforation to 4 lines PERFSKIPOFF 27 79 * Reset Skip Perforation ONEDIR 27 85 1 * Select Unidirectional printing ONEDIROFF 27 85 0 * Select Bidirectional printing (Normal) 6LPI 27 65 12 27 50 * Sets Variable Line feed to 12/72's (6LPI) * * and enables Variable Line Feed 8LPI 27 48 * Select 8LPI mode CHARSET 27 54 * Select IBM character set #2 CHARSETOFF 27 55 * Select IBM character set #1 (Normal) 12CPI 27 58 * 12 Characters per inch 12CPIOFF 18 * Resets 12 CPI to 10CPI PROPORTIONAL 27 80 1 * Enable proportional spacing PROPORTIONALOFF 27 80 0 * Disable proportional spacing SCRIPT 27 83 0 * Select superscript mode SCRIPTOFF 27 84 * Reset superscript mode *-------------------------------------------------------------------- * These POINT commands actually select the CPI settings which are * equivalent to the requested point size. These were included to * provide as much compatability with files designed to be printer * on laser printers. *-------------------------------------------------------------------- NORMALPOINT 18 * Select 10CPI for normal point size POINT7 15 * Select 16.7CPI for 7 point size print POINT10 27 58 * Select 12CPI for 10 point size print POINT12 18 * Select 10CPI for 12 point size print POINT14 15 27 87 1 * Select 16.7CPI and expanded print mode * * which yields 14 point size print * *--------------------------------------------------------------------- * The following are the typeface selections codes. *--------------------------------------------------------------------- * FACENORMAL 27 73 1 * Select normal type face (Lineprinter) COURIER 27 73 3 * Select Courier type face * * NOTE: When the Courier font is selected, * * the priter is reset to 10CPI. The * * Courier font is a 10CPI only font * * on the IBM Graphics Printer. LINEPRINTER 27 73 1 * Select Lineprinter type face PRESTIGEELITE 27 73 2 * Select Prestige Elite type face DLFONT 27 73 4 * Select previously downloaded font DLFONTOFF 27 73 1 * Select normal type face (Lineprinter)