chapter 4EMULATIONS
AND ESCAPECODES
EMULATIONS
The printer has two emulation modes: standard mode and IBM mode.
In standard mode, the printer emulates the fhnctions of the Epson EX-800
andEX-lOOOpnnters. Additionalcommand codes are includedas asupset
of these emulations.
In IBM mode, the printer emulates the IBM Proprinter II. Additional
command codes are included as asuperset of these emulations.
Theemulationischangedby meansofDIP switch1.When ON,theprinter
willbein standardmode,and whenOFF,the printerwillbein IBM emula-
tionmode(seeChpter5).It isnot possibletochangetheemulationmodeby
meansof softwarecontrolor the frontpanelcontrols.
NOTE
Remembertoturnoffthe printerbeforemakinganyDIPswitchchanges.
NUMERICALREPRESENTATION
Whenin either standard or IBM mode, any numerical parametem taken by
command sequencesare usually binary ratherthanASCIInumericalvalues.
In@ismanual,anyASCIIvalueswillbe representedinquotes,eg“21”will
represent the ASCII string 32h concatenatedwith 31h (in BASIC,
CHR$(50)+CHR$(51)).Usuallyin theseexamples,however,hexadecimal
valueswillbequoted,asshownby thelowercase“h”followingthenumber,
eg32h.
Binarynumbersover FFh are obtained by dividingthe numberinto two
bytes,thefirstbeingthelow byte,andthesecondbeingthehigh byte.Inthis
way,the value123hwill bedividedinto thetwo followingbytes:23h and
Olh.
If negativenumbers are required, they are obtainedby subtracting the
absolutevalueofthe negativenumberfrom65536(10000h),and dividing
theresultintohighandlowbytes.Forinstance,torepresentthenumber-lOh,
thefollowingoperationis carriedout:
23