home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
MBUG
/
MBUG115.ARC
/
MXSET.DOC
< prev
next >
Wrap
Text File
|
1979-12-31
|
5KB
|
125 lines
MXSET - The Definitive configuration program for the Epson MX
printers.
This program sets options on the MX80 or MX100. With a compile-
time setting the program can be customized to printers with or
without Graftrax.
The program can be called from within WordStar to change printer
settings or even to type text directly to the printer.
The program must be compiled using Microsoft's M80 assembler. It
uses certain routines from Richard Conn's SYSLIB linkable
subroutines. The program contains Z80 instructions.
-----------------------------------------------------------------
Editor's Note:
An 8080 version, MXSET23.AQM, is included in this library file.
It has been compiled as MXSET23.COM as is. It has not been tested
completely because your editor has an Okidata printer, but it does
appear to work. We have also included the SYSLIB.REL file since
two routines are required should you recompile with M80.
-----------------------------------------------------------------
The main program is not specific to any operating system. It uses
the SYSLIB routines to talk to CP/M. By substituting for the 5 or
6 relatively simple SYSLIB routines used, it could be adapted to
another DOS such as TRSDOS.
There are four COM versions in this library:
MX10.COM - MX100 with Graftrax
MX8.COM - MX80 with Graftrax
MX10NG.COM - MX100 no Graftrax
MX8NG.COM - MX80 no Graftrax
All versions have the Clear Screen/Home cursor string 3 bytes
into the program. It is set at 1AH,0 for Osborne & Televideo
compatibles. Patch the string in there for your system. There are
6 bytes avalable plus the required terminating zero. If your
system does not support clear screen/cursor home,patch in
CR,LF,LF,LF... to leave blank lines between menus.
The following functions are available. The control sequence put
to the printer is shown in parenthesis. The notation GTRAX and
non-GTRAX indicate those options available only on printers with
or without Graftrax.
A: Select character font
1: Set condensed ON ( SI )
2: Set condensed OFF ( DC2 )
3: Set enlarged ON ( SO )
4: Set enlarged OFF ( DC4 )
5: Set emphasized ON ( ESC,'E' )
6: Set emphasized OFF ( ESC,'F' )
7: Set italics ON ( ESC,'4' )
8: Set italics OFF ( ESC,'5' )
9: Set double strke ON ( ESC,'G' )
10: Set double strke OFF ( ESC,'H' )
11: Set to subscript ( ESC,'S',0 )
12: Set to superscript ( ESC,'S',1 )
13: Set super/subscript OFF ( ESC,'T' )
14: Set permanent enlarged ON ( ESC,'W',1 )
15: Set permanent enlarged OFF ( ESC,'W',0 )
(7 - 15 are non-GTRAX)
B: Reset printer to defaults ( ESC,'@' ) - GTRAX
B: Select character set - non-GTRAX
1: North American ( ESC,'R',0 )
2: British ( ESC,'R',3 )
3: French ( ESC,'R',1 )
4: German ( ESC,'R',2 )
5: Spanish ( ESC,'R',7 )
6: Italian ( ESC,'R',6 )
7: Danish ( ESC,'R',4 )
8: Swedish ( ESC,'R',5 )
C: Set line spacing
1: Select 6 lines per inch ( ESC,'2' )
2: Select 8 lines per inch ( ESC,'0' )
3: Set line spacing in 1/72" increments (ESC,'A',n )
4: Set line spacing in 1/216" increments (ESC,'3',n )
(4 is non-GTRAX only)
D: Set page size
1: Set form length in lines ( ESC,'C',n )
2: Set form length in inches ( ESC,'C',0,n )
3: Set width ( ESC,'Q',n )
E: Set uni-directional print ( ESC,'U' )
- non-GTRAX
E: Set vertical tabs ( ESC,'B',n,... )
- GTRAX
F: Set horizontal tabs ( ESC,'D',n,... )
G: Set to top of form (FF) ( FF )
H: Turn ON perforation skip ( ESC,'N',n )
I: Turn OFF perforation skip ( ESC,'O' )
J: Enable out of paper signal ( ESC,'9' )
K: Disable out of paper signal ( ESC,'8' )
L: Print test
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz CR LF
1234567890-=['\;,./
!@#$%^&*()_+]"|:<>? CR LF LF
M: Set bit 8 handling - GTRAX only
1: Bit 8 as is ( ESC,'#' )
2: Bit 8 always ON ( ESC,'>' )
3: Bit 8 always OFF ( ESC,'=' )
N: Home printhead ( ESC,'<' )
- GTRAX only
O: Set medium density graphics ( ESC,'K',03H,30H ) MX100
- GTRAX only ( ESC,'K',01H,E0H ) MX80
P: Set high density graphics ( ESC,'L',06H,60H ) MX100
- GTRAX only ( ESC,'L',03H,C0H ) MX80
Z: Keyboard to printer
All keys pressed are passed to the printer as pressed.
This includes all control keys, except ^Z.
Use ^Z to end. ^C is passed to printer in this mode.
Frans Van Duinen
Toronto, Ont
21 Apr 84