
Chapter 3: Programming Commands 75
Flash memory user sector status (n = 4 or n = 52)
Bit O/On Hex Decimal Status for transmit status
0 – – – Undened. Fixed to o.
1 – – – Undened. Fixed to o.
2 O 00 0 User data storage write successful.
On 04 4 User data storage write failed, specied area not erased.
3 O 00 0 Flash logo area adequate, denition stored.
On 08 8 Flash logo area not adequate.
4 O 00 0 Not used. Fixed to o.
5 O 00 00 No thermal user-dened characters written to ash.
On 20 32 Thermal user-dened characters written to ash.
6 O 00 0 Not used. Fixed to o.
7 – – – Undened.
Notes
Ifthedatatransmittedfromtheprinterafteroutputtingthiscommandtotheprinteris“0xx1xx10”(x=0or1),processthe
data as a normal status.
Exceptions
When nisoutofthespeciedrange,thecommandisignored.
Send printer software version
ASCII US V
Hexadecimal 1F 56
Decimal 31 86
Theprinterreturns8bytescontainingtheloaderandashsoftwareversion.Therst4bytesreturnedareanASCIIstring
for the loader version.
Thesecond4bytesareanASCIIstringfortheashversion.Example:For1.234.56(8bytes),theloaderversionis1.23
andtheashversionis4.56.
Real time commands
The real time commands provide an application interface to the printer even when the printer is not handling other
commands(RS-232Ccommunicationinterfaceonly):
• Realtimestatustransmission:GS(Hex1D)sequenceandDLE(Hex10)sequence
• Realtimerequesttoprinter:GS(Hex1D)sequenceandDLE(Hex10)sequence
• Realtimeprinterstatustransmission
Thebatchmodeprinterstatuscommandsareplacedintheprinter’sdatabufferastheyarereceivedandhandledbythe
rmwareintheorderinwhichtheywerereceived.Ifthepaperexhaustswhileprintingdatathatwasinthebufferahead
ofthestatuscommand,theprintergoesbusyattheRS-232Cinterfaceandsuspendsprocessingthedatainthebufferuntil
paperisreloaded.Thisistrueforallerrorconditions:knifehomeerror,thermalprintheadoverheat,etc.Inaddition,there
isnowaytorestarttheprinterafterapaperjamorothererror,whenusingbatchmodestatuscommands.
Therealtimecommandsareimplementedintwowaysinordertoovercomethelimitationsofbatchmodestatus
commands.Bothimplementationsofferthesamefunctionality;whichoneyouchoosedependsonthecurrentusageof
yourapplication.
Comentarios a estos manuales