Star Micronics FR-10 Printer User Manual


 
chapter 4
EMULATIONS
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
and EX-lOOOpnnters.Additionalcommand codes areincluded as a supset
of these emulations.
In IBM mode, the printer emulates the IBM Proprinter II. Additional
command codes are included as a superset of these emulations.
TheemulationischangedbymeansofDIPswitch1.WhenON,theprinter
willbein standardmode,andwhenOFF,theprinterwillbein IBMemula-
tionmode(seeChpter5).Itisnotpossibletochangetheemulationmodeby
meansof softwarecontrolor thefrontpanelcontrols.
NOTE
Remembertoturnoff theprinterbeforemakinganyDIPswitchchanges.
NUMERICALREPRESENTATION
Whenin either standard or IBM mode, any numerical parametem taken by
command sequences areusually binary
ratherthanASCIInumericalvalues.
In@ismanual,anyASCIIvalueswillberepresentedinquotes,eg“21”will
represent the ASCII string 32h concatenated with 31h (in BASIC,
CHR$(50)+CHR$(51)). Usuallyin theseexamples,however,hexadecimal
valueswillbequoted,asshownbythelowercase“h”followingthenumber,
eg 32h.
Binarynumbersover FFh are obtainedby dividingthe number into two
bytes,thefirstbeingthelowbyte,andthesecondbeingthehighbyte.Inthis
way,thevalue 123hwillbe dividedintothe two followingbytes:23h and
Olh.
If negativenumbers are required,they are obtained by subtractingthe
absolutevalueof thenegativenumberfrom65536(10000h),anddividing
theresultintohighandlowbytes.Forinstance,torepresentthenumber-lOh,
the followingoperationis carriedout:
23