
Chapter 3: Programming Commands108
User data storage
Write to user data storage
ASCII ESC ‘ m a0 a1 a2 d1 ... dm
Hexadecimal 1B 27 m a0 a1 a2 d1 ... dm
Decimal 27 39 m a0 a1 a2 d1 ... dm
Value of m: 0 – 255
Writes mbytesofdatatotheuserdatastorageashpageattheaddressspecied.Theprinterwaitsformbytesofdata
followingthe3-byteaddress,addr.
Ifanyofthememorylocationsaddressedbythiscommandarenotcurrentlyerased,thecommandisnotexecuted.
Related information
Resultofthiswriteisreturnedinbit2ofresponsetotransmitstatuscommand1D72,n =4.
Read from user data storage
ASCII ESC 4 m a0 a1 a2
Hexadecimal 1B 34 m a0 a1 a2
Decimal 27 52 m a0 a1 a2
Value of m: 0 – 255
Readsmbytesofdatafromtheuserdatastorageashpageattheaddressspecied.Returnsmbytestotheapplication,
followedbyacarriagereturn(0x0D).Iftherangeofrequesteddataexceedsthesectorboundary,theprinterwillonlysend
thedatauptothesectorboundary.
Select memory type (SRAM/ash) where to save logos or user-dened fonts
ASCII GS “ n
Hexadecimal 1D 22 n
Decimal 29 34 n
Value of n: 48 – 53
n = 48 (ASCII n = 0) HEX 30
LoadsactivelogotoRAMonly.Thisisusedtoprintaspeciallogobutnothaveittakeupashmemory.Alogodened
followingthiscommandisnotpreservedoverapowercycle.Theprinterdisablesinterruptswhilewritingtoash.Any
commandthatcausedatatobewrittentoashshouldbefollowedbya50Msecdelaytoallowsignicanttimeforthe
write operation.
n = 49 (ASCII n = 1) HEX 31
Loadsactivelogotoashmemory.Thisisthedefaultconditionforlogoashstorage.Alogodenedfollowingthis
commandisstoredinashmemory.
n = 50 (ASCII n = 2) HEX 32
Loadsuser-denedcharacterstoRAMonly.Thisisthedefaultconditionforuser-denedcharacterstorage.Anyuser-
denedcharactersdenedfollowingthiscommandarenotpreservedoverapowercycle.
n = 51 (ASCII n = 3) HEX 33
Loadsuser-denedcharacterstoashmemory.Anapplicationmustusethiscommandtostoreuser-denedcharactersin
ashmemory.Anyuser-denedcharactersdenedfollowingthiscommandarestoredinashmemory.Auser-dened
charactercannotberedenedinashmemory.Theashmemorypagemustbeerasedbyanapplicationbeforeredening
user-denedcharacters.Formoreinformation,seetheeraseuserashsector(1D40n) command.
Specieswhethertoloadthelogosoruser-denedcharacterstologo/fontashmemoryortoRAM(volatilememory).
Theselectionremainsineffectuntilitischangedviathiscommandoruntilthepowercycles.Tospecifypermanentfont
ash,alsosend1D228101.
Related information
ThiscommandisrecognizedinNativemode.InA793andLEGACYemulations,parameterbytesgointotheprintbuffer.
Comentarios a estos manuales