Star Micronics XB-2425 Printer User Manual


 
I
chapter 7
PRINTERCONTROLCOMMANDS
Theprinterhastwoemulationmodes:StandardmodeandIBMmode.
In standardmode,theprinteremulatesthefunctionsoftheEpsonLQ-860/
LQ-106O,andthe graphicscommandsfor NEC 24-wireprinters.In IBM
mode,the printeremulatesthe IBMPropnnterX24E/XL24E.Additional
commandcodesare includedasa supersetof theseemulations.
TheemulationischangedbymeansofEDSswitchA-1.
When ’’Emulation
STD”, the
printerwillbeinstandardmode,andwhen“EMULATION IBM”, the
printerwillbeinIBMmode(seeChapter6).It isnotpossibleto changethe
emulationby meansof softwarecontrol.
Thischapterdescribestheprinter’scontrolcommands.Somecommandsare
commonto both the standardand IBM modes.In the descriptionsof the
commands,all commandswill given by fimctions.The name of each
commandis followedby a tableliketheonebelow:
Mode ASCII Decimal Hexadecimal
std.
<ESC>
“X” “l” 27120 49
IB 78 31
<ESC>
“X” <1>
27120 1
IB 78 01
Mode: Indicatesthemodeinwhichthecommandisrecog-
nized.
Std. Standardmode (EDS switchA-1 is
“EMU-
LATIONSTD”.)
IBMIBMmode(EDSswitchA-1is“EMUIATION
IBM”.)
BothBothstandardand IBMmodes
ASCII: IndicatestheASCIIcodingofthecommand.Con-
trolcharactersareenclosedinpointedbrackets:For
example,cl> meanscharactercode1.
Decimal:
Givesthecommandin decimalcharactercodes.
Hexadecimal: Givesthecommandinhexadecimalcharactercodes.
Parametemfor whichvaluesmustbe suppliedareindicatedbyitalicletters
suchas n, mor d.