User`s manual
61
MP-4200 TH Programmer’s Manual - Revision 1.0
•[parameters]isdescribedineachfunction.
•ƒ
n
defines the function code for the command.
•Functioncodes(ƒ
n
)areidenticalforbothGS(LandGS8Lcommands.Theonlydifference
between them is the parameters (p
L
, p
H
, p
1
, p
2
, p
3
, and p
4
), used to specify the number of bytes
afterm.Becauseofthat,GS(Lcanhandleupto65,535bytes,whileGS8Lcanhandleupto
4,294,967,296bytes.
[Notes] •ThegraphicfunctionalityprovidedbybothGS(LandGS8Lcommandsmaintainupward
compatibility with conventional NV graphics commands (FS p and FS q), downloaded graphics
(GS*andGS/)andgraphics(GSv0).
•NVgraphics(functions48,51,64,65,66,67and69)storedatainNVmemory.
•Downloadedgraphics(functions52,80,81,82,83and85)storedatainvolatilememory.
ThisdataislostwhencommandESC@isexecuted,theprinterisresetorpoweristurnedoff.
•Graphics(functions50and112)storedataintheprintbuffer.Printingstartsusingfunction
50, which also clear the print buffer. Function 50 should be executed just after function 112.
•NVgraphicsanddownloadedgraphicsdataaremanagedusingkeycodes,expressedaskc1
and kc2. The key codes have a 2-byte configuration and can be specified using the full range of
charactercodes(32hto7Eh).
•ItisimpossibletocreatedefinitionsforbothNVgraphicsdata(thiscommand)andNVbit
image data (FS q). NV bit image data definitions are deleted when this command is used.
•Itisimpossibletocreatedefinitionsforbothdownloadedgraphicsdata(thiscommand)and
bitimagedata(GS*).Downloadbitimagedatadefinitionsaredeletedwhenthiscommandsis
used.
•Functions64and80requireESC/POShandshakingprotocol,asdescribedbelow:
Step Host operation Printer operation
1 This command sends
function64/80.
Function64/80isinitiated.
2 Dataisreceived
from printer.
Keycodelistissent.
3 Responsecode(*1)issent. Procedures(*2and*3)areperformed
according to response code.
(*1)ResponseCode
ASCII Hex Dec Request definition
ACK 60 6 Send next data group.
NAK 15 21 Resend just-received data group.
CAN 18 24 Cancel send operation.
(*2) Processing According to Response Code (When Send Data Remains (indicated by
identification status of send data group))
ASCII Description
ACK Initiates operation to send next data.
NAK Resends the just-received data.
CAN Cancels processing initiated by this command.
(*3)ProcessingAccordingtoResponseCode(WhenNoMoreSendDataRemains(indicatedby
identification status of send data group))
ASCII Description
ACK,CAN Cancels procedure initiated by this command.
NAK Resends the just-received data.