A795-D100 PSUser GuideProgramming SupplementA795 Two-Color Thermal Receipt PrinterTM
A795 User Guide: Programming SupplementChapter 1: About this Supplement10
A795 User Guide: Programming SupplementChapter 4: Programming commands100MacrosThese commands are used to select and perform a user-defined sequence o
A795 User Guide: Programming SupplementChapter 4: Programming commands101User data storageWrite to user data storageASCII ESC ‘ m a0 a1 a2 d1 ... dmHe
A795 User Guide: Programming SupplementChapter 4: Programming commands102Select memory type (SRAM/flash) where to save logos or user-defined fontsASCI
A795 User Guide: Programming SupplementChapter 4: Programming commands103Erase user flash sectorASCII GS @ nHexadecimal 1D 40 nDecimal 29 64 nValue of
A795 User Guide: Programming SupplementChapter 4: Commands listed by hexadecimal code104User storage status (ColorPOS™)ASCII GS 0x97 m nHexadecimal 1D
A795 User Guide: Programming SupplementChapter 4: Programming commands105Flash downloadThese commands are used to load firmware into the printer.The c
A795 User Guide: Programming SupplementChapter 4: Programming commands106Return boot sector firmware part numberASCII GS NULLHexadecimal 1D 00Decimal
A795 User Guide: Programming SupplementChapter 4: Programming commands107Return microprocessor CRCASCII GS BELHexadecimal 1D 07Decimal 29 7Returns the
A795 User Guide: Programming SupplementChapter 4: Programming commands108Download to active flash sectorASCII GS DC1 aL aH cL cH d1… dnHexadecimal 1D
A795 User Guide: Programming SupplementChapter 4: Programming commands109Return paper type description (ColorPOS™)ASCII GS Ox8F mHexadecimal 1D 8F mDe
A795 User Guide: Programming SupplementChapter 2: Diagnostics and Configuration11Chapter 2: Diagnostics and ConfigurationThe A795 printer performs a n
A795 User Guide: Programming SupplementChapter 4: Programming commands110
A795 User Guide: Programming SupplementAppendix A: Commands by hexadecimal code111Appendix A:Commands listed by hexadecimal codeBy command codeNote: B
A795 User Guide: Programming SupplementAppendix A: Commands by hexadecimal code112Code (hexadecimal) Command Page1B 20 n Set right-side character spac
A795 User Guide: Programming SupplementAppendix A: Commands by hexadecimal code113Code (hexadecimal) Command Page1B 54 n Select print direction in pag
A795 User Guide: Programming SupplementAppendix A: Commands by hexadecimal code114Code (hexadecimal) Command Page1D 03 n Real time request to printer
A795 User Guide: Programming SupplementAppendix A: Commands by hexadecimal code115Code (hexadecimal) Command Page1D 56 m n Select cut mode and cut pap
A795 User Guide: Programming SupplementAppendix A: Commands by hexadecimal code116Code (hexadecimal) Command1D 91 n Save graghics buffer as logo 721D
A795 User Guide: Programming SupplementAppendix B: Resident Character Sets117Appendix B:Resident Character SetsCharacter setsCode page 437 (US)
A795 User Guide: Programming SupplementAppendix B: Resident Character Sets118Code page 737 (Greek)
A795 User Guide: Programming SupplementAppendix B: Resident Character Sets119Code page 850 (Multilingual)
A795 User Guide: Programming SupplementChapter 2: Diagnostics and Configuration12Runtime diagnosticsRuntime diagnostics (sometimes called level 2 diag
A795 User Guide: Programming SupplementAppendix B: Resident Character Sets120Code page 852 (Slavic)
A795 User Guide: Programming SupplementAppendix B: Resident Character Sets121Code page 858 (with Eurosymbol)
A795 User Guide: Programming SupplementAppendix B: Resident Character Sets122Code page 860 (Portuguese)
A795 User Guide: Programming SupplementAppendix B: Resident Character Sets123Code page 862 (Hebrew)
A795 User Guide: Programming SupplementAppendix B: Resident Character Sets124Code page 863 (French Canadian)
A795 User Guide: Programming SupplementAppendix B: Resident Character Sets125Code page 865 (Nordic)
A795 User Guide: Programming SupplementAppendix B: Resident Character Sets126Code page 866 (Cyrillic)
A795 User Guide: Programming SupplementAppendix B: Resident Character Sets127Code page 1252 (Windows Latin 1)
189-9200281 E A795-D100 PS 05/01TM
A795 User Guide: Programming SupplementChapter 2: Diagnostics and Configuration13*** A795 - Diagnostics Form ****** A795 - Diagnostics Form ***Model n
A795 User Guide: Programming SupplementChapter 2: Diagnostics and Configuration14IndicatorsThe printer communicates various conditions both visually,
A795 User Guide: Programming SupplementChapter 2: Diagnostics and Configuration15Printer configurationPrinters are shipped with all the functions and
A795 User Guide: Programming SupplementChapter 2: Diagnostics and Configuration16Configuring the printerThe configuration menu allows you to select fu
A795 User Guide: Programming SupplementChapter 2: Diagnostics and Configuration17Communication interfaceTo change the communication interface settings
A795 User Guide: Programming SupplementChapter 2: Diagnostics and Configuration18Printer emulationsTo change the printer emulations settings, enter th
A795 User Guide: Programming SupplementChapter 2: Diagnostics and Configuration19Printer settings and functionsTo change the printer settings and func
Federal Communications Commission (FCC) Radio Frequency Interference Statement WarningChanges or modifications to this unit not expressly approved by
A795 User Guide: Programming SupplementChapter 2: Diagnostics and Configuration20Enable or disable data scope modeThe data scope mode test prints a he
A795 User Guide: Programming SupplementChapter 3: Programming the Printer21Chapter 3: Programming the PrinterOverview of commandsCommands control all
A795 User Guide: Programming SupplementChapter 3: Programming the Printer221B 4A n Print and feed paper This command uses n in terms of n/360 inches.
A795 User Guide: Programming SupplementChapter 3: Programming the Printer23Axiohm ColorPOS™ 2-color and color interpreted commands continued1D 87 m GS
A795 User Guide: Programming SupplementChapter 3: Programming the Printer24Print zonesPrint zones for 80-mm paperSpecifications of print zone for 80 m
A795 User Guide: Programming SupplementChapter 3: Programming the Printer25Print zones for 82.5-mm paperSpecifications of print zone for 82.5 mm paper
A795 User Guide: Programming SupplementChapter 3: Programming the Printer26Emulation modesThe Axiohm A795 printer may be operated in a number of diffe
A795 User Guide: Programming SupplementChapter 4: Programming commands27Chapter 4: Programming CommandsCommands listed by functionCommands in bold are
A795 User Guide: Programming SupplementChapter 4: Programming commands28Print and paper feedCode (hexadecimal) Command Page0A Print and feed paper one
A795 User Guide: Programming SupplementChapter 4: Programming commands29Text characteristicsCode (hexadecimal) Command Page12 Select double-wide chara
A795 User Guide: Programming SupplementContents3ContentsChapter 1: About this Supplement...
A795 User Guide: Programming SupplementChapter 4: Programming commands30GraphicsCode (hexadecimal) Command Page1B (+*.BMP file) Download BMP logo 631B
A795 User Guide: Programming SupplementChapter 4: Programming commands31StatusBatch modeCode (hexadecimal) Command Page1B 75 0 Transmit peripheral dev
A795 User Guide: Programming SupplementChapter 4: Programming commands32Bar codesCode (hexadecimal) Command Page1D 48 n Select printing position for H
A795 User Guide: Programming SupplementChapter 4: Programming commands33Page modeCode (hexadecimal) Command Page0C Print and return to standard mode 9
A795 User Guide: Programming SupplementChapter 4: Programming commands34User data storageCode (hexadecimal) Command Page1B 27 m a0 a1 a2 d1…dm Write t
A795 User Guide: Programming SupplementChapter 4: Programming commands35Command conventionsThe following information describes how each command is org
A795 User Guide: Programming SupplementChapter 4: Programming commands36Perform full knife cutASCII EM ESC iHexadecimal 19 1B 69Decimal 25 27 105Cuts
A795 User Guide: Programming SupplementChapter 4: Programming commands37Perform partial knife cutASCII SUB ESC mHexadecimal 1A 1B 6DDecimal 26 27 109P
A795 User Guide: Programming SupplementChapter 4: Programming commands38Select sensors to stop printingASCII ESC c 4 nHexadecimal 1B 63 34 nDecimal 27
A795 User Guide: Programming SupplementChapter 4: Programming commands39Enable or disable panel buttonASCII ESC c 5 nHexadecimal 1B 63 35 nDecimal 27
A795 User Guide: Programming SupplementContents4Chapter 4: Programming Commands ... 27Command
A795 User Guide: Programming SupplementChapter 4: Programming commands40Select cut mode and cut paperASCII GS V m GS V m nHexadecimal 1D 56 m 1D 56 m
A795 User Guide: Programming SupplementChapter 4: Programming commands41Set paper type (ColorPOS™)ASCII GS Ox81 m nHexadecimal 1D 81 m nDecimal 29 129
A795 User Guide: Programming SupplementChapter 4: Programming commands42Print test formASCII AX tHexadecimal 1F 74Decimal 31 116Prints the current pr
A795 User Guide: Programming SupplementChapter 4: Programming commands43Print and paper feedThe print and feed commands control printing on the receip
A795 User Guide: Programming SupplementChapter 4: Programming commands44Add n extra dot rowsASCII SYN nHexadecimal 16 nDecimal 22 nValue of n: Number
A795 User Guide: Programming SupplementChapter 4: Programming commands45Print and feed paperASCII ESC J nHexadecimal 1B 4A nDecimal 27 74 nValue of n:
A795 User Guide: Programming SupplementChapter 4: Programming commands46Vertical and horizontal positioningThe horizontal positioning commands control
A795 User Guide: Programming SupplementChapter 4: Programming commands47Set absolute starting positionASCII ESC $ nL nHHexadecimal 1B 24 nL nHDecimal
A795 User Guide: Programming SupplementChapter 4: Programming commands48Set vertical line spacingASCII ESC 3 nHexadecimal 1B 33 nDecimal 27 51 nValue
A795 User Guide: Programming SupplementChapter 4: Programming commands49Set relative print positionASCII ESC \ n1 n2Hexadecimal 1B 5C n1 n2Decimal 27
A795 User Guide: Programming SupplementContents5Vertical and horizontal positioning ...
A795 User Guide: Programming SupplementChapter 4: Programming commands50Select justificationASCII ESC a nHexadecimal 1B 61 nDecimal 27 97 nValue of n:
A795 User Guide: Programming SupplementChapter 4: Programming commands51Set printing area widthASCII GS W nL nHHexadecimal 1D 57 nL nHDecimal 29 87 nL
A795 User Guide: Programming SupplementChapter 4: Programming commands52Text characteristics commandsThese commands control what the printed informati
A795 User Guide: Programming SupplementChapter 4: Programming commands53Select pitch (column width)ASCII ESC SYN nHexadecimal 1B 16 nDecimal 27 22 nVa
A795 User Guide: Programming SupplementChapter 4: Programming commands54Select print modeASCII ESC ! nHexadecimal 1B 21 nDecimal 27 33 nValue of n: Pi
A795 User Guide: Programming SupplementChapter 4: Programming commands55Define user-defined character setASCII ESC & s c1 c2 n1 d1 ... nn dn]Hexad
A795 User Guide: Programming SupplementChapter 4: Programming commands56Copy character set from ROM to RAMASCII ESC : 0 0 0Hexadecimal 1B 3A 30 30 30D
A795 User Guide: Programming SupplementChapter 4: Programming commands57Select or cancel double strikeASCII ESC G nHexadecimal 1B 47 nDecimal 27 71 nV
A795 User Guide: Programming SupplementChapter 4: Programming commands58Select international character codeASCII ESC R nHexadecimal 1B 52 nDecimal 27
A795 User Guide: Programming SupplementChapter 4: Programming commands59Select international character setASCII: ESC t nHexadecimal: 1B 74 nDecimal: 2
A795 User Guide: Programming SupplementContents6Graphics ...
A795 User Guide: Programming SupplementChapter 4: Programming commands60Select character sizeASCII GS ! nHexadecimal 1D 21 nDecimal 29 33 nValue of n:
A795 User Guide: Programming SupplementChapter 4: Programming commands61Select or cancel white/black reverse print modeASCII GS B nHexadecimal 1D 42 n
A795 User Guide: Programming SupplementChapter 4: Programming commands62Text strike-through mode (ColorPOS™)ASCII GS 0x85 m nHexadecimal 1D 8D n mDeci
A795 User Guide: Programming SupplementChapter 4: Programming commands63GraphicsThese commands are used to enter and print graphics data and are descr
A795 User Guide: Programming SupplementChapter 4: Programming commands64Select bit image modeASCII ESC * m n1 n2 d1 ... dnHexadecimal 1B 2A m n1 n2 d1
A795 User Guide: Programming SupplementChapter 4: Programming commands65Print advanced raster graphicsASCII ESC . m n rL rH d1 … dnHexadecimal 1B 2E m
A795 User Guide: Programming SupplementChapter 4: Programming commands66Select double-density graphicsASCII ESC Y n1 n2 d1 ... dnHexadecimal 1B 59 n1
A795 User Guide: Programming SupplementChapter 4: Programming commands67Define downloaded bit imageASCII GS * n1 n2 d1 ... dn]Hexadecimal 1D 2A n1 n2
A795 User Guide: Programming SupplementChapter 4: Programming commands68Print downloaded bit imageASCII GS / mHexadecimal 1D 2F mDecimal 29 47 mValue
A795 User Guide: Programming SupplementChapter 4: Commands listed by hexadecimal code69Print raster color graphics (ColorPOS™)ASCII GS 0x83 n1…..n144
A795 User Guide: Programming SupplementContents7Bar codes ...
A795 User Guide: Programming SupplementChapter 4: Programming commands70Apply shading to logo (ColorPOS™)ASCII GS Ox8B n m oHexadecimal 1D 8B n m oDe
A795 User Guide: Programming SupplementChapter 4: Programming commands71Color shade mode (ColorPOS™)ASCII GS 0x87 mHexadecimal 1D 87 mDecimal 29 135 m
A795 User Guide: Programming SupplementChapter 4: Programming commands72Form and merge real time surround graphic (ColorPOS™)ASCII GS 0x90 m x y o p q
A795 User Guide: Programming SupplementChapter 4: Programming commands73Background logo print mode (ColorPOS™)ASCII GS 0x92 nHexadecimal 1D 92 nDecim
A795 User Guide: Programming SupplementChapter 4: Programming commands74StatusStatus command introductionThe A795 has three methods of providing statu
A795 User Guide: Programming SupplementChapter 4: Programming commands75Transmit peripheral device status (RS-232C printers only)ASCII ESC u 0Hexadeci
A795 User Guide: Programming SupplementChapter 4: Programming commands76Transmit paper sensor statusASCII ESC vHexadecimal 1B 76Decimal 27 118Values:S
A795 User Guide: Programming SupplementChapter 4: Programming commands77Transmit printer IDASCII GS I nHexadecimal 1D 49 nDecimal 29 73 nValue of n: 1
A795 User Guide: Programming SupplementChapter 4: Programming commands78Transmit printer ID, remote diagnostics extensionASCII GS I @ nHexadecimal 1D
A795 User Guide: Programming SupplementChapter 4: Programming commands79Value of nASCII Hex Dec Remote diagnostic item Functionå 86 134 Knife cut tall
A795 User Guide: Programming SupplementContents8Appendix A:Commands listed by hexadecimal code ...11
A795 User Guide: Programming SupplementChapter 4: Programming commands80Performs the remote diagnostic function specified by n.Eighteen remote diagnos
A795 User Guide: Programming SupplementChapter 4: Programming commands81Printer status (n = 1 or n = 49)Bit Off/On Hex Decimal Status for transmit sta
A795 User Guide: Programming SupplementChapter 4: Programming commands82Send printer software versionASCII AX VHexadecimal 1F 56Decimal 31 86The print
A795 User Guide: Programming SupplementChapter 4: Programming commands83Rules for using real time commandsThree situations must be understood when usi
A795 User Guide: Programming SupplementChapter 4: Programming commands84Real time status transmissionGS sequence DLE sequenceASCII GS EOT n DLE EOT nH
A795 User Guide: Programming SupplementChapter 4: Programming commands853 = Transmit error statusBit Status Hex Decimal Function0 Off 00 0 Fixed to of
A795 User Guide: Programming SupplementChapter 4: Programming commands86Real time printer status transmissionASCII GS ENQHexadecimal 1D 05Decimal 29 5
A795 User Guide: Programming SupplementChapter 4: Programming commands87Unsolicited status modeSelect or cancel unsolicited status mode (USM)ASCII: GS
A795 User Guide: Programming SupplementChapter 4: Programming commands88First Byte (Printer Information)Bit Off/On Hex Decimal Status for USM0 Off 00
A795 User Guide: Programming SupplementChapter 4: Programming commands89Recognizing data from the printerAn application sending various real time and
A795 User Guide: Programming SupplementChapter 1: About this Supplement9Chapter 1: About this SupplementHow to use this supplementThis is a supplement
A795 User Guide: Programming SupplementChapter 4: Programming commands90Bar codesThese commands format and print bar codes and are described in order
A795 User Guide: Programming SupplementChapter 4: Programming commands91Print bar codeFirst Variation Second VariationASCII GS k m d1…dk NUL GS k m n
A795 User Guide: Programming SupplementChapter 4: Programming commands92Second variation length of byte specified at beginning ofstring.The value of m
A795 User Guide: Programming SupplementChapter 4: Programming commands93Select PDF 417 parametersASCII GS p a b c d e fHexadecimal 1D 70 a b c d e fDe
A795 User Guide: Programming SupplementChapter 4: Programming commands94row 1row 2row 3row 4row 5row 6-----Start PatternLeft Row IndicatorCode wordsDa
A795 User Guide: Programming SupplementChapter 4: Programming commands95Page modePage mode is one of two modes that the A795 printer uses to operate.
A795 User Guide: Programming SupplementChapter 4: Programming commands96Select page modeASCII ESC LHexadecimal 1B 4CDecimal 27 76Switches from standar
A795 User Guide: Programming SupplementChapter 4: Programming commands97Select print direction in page modeASCII ESC T nHexadecimal 1B 54 nDecimal 27
A795 User Guide: Programming SupplementChapter 4: Programming commands98Set print area in page modeASCII ESC W n1, n2 ...n8Hexadecimal 1B 57 n1, n2 ..
A795 User Guide: Programming SupplementChapter 4: Programming commands99Set absolute vertical print position in page modeASCII GS $ nL nHHexadecimal 1
Comentarios a estos manuales