home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine 1996
/
ARCHIVE_96.iso
/
discs
/
mag_discs
/
volume_3
/
issue12
/
fwp_column
/
sources
/
LQ5000di
Wrap
Text File
|
1990-07-01
|
10KB
|
257 lines
* 0060.7 GST 298/0.00
*
*****************************************************************
* *
* *
* *
* MATRIX PRINTER CONFIGURATION *
* ============================ *
* *
* *
* This file contains configuration details for the printers *
* described below. To modify the printer configuration, *
* you must: *
* *
* (a) Read the chapter PRINTER CONFIGURATION in your User *
* Manual - THOROUGHLY! *
* *
* (b) Edit this file using 1st Word Plus to make the *
* required changes (all values are HEXADECIMAL). *
* *
* (c) Run the 1PR program to install the new driver. *
* *
* Consult your User Manual for details of how to load your *
* custom driver from the 1st Word Plus desktop, and how to *
* make it your default printer. *
* *
* Copyright (C) 1986, 1987, 1988, GST Holdings Ltd *
* *
*****************************************************************
* Printer name
* ============
*
* For display above the font table on the
* 1st Word Plus desktop (max 32 characters)
*
* Select one of the following:
*
* Epson FX/RX (9-pin matrix)
* Epson JX/EX (9-pin color)
* Epson LX/GX/FX (9-pin NLQ)
* Epson LQ/SQ series (24-pin)
AMSTRAD LQ5000di
* Configuration variables
* =======================
*
* These six variables define certain printer
* configuration details required by 1st Word Plus:
*
* (1) 1 for microspacing daisywheel, else 0
* (2) Character width in printer units (daisy)
* (3) Linefeed height in printer units
* (4) Mid-carriage (daisy) pixels/inch (matrix)
* (5) Bold offset in printer units (daisy)
* (6) 1 to pause printing between pages, else 0
*
* Select one of the following:
*
* 0,0,C,48,0,0 (FX/JX/LX)
* 0,0,A,3C,0,0 (LQ/SQ)
* 0,2,C,50,0,0 (SMM804)
0,0,A,3C,0,0
* Printer characteristics
* =======================
*
* This table defines values to be sent to the
* printer by 1st Word Plus to control its operation.
*
* An entry consists of:
*
* (1) Function number (these must be kept in order)
* (2) Command bytes (hex commands and placeholders)
*
* A placeholder has the top bit set and is substituted
* by an actual value by 1st Word Plus when printing.
*
* Lines preceded by an asterisk are commented out.
*
* For NLQ printers, if the NLQ print style command is the same
* as the draft style command, you can omit the NLQ command.
* This does NOT apply to pitch changes.
*
* Epson FX commands are the basis for this table, alternate
* commands for specific printers are shown by printer model
* letters in the comments.
*
* Select the commands for your specific printer and comment
* out the remainder, as shown.
1, D,A * Carriage return line feed
4, 1B,42,80,0,B * Vertical tab to line
5, 1B,24,80 * Absolute horizontal tab
6, 1B,45 * Draft bold on
7, 1B,46 * Draft bold off
8, 1B,45 * NLQ bold on
9, 1B,46 * NLQ bold off
A, 1B,34 * Draft italic on
B, 1B,35 * Draft italic off
C, 1B,34 * NLQ italic on
D, 1B,35 * NLQ italic off
10, 1B,78,0 * NLQ light on
11, 1B,78,1 * NLQ light off
12, 1B,53,0 * Draft superscript on
13, 1B,54 * Draft superscript off
14, 1B,53,0 * NLQ superscript on
15, 1B,54 * NLQ superscript off
16, 1B,53,1 * Draft subscript on
17, 1B,54 * Draft subscript off
18, 1B,53,1 * NLQ subscript on
19, 1B,54 * NLQ subscript off
1A, 1B,2D,1 * Draft underline on
1B, 1B,2D,0 * Draft underline off
1C, 1B,2D,1 * NLQ underline on
1D, 1B,2D,0 * NLQ underline off
1E, C * Formfeed
21, 1B,40 * Termination: printer reset
22, 8 * Backspace
23, D * Carriage return
24, 1B,43,80 * Form length in lines
25, 1B,41,80 * Set line feed to N units
26, 1B,2A,0 * Start graphics (mode 0)
28, 1B,78,0,12,1B,57,0,1B,50 * Draft Pica (10 cpi)
29, 1B,78,1,12,1B,57,0,1B,50 * NLQ Pica (10 cpi)
2A, 1B,78,0,12,1B,57,0,1B,4D * Draft Elite (12 cpi)
2B, 1B,78,1,12,1B,57,0,1B,4D * NLQ Elite (12 cpi)
2C, 1B,78,0,1B,57,0,1B,50,F * Draft Condensed (17.2 cpi)
2D, 1B,78,0,1B,57,0,1B,50,F * NLQ Condensed (17.2 cpi) (Not NLQ)
2E, 1B,78,0,12,1B,4D,1B,57,1 * Draft Expanded ( 6 cpi)
2F, 1B,78,1,12,1B,4D,1B,57,1 * NLQ Expanded ( 6 cpi)
0 * End of Table
* Translation Table (Epson Printers)
* ==================================
*
* This table is used to translate the Archimedes
* character codes for output to the printer.
*
* Each entry consists of:
*
* (1) Archimedes character code (these must be in order)
* (2) The (possibly null) byte string to be output
*
* Archimedes character codes with a NULL translation
* string are printed as spaces.
*
* Archimedes character codes NOT in the table are sent
* directly to the printer without translation.
A0, 20, 00 * á
A1, 1B, 74, 02, 85, 1B, 74, 00 * í
A2, 1B, 74, 02, 83, 1B, 74, 00 * ó
A3, 1B, 52, 03, 23, 1B, 52, 00 * ú
A4, 1B, 74, 02, 91, 1B, 74, 00 * ñ
A5, 1B, 74, 02, 84, 1B, 74, 00 * Ñ
A6, 1B, 74, 02, 87, 1B, 74, 00 * ª
A7, 1B, 74, 02, 90, 1B, 74, 00 * º
A8, 1B, 74, 02, 8A, 1B, 74, 00 * ¿
A9, 1B, 74, 02, 82, 1B, 74, 00 * ⌐
AA, 1B, 74, 02, 88, 1B, 74, 00 * ¬
AB, 1B, 74, 02, 89, 1B, 74, 00 * ½
AC, 1B, 74, 02, A4, 1B, 74, 00 * ¼
AD, 1B, 74, 02, 93, 1B, 74, 00 * ¡
AE, 1B, 74, 02, 9A, 1B, 74, 00 * «
AF, 1B, 74, 02, 81, 1B, 74, 00 * »
B0, 1B, 3C, 1B, 74, 02, B0, 1B, 74, 00 * ░
B1, 1B, 3C, 1B, 74, 02, B1, 1B, 74, 00 * ▒
B2, 1B, 3C, 1B, 74, 02, B2, 1B, 74, 00 * ▓
B3, 1B, 3C, 1B, 74, 02, B3, 1B, 74, 00 * │
B4, 1B, 3C, 1B, 74, 02, B4, 1B, 74, 00 * ┤
B5, 1B, 3C, 1B, 74, 02, B5, 1B, 74, 00 * ╡
B6, 1B, 3C, 1B, 74, 02, B6, 1B, 74, 00 * ╢
B7, 1B, 3C, 1B, 74, 02, B7, 1B, 74, 00 * ╖
B8, 1B, 3C, 1B, 74, 02, B8, 1B, 74, 00 * ╕
B9, 1B, 3C, 1B, 74, 02, B9, 1B, 74, 00 * ╣
BA, 1B, 3C, 1B, 74, 02, BA, 1B, 74, 00 * ║
BB, 1B, 3C, 1B, 74, 02, BB, 1B, 74, 00 * ╗
BC, 1B, 3C, 1B, 74, 02, BC, 1B, 74, 00 * ╝
BD, 1B, 3C, 1B, 74, 02, BD, 1B, 74, 00 * ╜
BE, 1B, 3C, 1B, 74, 02, BE, 1B, 74, 00 * ╛
BF, 1B, 3C, 1B, 74, 02, BF, 1B, 74, 00 * ┐
C0, 1B, 3C, 1B, 74, 02, C0, 1B, 74, 00 * └
C1, 1B, 3C, 1B, 74, 02, C1, 1B, 74, 00 * ┴
C2, 1B, 3C, 1B, 74, 02, C2, 1B, 74, 00 * ┬
C3, 1B, 3C, 1B, 74, 02, C3, 1B, 74, 00 * ├
C4, 1B, 3C, 1B, 74, 02, C4, 1B, 74, 00 * ─
C5, 1B, 3C, 1B, 74, 02 ,C5, 1B, 74, 00 * ┼
C6, 1B, 3C, 1B, 74, 02, C6, 1B, 74, 00 * ╞
C7, 1B, 3C, 1B, 74, 02, C7, 1B, 74, 00 * ╟
C8, 1B, 3C, 1B, 74, 02, C8, 1B, 74, 00 * ╚
C9, 1B, 3C, 1B, 74, 02, C9, 1B, 74, 00 * ╔
CA, 1B, 3C, 1B, 74, 02, CA, 1B, 74, 00 * ╩
CB, 1B, 3C, 1B, 74, 02, CB, 1B, 74, 00 * ╦
CC, 1B, 3C, 1B, 74, 02, CC, 1B, 74, 00 * ╠
CD, 1B, 3C, 1B, 74, 02, CD, 1B, 74, 00 * ═
CE, 1B, 3C, 1B, 74, 02, CE, 1B, 74, 00 * ╬
CF, 1B, 3C, 1B, 74, 02, CF, 1B, 74, 00 * ╧
D0, 1B, 3C, 1B, 74, 02, D0, 1B, 74, 00 * ╨
D1, 1B, 3C, 1B, 74, 02, D1, 1B, 74, 00 * ╤
D2, 1B, 3C, 1B, 74, 02, D2, 1B, 74, 00 * ╥
D3, 1B, 3C, 1B, 74, 02, D3, 1B, 74, 00 * ╙
D4, 1B, 3C, 1B, 74, 02, D4, 1B, 74, 00 * ╘
D5, 1B, 3C, 1B, 74, 02, D5, 1B, 74, 00 * ╒
D6, 1B, 3C, 1B, 74, 02, D6, 1B, 74, 00 * ╓
D7, 1B, 3C, 1B, 74, 02, D7, 1B, 74, 00 * ╫
D8, 1B, 3C, 1B, 74, 02, D8, 1B, 74, 00 * ╪
D9, 1B, 3C, 1B, 74, 02, D9, 1B, 74, 00 * ┘
DA, 1B, 3C, 1B, 74, 02, DA, 1B, 74, 00 * ┌
DB, 1B, 3C, 1B, 74, 02, DB, 1B, 74, 00 * █
DC, 1B, 3C, 1B, 74, 02, DC, 1B, 74, 00 * ▄
DD, 1B, 3C, 1B, 74, 02, DD, 1B, 74, 00 * ▌
DE, 1B, 3C, 1B, 74, 02, DE, 1B, 74, 00 * ▐
DF, 1B, 3C, 1B, 74, 02, DF, 1B, 74, 00 * ▀
E0, 1B, 74, 02, E0, 1B, 74, 00 * α
E1, 1B, 74, 02, E1, 1B, 74, 00 * ß
E2, 1B, 74, 02, E2, 1B, 74, 00 * Γ
E3, 1B, 74, 02, E3, 1B, 74, 00 * π
E4, 1B, 74, 02, E4, 1B, 74, 00 * Σ
E5, 1B, 74, 02, E5, 1B, 74, 00 * σ
E6, 1B, 74, 02, E6, 1B, 74, 00 * µ
E7, 1B, 74, 02, E7, 1B, 74, 00 * τ
E8, 1B, 74, 02, E8, 1B, 74, 00 * Φ
E9, 1B, 74, 02, E9, 1B, 74, 00 * Θ
EA, 1B, 74, 02, EA, 1B, 74, 00 * Ω
EB, 1B, 74, 02, EB, 1B, 74, 00 * δ
EC, 1B, 74, 02, EC, 1B, 74, 00 * ∞
ED, 1B, 74, 02, ED, 1B, 74, 00 * φ
EE, 1B, 74, 02, EE, 1B, 74, 00 * ε
EF, 1B, 74, 02, EF, 1B, 74, 00 * ∩
F0, 1B, 74, 02, F0, 1B, 74, 00 * ≡
F1, 1B, 74, 02, F1, 1B, 74, 00 * ±
F2, 1B, 74, 02, F2, 1B, 74, 00 * ≥
F3, 1B, 74, 02, F3, 1B, 74, 00 * ≤
F4, 1B, 74, 02, AE, 1B, 74, 00 * ⌠
F5, 1B, 74, 02, AF, 1B, 74, 00 * ⌡
F6, 1B, 74, 02, F6, 1B, 74, 00 * ÷
F7, 1B, 74, 02, F7, 1B, 74, 00 * ≈
F8, 1B, 74, 02, F8, 1B, 74, 00 * °
F9, 1B, 74, 02, F9, 1B, 74, 00 * ∙
FA, 1B, 74, 02, 92, 1B, 74, 00 * ·á
FB, 1B, 74, 02, FB, 1B, 74, 00 * √
FC, 1B, 74, 02, AB, 1B, 74, 00 * ⁿ
FD, 1B, 74, 02, AC, 1B, 74, 00 * ²
FE, 1B, 74, 02, FE, 1B, 74, 00 * ■
FF, 1B, 74, 02, 9B, 1B, 74, 00 *
0 * NULL terminator