A799 Two-Color Thermal Receipt Printer Programming Guide Includes TPG LogoEZ® colorization information Made under one or more of the following U.S. patents: 4886381, 5579043, 5613787, 5651624, 5713678, 5752779, 5789916, 5800080, 5879090, 5887999, 5975776, 6027266, 6085973, 6089450, 6129465, 6155483, 6404452, 6486902, 6504331, 5749277, 6722754, 6739773, 6784909.
Changes or modifications to this unit not expressly approved by the party responsible for compliance could void the user’s authority to operate the equipment. Note This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment.
A799 Programming Guide Revision D 12/09 Contents Contents Chapter 1: About this Guide..................................................................9 How to use this guide..........................................................................9 Where to find the basics......................................................................9 Where to find advanced technical information.................................9 Support.............................................................................
A799 Programming Guide Revision D 12/09 Contents Chapter 4: Programming Commands.................................................29 Commands listed by function...........................................................29 Printer actions....................................................................................29 Print and paper feed .........................................................................29 Vertical and horizontal positioning .................................................
A799 Programming Guide Revision D 12/09 Contents Vertical and horizontal positioning..................................................45 Horizontal tab...................................................................................................... 45 Set horizontal and vertical minimum motion units............................... 45 Set column............................................................................................................ 45 Set absolute starting position.................
A799 Programming Guide Revision D 12/09 Contents Graphics..............................................................................................64 Download BMP logo......................................................................................... 64 Select bit image mode..................................................................................... 65 Print advanced raster graphics......................................................................
A799 Programming Guide Revision D 12/09 Contents Real time request to printer............................................................................ 93 Real time printer status transmission.......................................................... 94 Real time commands disabled...................................................................... 94 Unsolicited status mode....................................................................95 Select or cancel unsolicited status mode (USM)............
A799 Programming Guide Revision D 12/09 Contents Return microprocessor CRC..........................................................................117 Erase all flash contents except boot sector.............................................118 Return main program flash CRC..................................................................118 Erase selected flash sector............................................................................118 Download to active flash sector.........................
Chapter 1: About this Guide Revision D 12/09 9 Chapter 1: About this Guide How to use this guide This is a supplemental guide providing programming information on CognitiveTPG’s A799 printer. It is written for techsavvy users who are interested in customizing or adjusting printer functionality and is meant to be used in conjunction with the A799 Two-Color Thermal Receipt Printer: User Guide.
A799 Programming Guide Revision D 12/09 Chapter 1: About this Guide A799-PG00001D
Revision D 12/09 Chapter 2: Diagnostics and Configuration 11 Chapter 2: Diagnostics and Configuration The A799 printer performs a number of diagnostics that provide useful information about the operating status of the printer. The following diagnostic tests are available. • Start-up diagnostics Performed during the printer’s start-up cycle. • Runtime diagnostics Performed during normal printer operation. • Remote diagnostics Maintained during normal operation and reported in the print test.
Revision D 12/09 Chapter 2: Diagnostics and Configuration Runtime diagnostics Runtime diagnostics (sometimes called level 2 diagnostics) run during normal printer operation.
Revision D 12/09 Chapter 2: Diagnostics and Configuration Paper type can be changed in the configuration menu. Paper types and grades available: Type 0 - Monochrome grades Kanzaki P-310 Type 1 - Two-color grades Kanzaki P-310 RB (Red/Black) Type 4 - Two-color grades Kanzaki P-320 BB (Blue/Black) Type 5 - Two-color grades Kanzaki P-320 RB (Red/Black) See “printer configuration” section for more information.
Revision D 12/09 Chapter 2: Diagnostics and Configuration Indicators The printer communicates various conditions both visually, with the green LED or audibly, with a series of tones or beeps. The following table lists these indicators.
Revision D 12/09 Chapter 2: Diagnostics and Configuration 15 Printer configuration Printers are shipped with all the functions and parameters preset at the factory. Settings for various printer parameters can be changed. This menu is printed on the receipt and scrolls through instructions for selecting and changing any of the functions or parameters. Note: When changing the paper type you will either need to send the “Set paper type” (1D 81 mn) command or make a selection in the configuration menu.
Revision D 12/09 Chapter 2: Diagnostics and Configuration Configuring the printer The configuration menu allows you to select functions or change various settings for the printer. Instructions printed on the receipt guide you through the processes. Caution: Be extremely careful changing any of the printer settings to avoid changing other settings that might affect the performance of the printer.
Revision D 12/09 Chapter 2: Diagnostics and Configuration 17 Communication interface To change the communication interface settings, enter the configuration menu, select “Set Communication Interface” from the main menu and answer “Yes” to “SET INTERFACE TYPE?” printed on the receipt. Caution: Be extremely careful changing any of the printer settings to avoid inadvertently changing other settings that might affect the performance of the printer.
Revision D 12/09 Chapter 2: Diagnostics and Configuration Diagnostic modes To change the diagnostic modes enter the configuration menu, select “Set Diagnostic Modes” from the main menu and select one of the following modes: • Normal: normal operating mode of the printer. • Datascope: the receipt printer prints incoming commands and data in hexadecimal format to help troubleshoot communication problems. • Receipt test: the receipt printer prints two code pages to verify proper printing of the receipt.
Revision D 12/09 Chapter 2: Diagnostics and Configuration 19 Enable or disable receipt test mode The receipt test mode verifies proper receipt printing. Receipt test is enabled and disabled by selecting the “Diagnostic Modes” sub-menu of the configuration menu. See “Configuring the printer”, page 16 for instructions on how to enter the configuration menu. To run the receipt test mode: 1 Enable the receipt test mode in the configuration menu. 2 Exit the configuration menu. 3 Push the paper feed button.
Revision D 12/09 Chapter 2: Diagnostics and Configuration Printer settings and functions To change the printer settings and functions, enter the configuration menu, select the sub-menu from the main menu and answer the questions printed on the receipt until you come to the instructions for selecting the printer settings. Caution: Be extremely careful changing any of the printer settings to avoid inadvertently changing other settings that might affect the performance of the printer.
Revision D 12/09 Chapter 2: Diagnostics and Configuration 21 Select the hardware options sub-menu to set: • Printhead setting This setting is the printhead energy rating and must match the rating marked on the front right of the thermal mechanism in the printer. Whenever a new thermal mechanism is installed, this setting must match the indicated energy rating on the mechanism. (See A799 Service manual for replacing the thermal mechanism.
Revision D 12/09 Chapter 2: Diagnostics and Configuration A799-PG00001D
Revision D 12/09 Chapter 3: Programming the Printer 23 Chapter 3: Programming the Printer Overview of commands Commands control all operations and functions of the printer. This includes selecting the size and placement of characters and graphics on the receipt to feeding and cutting the paper. The programming commands have been organized, in order of hexadecimal code within functional groups. For this reason, “related” commands may not be listed adjacent to one another.
Chapter 3: Programming the Printer Revision D 12/09 Command Description Difference between previous product and new product emulation mode. 1B 4A n Print and feed paper This command uses n in terms of n/360 inches. Since the A793 had a fundamental step of 1/152 inch and the A799 has a fundamental step of 1/203 inch, the actual line spacing will not exactly match the requested spacing. 1B 59 n1 n2 d1...
Revision D 12/09 Chapter 3: Programming the Printer 25 TPG ColorPOS® two-color and color interpreted commands (continued) Hexadecimal ASCII Description 1D 8C n m GS 0x8C n m Merge watermark mode 1D 8D n m GS 0x8D n m Text strike through mode 1D 90 m x y o p q GS 0x8A m x y o p q Form and print real time surround graphic 1D 91 n GS 0x91 n Save graphics buffer as logo 1D 92 n GS 0x92 n Background logo print mode 1D 97 m n GS 0x87 m n User storage status 1D 99 l m n o US Apply margin
Chapter 3: Programming the Printer Revision D 12/09 Character appearance The appearance of text can be changed using the following print modes: • Standard • Rotated • Italic • Compressed • Underlined • Strike-through • Double-high • Bold • Scaled • Double-wide • Reverse • Shading • Upside-down Width specifications Standard Compressed • Characters per inch: 15.6 • Characters per inch: 20.
Revision D 12/09 Chapter 3: Programming the Printer 27 Print zones for 82.5mm paper Specifications of print zone for 82.5 mm paper: • 640 dots (addressable) @ 8 dots/mm, centered on 82.5mm • Standard mode: minimum margins: 1.0mm (0.040 inches) • Top margin to manual tear-off: 17.8mm (0.70 inches) • Top margin to knife cut: 19.0mm (0.75 inches) Rotated printing commands Three commands control the rotation of printing.
Chapter 3: Programming the Printer Revision D 12/09 Emulation modes The CognitiveTPG A799 printer may be operated in a number of different emulation modes. However, printing characteristics and defaults may differ, depending on the desired mode. For instance, two-color paper and ColorPOS® commands and features are available only in A799 native mode. Print setup in emulation modes Refer to the chart below for defaults and allowed printing options in each emulation mode.
Revision D 12/09 Chapter 4: Programming Commands 29 Chapter 4: Programming Commands Commands listed by function Printer actions Code (hexadecimal) Command Page 10 Clear printer 35 19 Perform full knife cut (or code 1B 69) 36 1A Perform partial knife cut (or code 1B 6D) 36 1B 07 Generate tone 36 1B 3D n Select peripheral device (for multi-drop) 36 1B 40 Initialize printer 37 1B 63 33 n Select paper sensors to output paper end signals (parallel only) 37 1B 63 34 n Select sensors to
Chapter 4: Programming Commands Revision D 12/09 Vertical and horizontal positioning Code (hexadecimal) Command Page 09 Horizontal tab 45 1B 14 n Set column 45 1B 24 nL nH Set absolute starting position 46 1B 32 Set vertical line spacing to 1/6 inch 46 1B 33 n Set vertical line spacing 47 1B 44 [n] k 00 Set horizontal tab positions 47 1B 5C n1 n2 Set relative print position 48 1B 61 n Select justification 49 1D 4C nL nH Set left margin 49 1D 50 x y Set horizontal and ver
Revision D 12/09 Chapter 4: Programming Commands 31 1D 8D n m Text strike-through mode 62 1D F0 01 n Select font ID number 62 1D F0 02 n Select font style number 62 1D F0 03 Save font ID number as default font at power up 63 1D F0 80 Download font 63 1D F0 C0 02 Download font list 63 1F 05 n Select supersctipt or subscript modes 63 1F 26 s c1 c2 Define extended user-defined character set 55 1F 69 n Select active user-defined character set 64 Graphics Code (hexadecimal) Command
Chapter 4: Programming Commands Revision D 12/09 1F 03 16 f s p/r t LogoEZ® colorization 77 1F 03 17 a m s LogoEZ® attribute mapping 79 1F 04 n Convert 6-dots/mm bitmap to 8 dots/mm bitmap 81 1F 7B n Enable constant speed logos 81 Status Batch mode Code (hexadecimal) Command Page 1B 75 0 Transmit peripheral device status (RS-232C printers only) 82 1B 75 n Request alternate status (A793 emulation only) 83 1B 76 Transmit paper sensor status 83 1D 49 n Transmit printer ID 84 1D
Revision D 12/09 Chapter 4: Programming Commands 33 1D 71 a b c d e f L f H Set GSI Databar (formerly RSS) parameters 103 1D 77 n Select bar code width 104 Page mode Code (hexadecimal) Command Page 0C Print and return to standard mode 105 18 Cancel print data in page mode 105 1B 0C Print data in page mode 105 1B 4C Select page mode 106 1B 53 Select standard mode 107 1B 54 n Select print direction in page mode 107 1B 57 n1, n2…n8 Set print area in page mode 108 1D 24 nL nH S
Chapter 4: Programming Commands Revision D 12/09 Flash download Code (hexadecimal) Command Page 1B 5B 7D Switch to flash download mode 116 1D 00 Return boot sector firmware part number 116 1D 01 Return segment number status of flash memory 117 1D 02 nn Select flash memory sector to download 117 1D 06 Get firmware CRC 117 1D 07 Return microprocessor CRC 117 1D 0E Erase all flash contents except boot sector 118 1D 0F Return main program flash CRC 118 1D 10 n Erase selected fl
Revision D 12/09 Chapter 4: Programming Commands Command conventions The following information describes how each command is organized: Name: Name of command. ASCII: The ASCII control code. Hexadecimal: The hexadecimal control code. Decimal: The decimal control code. Value: A description of the command operands. Range: The upper and lower limits of the command operand. Default: The command operand default after printer reset. Description: Brief description and summary of the command.
Chapter 4: Programming Commands Revision D 12/09 Perform full knife cut ASCII Hexadecimal Decimal EM 19 25 ESC i 1B 69 27 105 Cuts the receipt. There are two codes (Hex 19 or 1B 69) for this command and both perform the same function. Exceptions The full cut is replaced by a partial cut in the A793 emulation. ASCII EM, (0x19) is ignored in LEGACY emulation. Perform partial knife cut ASCII Hexadecimal Decimal SUB 1A 26 ESC m 1B 6D 27 109 Partially cuts the receipt.
Revision D 12/09 Chapter 4: Programming Commands 37 Initialize printer ASCII Hexadecimal Decimal ESC @ 1B 40 27 64 Default: Character pitch: Column width: Extra dot rows: Character set: Printing position: 15.6 CPI 44 characters 3 Code Page 437 Column One Clears the print line buffer and resets the printer to the default settings for the start-up configuration (refer to Default settings above).
Chapter 4: Programming Commands Revision D 12/09 Select sensors to stop printing ASCII Hexadecimal Decimal ESC c 4 n 1B 63 34 n 27 99 52 n Value of n: Sensor status Sensor Status Bit Sensor 0 1 0 Receipt paper near-end Disabled Enabled 1 Receipt paper near-end Disabled Enabled 2–4 Undefined 6 Undefined Bits 5 and 7 are not used. Default: 0 Determines which sensor stops printing on the respective station.
Revision D 12/09 Chapter 4: Programming Commands 39 Set current color ASCII Hexadecimal Decimal ESC r m 1B 72 m 27 114 m Default of m: 0 (monochrome) This command will set the current color to the color m for all character data that may follow this command and all graphic objects (bit images) that have not been explicitly loaded as two-color.
Chapter 4: Programming Commands Revision D 12/09 Set paper type (ColorPOS®) ASCII Hexadecimal Decimal GS 0x81 m n 1D 81 m n 29 129 m n Value of m: 0 = monochrome (black) paper 1 = two-color (red/black) papers 4 = two-color (blue/black) papers 5 = two-color (red/black) papers Default: 0 (monochrome paper) (Kanzaki P310) (Kanzaki P310RB) (Kanzaki P320BB) (Kanzaki P320RB) This command will set the optimum parameter values in the thermal print engine control hardware for defined monochro
Revision D 12/09 Chapter 4: Programming Commands Font and lines per inch (LPI) setup for different emulations Emulation Mode LPI Options Font(s) Options A799 native 6.00, 6.77, 7.52, 8.13 Standard Font Size Default LPI Default EDR Comments 13x24 7.52 3 Default setup for monochrome paper 13x27 6.77 3 Tall ColorPOS 13x27 6.77 3 A794, A793 emulation 6.00, 7.52, 8.13 Standard 13x24 7.52 3 LEGACY emulation 6.00 Tall 13x27 6.00 7 Standard 13x24 6.
Chapter 4: Programming Commands Revision D 12/09 Print and paper feed The print and feed commands control printing on the receipt and paper feed by the printer. Print and feed paper one line ASCII Hexadecimal Decimal LF 0A 10 Prints one line from the buffer and feeds paper one line. Carriage return/line feed pair prints and feeds only one line. Print and carriage return ASCII Hexadecimal Decimal CR 0D 13 Prints one line from the buffer and feeds paper one line.
Revision D 12/09 Chapter 4: Programming Commands Add n extra dot rows ASCII Hexadecimal Decimal SYN n 16 n 22 n Value of n: Number of extra dot rows Range of n: 0–16 Default: 3 extra dot rows Adds n extra dot rows (n/8 mm, n/203 inch) to the character height to increase space between print lines or decrease the number of lines per inch. Formulas The following table shows the relationship between the number of lines per inch and each extra dot row added: Extra rows Lines per inch Dot rows 0 8.
Chapter 4: Programming Commands Revision D 12/09 Print and feed paper ASCII Hexadecimal Decimal ESC J n 1B 4A n 27 74 n Value of n: n/203 inch in A799 native mode, A794 emulation and Application Compatible Escape Commands emulation mode; n/360 inch in A793 emulation mode Range of n: 0–255 Prints one line from the buffer and feeds the paper n/8 mm (n/203 inch). The line height equals the character height when n is too small.
Revision D 12/09 Chapter 4: Programming Commands 45 Vertical and horizontal positioning The horizontal positioning commands control the horizontal print positions of characters on the receipt. The commands describe operation for 80mm paper. If the printer supports 82.5mm paper, the dot spacing is the same but there are 640 printable dots rather than 576 printable dots on the 80mm paper.
Chapter 4: Programming Commands Revision D 12/09 Set absolute starting position ASCII Hexadecimal Decimal ESC $ nL nH 1B 24 nL nH 27 36 nL nH Value of n: n = Number of dots to be moved from the beginning of the line. nL = Remainder after dividing n by 256. nH = Integer after dividing n by 256. The values for nL and nH are two bytes in low byte, high byte word orientation. Sets the print starting position to the specified number of dots (up to the right margin) from the beginning of the line.
Revision D 12/09 Chapter 4: Programming Commands 47 Set vertical line spacing ASCII Hexadecimal Decimal ESC 3 n 1B 33 n 27 51 n Value of n: n/406 inch in A799 native mode, A794 emulation n/360 inch in A793 emulation mode n/203 inch in Application Compatible Escape Commands emulation mode Range of n: 0-255 Default: 3.37 mm (0.13 inch) Sets the line spacing to n/16 mm (n/406 inch). The minimum line spacing is 8.5 lines per inch. The line spacing equals the character height when n is too small.
Chapter 4: Programming Commands Revision D 12/09 Set relative print position ASCII Hexadecimal Decimal ESC \ n1 n2 1B 5C n1 n2 27 92 n1 n2 Value of n: To move the relative starting position right of the current position: n = Number of dots to be moved right of the current position n1 = Remainder after dividing n by 256 n2 = Integer after dividing n by 256 The values for n1 and n2 are two bytes in low byte, high byte word orientation.
Revision D 12/09 Chapter 4: Programming Commands 49 previous data. This behavior can be used to an application’s advantage to provide the ability to create compound characters on the receipt station. This command also functions differently in the A793 emulation when used in graphics: n x 2 = Number of dots to be moved from the beginning of the line when this command is followed by a graphic command.
Chapter 4: Programming Commands Revision D 12/09 Set printing area width ASCII Hexadecimal Decimal GS W nL nH 1D 57 nL nH 29 87 nL nH Range of nL: 0–255 Range of nH: 0–255 Default: 576 dots (the maximum printable area) ����������������������� ���� ������ ������������� ����� Sets the width of the printing area. If the setting exceeds the printable area, the maximum value of the printable area is used.
Revision D 12/09 Chapter 4: Programming Commands 51 Text characteristics commands These commands control what the printed information looks like, selection of character sets, definition of custom-defined characters, and setting of margins. The commands are described in order of their hexadecimal codes. The commands describe operation for 80mm paper. If the printer supports 82.5mm paper, the dot spacing is the same but there are 640 printable dots rather than 576 printable dots on 80mm paper.
Chapter 4: Programming Commands Revision D 12/09 Select pitch (column width) ASCII Hexadecimal Decimal ESC SYN n 1B 16 n 27 22 n Value of n: 0 = Standard pitch 1 = Compressed pitch Default: 0 (Standard pitch) Selects the character pitch for a print line. Formulas The following table provides the print characteristics for both pitches on the receipt station. Pitch Columns, 80mm Paper Columns, 82.5mm Paper CPI Standard 44 49 15.6 Compressed 56 64 20.
Revision D 12/09 Chapter 4: Programming Commands Select print mode ASCII Hexadecimal Decimal ESC ! n 1B 21 n 27 33 n Value of n: Pitch selection (standard, compressed, double high, or double wide.) Value of n Bit1 Function 0 1 Bit 0 Pitch2 (See chart below) Standard pitch Compressed pitch Bit 3 Emphasized mode Canceled Set Bit 4 Double-high Canceled Set Bit 5 Double-wide Canceled Set Bit 7 Underlined mode Canceled Set Bits 1, 2 and 6 are not used.
Chapter 4: Programming Commands Revision D 12/09 Select or cancel user-defined character set ASCII Hexadecimal Decimal ESC % n 1B 25 n 27 37 n Value of n: 0 = Code Page 437 1 = User Defined (RAM) 2 = Code Page 850 Range of n: 0–2 Default: 0 (Code Page 437) Selects the character set. When an undefined RAM character is selected, the current active ROM code page character is used. Look in Chapter 3: Programming the Printer, “Character appearance” for the character sets.
Revision D 12/09 Chapter 4: Programming Commands Define extended user-defined character set ASCII Hexadecimal Decimal US & s c1 c2 [character 1 data] ... [character k data] 1F 26 s c1 c2 [character 1 data] ... [character k data] 31 38 s c1 c2 [character 1 data] ...
Chapter 4: Programming Commands Revision D 12/09 Copy character set from ROM to RAM ASCII Hexadecimal Decimal ESC : 0 0 0 1B 3A 30 30 30 27 58 0 0 0 Default: Current active ROM code page Copies characters in the active ROM set to RAM. Use this command to re-initialize the user-defined character set. Code page 437 is copied by default at initialization. This command is ignored if current font is the user font.
Revision D 12/09 Chapter 4: Programming Commands Select or cancel double-strike ASCII Hexadecimal Decimal ESC G n 1B 47 n 27 71 n Value of n: 0 = Off 1 = On (When 0 and 1 are the least significant bit, LSB) Default: 0 (Off ) Turns double-strike mode on or off. Identical to emphasized mode. The printer is reset to the standard print mode after a clear printer (0x10) command is received. Exceptions Only the lowest bit of n is effective. The settings do not apply in page mode.
Chapter 4: Programming Commands Revision D 12/09 Select international character code ASCII Hexadecimal Decimal ESC R n 1B 52 n 27 82 n Value of n: A799 native mode A793 emulation Application Compatible Escape Command emulation (1B 52 n only) 0 = Code Page 437 0 = Code Page 437 0 = U.S.A. 1 = Code Page 850 Not 0 = Code Page 850 1 = France 2 = Code Page 852 2 = Germany 3 = Code Page 860 3 =-U.K.
Revision D 12/09 Chapter 4: Programming Commands 59 Select international character set ASCII: ESC t n Hexadecimal: 1B 74 n Decimal: 27 116 n Value of n: A799 native mode A793 emulation emulation 0 = Code Page 437 0 = Code Page 437.
Chapter 4: Programming Commands Revision D 12/09 Select character size ASCII Hexadecimal Decimal GS ! n 1D 21 n 29 33 n Value of n: 1–8 = vertical number of times active font 1–8 = horizontal number of times active font Range of n: 00–07, 10–17, ...70–77 Default of n: 11 hexadecimal Selects the character height using bits 0 to 2 and selects the character width using bits 4 to 6, as follows: With smoothing enabled, maximum value of 0 + n is 66.
Revision D 12/09 Chapter 4: Programming Commands 61 Turns on white/black reverse print mode. In white/black reverse print mode, print dots and non-print dots are reversed, which means that white characters are printed on a black background. When the white/black reverse print mode is selected it is also applied to character spacing which is set by right-side character spacing (1B 20).
Chapter 4: Programming Commands Revision D 12/09 Text strike-through mode (ColorPOS®) ASCII Hexadecimal Decimal GS 0x85 m n 1D 8D n m 29 141 n m Value of m: 0 = retain same color as the character itself 1 = black 2 = paper color Value of n: standard cell height Default: n = 0 (off ) Prints a strike-through over characters. If the strike-through is as wide as the cell height, this will produce a cell that will be printed as a solid current color.
Revision D 12/09 Chapter 4: Programming Commands 63 Save font ID number as default font at power up ASCII Hexadecimal Decimal GS 0xF0 0x03 1D F0 03 29 240 3 Save current font ID number as default font at power up. All characters will be printed from the downloaded font. Download font ASCII Hexadecimal Decimal GS 0xF0 0x80 followed by file 1D F0 80 29 240 128 This command is the sequence introducer for downloading existing files.
Chapter 4: Programming Commands Revision D 12/09 Select active user-defined character set Selects user-defined character set number for download or printing. The default at power on is 0. ASCII Hexadecimal Decimal US i n 1F 69 n 31 105 n n = 0 - 127 Set high order bit of n to configure user-defined character set number as the default. To configure the printer to print from the user-defined character set at power, send 1F 3 0F 01 and reset the printer.
Revision D 12/09 Chapter 4: Programming Commands 65 Select bit image mode ASCII Hexadecimal Decimal ESC * m n1 n2 d1 ... dn 1B 2A m n1 n2 d1 ... dn 27 42 m n1 n2 d1 ... dn Value of m: Value of m Mode No. of dots (vertical) No. of dots (horizontal) No.
Chapter 4: Programming Commands Revision D 12/09 Print advanced raster graphics ASCII Hexadecimal Decimal ESC .
Revision D 12/09 Chapter 4: Programming Commands 67 Select the current logo ASCII Hexadecimal Decimal GS # n 1D 23 n 29 35 n Range of n: 0 – 255 Default: 0 Selects a color or monochrome logo to be defined or printed. The active logo n remains in use until this command is sent again with a different logo n. When this command precedes a logo definition, that definition is stored in flash or RAM memory as logo n.
Chapter 4: Programming Commands Revision D 12/09 Define downloaded bit image ASCII Hexadecimal Decimal GS * n1 n2 d1 ... dn] 1D 2A n1 n2 d1 ... dn] 29 42 n1 n2 d1 ... dn] Value of n: Value of n1 Value of n2 Value of d 1–72 (8 x n1 = number of horizontal dot columns) 1–64 (number of vertical bytes) Bytes of data (printed down, then across) The number of bytes sent is represented by the following formula: n = 8 x n1 x n2 (n1 x n2 must be less than or equal to 4608).
Revision D 12/09 Chapter 4: Programming Commands 69 Print downloaded bit image ASCII Hexadecimal Decimal GS / m 1D 2F m 29 47 m Value and range of m: This command is used to print a previously stored monochrome or color logo from printer memory on the receipt station. The logo is identified as the one indicated by the most recent select current logo command or 0 if a select current logo command has not yet been given.
Chapter 4: Programming Commands Revision D 12/09 Print raster monochrome graphics (ColorPOS®) ASCII Hexadecimal Decimal GS 0x82 n1…..n72 (576 dots) for 80 mm paper, or n80 (640 dots) for 82.5 mm paper 1D 82 n1…..n72 (576 dots) for 80 mm paper, or n80 (640 dots) for 82.5 mm paper 29 130 n1…..n72 (576 dots) for 80 mm paper, or n80 (640 dots) for 82.5 mm paper ASCII Hexadecimal Decimal DC1 n1…..n72 (576 dots) for 80 mm paper, or n80 (640 dots) for 82.5 mm paper 11 n1…..
Revision D 12/09 Chapter 4: Programming Commands 71 Download logo image (ColorPOS®) ASCII GS 0x84 m n1 n2 d1…..dx , x = (n1 * n2*8 ) * m Hexadecimal 1D 84 m n1 n2 d1…..dx , x = (n1 * n2*8 ) * m Decimal 29 132 m n1 n2 d1…..dx , x = (n1 * n2*8 ) * m Value of m: 1 = monochrome 2 = two-color Max n1 = 576/8 for 80mm paper 640/8 for 82.5mm paper The latest value from the set current logo command will be the logo index to be used to store the downloaded graphic.
Chapter 4: Programming Commands Revision D 12/09 Apply shading to logo (ColorPOS®) ASCII Hexadecimal Decimal GS Ox8B n m o 1D 8B n m o 29 139 n m o This command will apply shading effect m to logo n and store it at index o, also extending width to full horizontal size if logo n is not at full paper width.
Revision D 12/09 Chapter 4: Programming Commands 73 Color shade mode (ColorPOS®) ASCII Hexadecimal Decimal GS 0x87 m 1D 87 m 29 135 m This applies a mixing of color into any monochrome objects such as text and monochrome logos. Rather than fading away, this mode transitions a character or logo from the current color in which it would normally be printed to the other color. The parameter m specifies the shading effect and has an initial value of 0 which signifies no effect.
Chapter 4: Programming Commands Revision D 12/09 The geometric location points for this graphic are defined by a rectangular area start position of x bytes from the left edge and y bytes from the top of the new line and times o bytes wide times p bytes in length. For the case of m =3 (star), the value passed for o is also used as the implicit p value (passed value is ignored), i.e. a square area. The thickness of the graphic is defined by q dots. This will form a bit image in a RAM graphics buffer.
Revision D 12/09 Chapter 4: Programming Commands 75 Apply margin message mode (ColorPOS®) ASCII Hexadecimal: Decimal: GS 0x99 l m n o 1D 99 l m n o 29 155 l m n o Value of l: l is a binary switch: l=0 l=1 l=2 l>2 disables margin message merging enable left margin message merging enable right margin message merging ignore command Value of m: m is the ID (index) of the logo to be used in the merging.
Chapter 4: Programming Commands Revision D 12/09 Logo print with knife cut ASCII Hexadecimal Decimal GS 0x9B m n 1D 9B m n 29 155 m n Values of m: 0 = Standard size 1 = Double wide 2 = Double high 3 = Double high/wide Value of n: 01 - FF (Hex) # dot rows = n x 24 n = 5 is the recommended setting Because the printhead and cutting knife are physically separated, it is necessary to advance the printed area of a receipt past the knife to avoid the last of the printing from being cut off.
Revision D 12/09 Chapter 4: Programming Commands 77 Set LogoEZ® colorization ASCII Hexadecimal Decimal US ETX SYN f s p/t t 1F 03 16 f s p/t t 31 03 22 f s p/t t Value of f: 0= 1= 2= 3= 4= turn off all LogoEZ® colorization features link print logo after knife cut link watermark printing link margin message printing link logo print before cut Default: (Off ) 0 This command configures into EEPROM (permanent configuration switch setting) a set of features that allows placement of a color logo in t
Chapter 4: Programming Commands Revision D 12/09 f = 2 link watermark printing Example: Activate watermark printing using logo #F1 (1F 03 16 02 s r) with “s” being the skip distance in dot rows before activation and “r” is the distance in mm between watermark repetitions.
Revision D 12/09 Chapter 4: Programming Commands 79 f = 4 link logo print before cut p). Prints a logo after the skip distance of “s” before a logo and “p” past a logo and performs a knife cut (1F 03 16 04 s Immediately before executing a knife-cut command, if s > 0, execute the following: • skip (feed paper) “s” dot rows (15 s command) • stop background merging (1D 9B 1 command).
Chapter 4: Programming Commands Revision D 12/09 A word (2 bytes) is used to identify the attribute mapping, with “m” bits 0 – 6 identifying which original attributes should be mapped: Original attribute mapped table m bit on attribute mapped 0 Bold 1 Italic 2 Reverse 3 Underline 4 Double high 5 Double wide 6 Compressed print The following “s” bits and “m” bit 7 set the attributes that substitute for the mapped set: Attributes substituted table m bit on attributes substituted 7 Bold
Revision D 12/09 Chapter 4: Programming Commands 81 Related information This command is utilized in the TPG LogoEZ® utility. The utility can be used to pre-configure new printers with a default colorization setup without requiring any application changes. The default setup was designed to provide a general level of colorization features that would not affect the printer operation. You can expand beyond the default features of the utility by modifying the application at the host.
Chapter 4: Programming Commands Revision D 12/09 Status Status command introduction The A799 has three methods of providing status to the application. These methods are through batch status commands, real time status commands and unsolicited status mode. An application may use one or more of these methods to understand the current status of the printer. A brief description of each of these methods follows.
Revision D 12/09 Chapter 4: Programming Commands Request alternate status (A793 emulation only) ASCII Hexadecimal Decimal ESC u n 1B 75 n 27 117 n Value and Range of n: Value of n Function Description 00 Drawer 1 High = Open Low = Closed or Not Present 01 Drawer 2 High = Open Low = Closed or Not Present 02 High = Paper Out Low = Paper Present Paper Low (Not Implemented. Interpreted as Paper Out.
Chapter 4: Programming Commands Revision D 12/09 Transmit printer ID ASCII Hexadecimal Decimal GS I n 1D 49 n 29 73 n Value of n: 1, 49 = Printer model ID 2, 50 = Type ID 3, 51 = ROM version ID 4, 52 = Logo Definition Transmits the printer ID specified by n as follows: n Printer ID Specification ID (Hexadecimal) 1, 49 Printer model ID A799 0x24 2, 50 Type ID Installed options Refer to below 3, 51 ROM version ID ROM version 0x00 4, 52 Logo definition Logo definition Refer to next
Revision D 12/09 Chapter 4: Programming Commands 85 Transmit printer ID, remote diagnostics extension ASCII Hexadecimal Decimal GS I @ n 1D 49 40 n 29 73 64 n Values of n: Refer to table Range of n: 32–255 (not all defined, but reserved) Eighteen remote diagnostic items are defined in the following table: eight printer ID items and ten printer tally items. A group of four remote diagnostic functions is assigned to each diagnostic item.
Chapter 4: Programming Commands Revision D 12/09 Value of n (continued) ASCII Hex Dec Remote diagnostic item Function å 86 134 Knife cut tally Clear knife cut tally to 0 ç 87 135 Knife cut tally Return knife cut tally, returns 10 bytes É 90 144 Hours on tally, 8 digit ASCII numeric, Write to NVRAM max 99,999,999 æ 91 145 Hours on tally Write to NVRAM, and print on receipt to verify Æ 92 146 Hours on tally Clear Hours on tally to 0 ô 93 147 Hours on tally Return hou
Revision D 12/09 Chapter 4: Programming Commands 87 Transmit status ASCII Hexadecimal Decimal GS r n 1D 72 n 29 114 n Value of n: 1, 49 = printer status 2, 50 = cash drawer status 4, 52 = Flash memory user sector status Transmits the status specified by n. This is a batch mode command which transmits the response after all prior data in the receive buffer has been processed.
Chapter 4: Programming Commands Revision D 12/09 Cash drawer status (n = 2 or n = 50) Bit Off/On Hex Decimal Status for transmit status 0 Off 00 0 On 01 1 One or both cash drawers open. Both cash drawers closed. 1 Off 00 0 On 02 2 One or both cash drawers open. Both cash drawers closed. 2 – – – Undefined 3 – – – Undefined 4 Off 00 0 Not used. Fixed to off. 5 – – – Undefined. 6 – – – Undefined. 7 Off 00 0 Not used. Fixed to off.
Revision D 12/09 Chapter 4: Programming Commands 89 Real time commands The real time commands provide an application interface to the printer even when the printer is not handling other commands (RS-232C communication interface only): • Real time status transmission: GS (Hex 1D) sequence and DLE (Hex 10) sequence • Real time request to printer: GS (Hex 1D) sequence and DLE (Hex 10) sequence • Real time printer status transmission The batch mode printer status commands are placed in the printer’s data buf
Chapter 4: Programming Commands Revision D 12/09 Moving data through the buffer Applications should not let the buffer fill up with real time commands when the printer is busy at the RS-232C interface. A busy condition at the RS-232C interface can be determined by bit 3 of the response to 1D 05, or 1D 04 1, or 10 04 1. The reason for a particular busy condition can be determined by other responses to 1D 04 n or 10 04 n.
Revision D 12/09 Chapter 4: Programming Commands 91 Exceptions The command is ignored if n is out of range. An application using DLE (0x10) sequence must send EOT within 100 milliseconds of DLE or the printer will misinterpret the DLE and execute a clear printer command. Avoid this possibility by using the ID 04 n sequence, which is handled exactly the same as 10 04 n.
Chapter 4: Programming Commands Revision D 12/09 3 = Transmit error status Bit Status Hex Decimal Function 0 Off 00 0 Fixed to off. 1 On 02 2 Fixed to on. 2 Off 00 0 Fixed to off. 3 Off On 00 08 0 8 No knife error. Knife error occurred. 4 On 10 16 Fixed to on. 5 Off On 00 20 0 32 No unrecoverable error. Unrecoverable error occurred. 6 Off On 00 40 0 64 Thermal printhead temp. and power supply voltage are in range. Thermal print head temp.
Revision D 12/09 Chapter 4: Programming Commands 93 Real time request to printer GS sequence DLE sequence ASCII Hexadecimal GS ETX n 1D 03 n 29 3 n DLE ENQ n 10 05 n 16 5 n Value of n: 1 = recover and restart 2 = recover and clear buffers The printer responds to a request from the host specified by n. This command includes two sequences: GS and DLE. The operations performed depend on the value of n, according to the following parameters.
Chapter 4: Programming Commands Revision D 12/09 Real time printer status transmission ASCII Hexadecimal Decimal GS ENQ 1D 05 29 5 Transmits one byte status of the printer in real time. Value of byte: Bit Status Hex Decimal Function 0 Off On 00 01 0 1 Paper adequate. Paper low (if paper low sensor enabled). 1 Off On 00 02 0 2 Paper adequate. Paper low (if paper low sensor enabled). 2 Off On 00 04 0 4 Cover closed. Cover open. 3 Off On 00 08 0 8 Not busy at the RS-232C interface.
Revision D 12/09 Chapter 4: Programming Commands 95 Unsolicited status mode Select or cancel unsolicited status mode (USM) ASCII: GS a n Hexadecimal: 1D 61 n Decimal: 29 97 n Value of n: 0 turns mode off; any non-zero value turns mode on Default: 0 (USM disabled) Enables or disables automatic return of 4 status bytes whenever one or more of the listed changes occurs. This command is a batch mode command; that is, it is processed after all prior data in the input buffer has been processed.
Chapter 4: Programming Commands Revision D 12/09 First Byte (Printer Information) Bit Off/On Hex Decimal Status for USM 0 Off 00 0 Not used. Fixed to off. 1 Off 00 0 Not used. Fixed to off. 2 Off On 00 04 0 4 One or both cash drawers open. Both cash drawers closed. 3 Off On 00 08 0 8 Not busy at the RS232C interface. Printer is busy at the RS232C interface. 4 On 10 16 Not used. Fixed to on. 5 Off On 00 20 0 32 Receipt cover closed. Receipt cover open.
Revision D 12/09 Chapter 4: Programming Commands Third byte (paper sensor information) Bit Off/On Hex Decimal Status for USM 0 Off On 00 01 0 1 Receipt paper adequate Receipt paper low (if paper low sensor enabled) 1 Off On 00 02 0 2 Receipt paper present Receipt paper low (if paper low sensor enabled) 2 Off On 00 04 0 4 Receipt paper present. Receipt paper exhausted. 3 Off On 00 08 0 8 Receipt paper present. Receipt paper exhausted. 4 Off 00 0 Not used. Fixed to off.
Chapter 4: Programming Commands Revision D 12/09 Recognizing data from the printer An application sending various real time and non-real time commands to which the printer responds can determine which command a response belongs to by the table below. Responses to transmit peripheral device status (1B 75) and transmit paper sensor status (1B 76) are non-real time responses and will arrive in the order in which they were solicited.
Revision D 12/09 Chapter 4: Programming Commands 99 Select pitch of HRI characters ASCII Hexadecimal Decimal GS f n 1D 66 n 29 102 n Value of n: 0 = Standard Pitch at 15 CPI 1 = Compressed Pitch at 20 CPI Default: 0 (Standard Pitch at 15 CPI) Selects standard and compressed font for printing bar code characters. Select bar code height ASCII Hexadecimal Decimal GS h n 1D 68 n 29 104 n Value of n: Number of dots Range of n: 1–255 Default: 216 Sets the bar code height to (n/154 inch).
Chapter 4: Programming Commands Revision D 12/09 Values: First variation: String terminated with NUL character. Length k is not specified in command string; it depends on the bar code being printed. m Bar code d1...
Revision D 12/09 Chapter 4: Programming Commands 101 Print multiple barcodes ASCII Hexadecimal Decimal GS k 1D 6B FF n 29 108 255 All the individual barcode strings start with 1D 6B m, where m is the type of barcode. Use the same command to do multiple barcodes on one line.
Chapter 4: Programming Commands Revision D 12/09 Print GS1 DataBar (formerly RSS), null terminated ASCII Hexadecimal Decimal GS k n d1... 00 1D 6B n d1... 00 29 107 n d1...
Revision D 12/09 Chapter 4: Programming Commands 103 Set GS1 DataBar (formerly RSS) parameters Setting of parameters for GS! DataBar ASCII Hexadecimal Decimal GS q a b c d e fL fH 1D 71 a b c d e fL fH 29 113 a b c d e fL fH pixels per minimum unit, default 3, minimum 2, maximum 6 (value a applies to parameters b, c, d) b byte X undercut, default 0, can be set 0 to a-1 c byte Y undercut, default 0, can be set 0 to a-1 d byte separator height, default a, can be set a to a*2 a byte e byte
Chapter 4: Programming Commands Revision D 12/09 Sample symbol description: Each PDF 417 symbol consists of 3 to 90 stacked rows surrounded on all four sides by a quiet zone.
Revision D 12/09 Chapter 4: Programming Commands 105 Page mode Page mode is one of two modes that the A799 printer uses to operate. Standard mode is typical of how most printers operate by printing data as it is received and feeding paper as the various paper feed commands are received. Page mode is different in that it processes or prepares the data as a “page” in memory before it prints it. Think of this as a virtual page. The page can be any area within certain parameters that you define.
Chapter 4: Programming Commands Revision D 12/09 Select page mode ASCII Hexadecimal Decimal ESC L 1B 4C 27 76 Switches from standard mode to page mode. After printing has been completed either by the print and return to standard mode (FF) command or select standard mode (1B 53) the printer returns to standard mode. The developed data is deleted after being printed. For more information see page mode in this document.
Revision D 12/09 Chapter 4: Programming Commands 107 Select standard mode ASCII Hexadecimal Decimal ESC S 1B 53 27 83 Switches from page mode to standard mode. In switching from page mode to standard mode, data buffered in page mode are cleared, the printing area set by set print area in page mode (1B 57) is initialized and the print position is set to the beginning of the line.
Chapter 4: Programming Commands Revision D 12/09 Set print area in page mode ASCII Hexadecimal Decimal ESC W n1, n2 ...n8 1B 57 n1, n2 ...n8 27 87 n1, n2 ...n8 Range of n: 0-255 Default: n1-4 = n5 = n6 = n7 = n8 = �� �������� �� 0 64 2 64 2 ���������� ������������������ Sets the position and size of the printing area in page mode.
Revision D 12/09 Chapter 4: Programming Commands 109 Set absolute vertical print position in page mode ASCII Hexadecimal Decimal GS $ nL nH 1D 24 nL nH 29 36 nL nH Sets the absolute vertical print starting position for buffer character data in page mode. The absolute print position is set to [(nL + nH X 256) x (vertical or horizontal motion unit)] inches. The vertical or horizontal motion unit for the paper roll is used and the horizontal starting buffer position does not move.
Chapter 4: Programming Commands Revision D 12/09 Macros These commands are used to select and perform a user-defined sequence of printer operations. Select or cancel macro definition ASCII Hexadecimal Decimal GS : 1D 3A 29 58 Starts or ends macro definition. Macro definition begins when this command is received during normal operation and ends when this command is received during macro definition.
Revision D 12/09 Chapter 4: Programming Commands User data storage Write to user data storage ASCII Hexadecimal Decimal ESC ‘ m a0 a1 a2 d1 ... dm 1B 27 m a0 a1 a2 d1 ... dm 27 39 m a0 a1 a2 d1 ... dm Value of m: 0 – 255 Writes m bytes of data to the user data storage flash page at the address specified. The printer waits for m bytes of data following the 3-byte address, addr. If any of the memory locations addressed by this command are not currently erased, the command is not executed.
Revision D 12/09 Chapter 4: Programming Commands Select memory type (SRAM/flash) where to save logos or user-defined fonts ASCII Hexadecimal Decimal GS “ n 1D 22 n 29 34 n Value of n: 48 – 53 n = 48 (ASCII n = 0) HEX 30 Loads active logo to RAM only. This is used to print a special logo but not have it take up flash memory. A logo defined following this command is not preserved over a power cycle. The printer disables interrupts while writing to flash.
Revision D 12/09 Chapter 4: Programming Commands 113 Expanded flash memory allocation ASCII Hexadecimal Decimal GS “ 0x80 1D 22 80 29 34 128 This sequence of commands is used to specify the number of flash sectors to be used for different applications. The begin and end sequence commands must be sent. All areas do not need to have flash sectors specified. The command to request the number of user sectors is optional.
Chapter 4: Programming Commands Revision D 12/09 Select flash area for storing logos and user-defined characters ASCII Hexadecimal Decimal GS” 0x81 1D 22 81 n 29 34 129 n Value of n: n specifies n=0 select logo/font flash n=1 select permanent font flash n>1 reserved Logos and user-defined characters can be stored in either flash area.
Revision D 12/09 Chapter 4: Programming Commands 115 User storage status (ColorPOS®) ASCII Hexadecimal Decimal GS 0x97 m n 1D 97 m n 29 151 m n Value of m: m specifies the type of stored object to be reported: m=0 return the kilobytes (1024) of free user RAM, n = 0 gets largest free block size n = 1 gets the total size free m=1 return the kilobytes of free character & logo flash memory, n = 0 m=3 return the CRC of a logo indexed by n m=5 return the CRC of a macro that has been stored, n = 0 F
Chapter 4: Programming Commands Revision D 12/09 Flash download These commands are used to load firmware into the printer. The commands are listed in numerical order according to their hexadecimal codes. Each command is described and the hexadecimal, decimal, and ASCII codes are listed. There are three ways to enter the download mode. 1. Powering the printer up with DIP Switch 1 down. 2.
Revision D 12/09 Chapter 4: Programming Commands 117 Return segment number status of flash memory ASCII Hexadecimal Decimal GS SOH 1D 01 29 1 Returns the size of the flash used. There may be 16 (1 Meg) or 32 (2 Meg) sectors in flash memory. This command assures that the firmware to be downloaded is the appropriate size for flash memory. The value returned is the maximum sector number that can be accepted by the select sector to download (1D 02 nn) command. Exceptions Available only in download mode.
Chapter 4: Programming Commands Revision D 12/09 Erase all flash contents except boot sector ASCII Hexadecimal Decimal GS SO 1D 0E 29 14 Causes the entire flash memory to be erased. The printer returns ACK if the command is successful; NAK if it is unsuccessful. Exceptions Available only in download mode. Return main program flash CRC ASCII Hexadecimal Decimal GS SI 1D 0F 29 15 Returns the CRC calculated over the flash firmware code space.
Revision D 12/09 Chapter 4: Programming Commands 119 communications failed or that the write to flash failed. The alternatives seem to be to retry the block or halt loading and assume a hardware failure. Related information Available only in download mode. Reset firmware ASCII Hexadecimal Decimal GS (SPACE) 1D FF 29 255 Ends the load process and reboots the printer. Before executing this command, the printer should have firmware loaded and external switches set to the runtime settings.
Chapter 4: Programming Commands Revision D 12/09 Setting the Gateway ASCII Hexadecimal Decimal Default: US BS ETX n1 n2 n3 n4 1F 08 03 n1 n2 n3 n4 31 8 3 n1 n2 n3 n4 none Sets the printer to the gateway having the IP address value specified by the values n1 to n4. A gateway, even when the printer is on another subnet, is not always needed. The printer initiates no connection and obtains the gateway address from the host packets.
Revision D 12/09 Chapter 4: Programming Commands DHCP (auto-configuration) ASCII Hexadecimal Decimal US BS BS n1 1F 08 08 n1 31 8 8 n1 n1 = 0: n1 = 1: disabled enabled Default: enabled Enables or disables the use of DHCP at power-up to obtain an IP address. If no address is found within two minutes, DHCP obtains the default IP address.
Chapter 4: Programming Commands Revision D 12/09 A799-PG00001D
Appendix A: Commands by Hexadecimal Code Revision D 12/09 123 Appendix A: Commands listed by hexadecimal code By command code Code (hexadecimal) Command Page 09 Horizontal tab 45 0A Print and feed paper one line 42 0C Print and return to standard mode 0D Print and carriage return 42 10 Clear printer 35 10 04 n Real time status transmission (DLE sequence) 90 10 05 n Real time request to printer (DLE sequence) 93 11 n1 . . .
Revision D 12/09 Appendix A: Commands by Hexadecimal Code Code (hexadecimal) Command Page 1B 33 n Set vertical line spacing 1B 34 m a0 a1 a2 Read from user data storage 1B 3A 30 30 30 Copy character set from ROM to RAM 56 1B 3D n Select peripheral device (for multi-drop) 36 1B 3F n Cancel user-defined character 56 1B 40 Initialize printer 37 1B 44 [n] k 00 Set horizontal tab positions 47 1B 45 n Select or cancel emphasized mode 56 1B 47 n Select or cancel double-strike 57
Appendix A: Commands by Hexadecimal Code Revision D 12/09 125 Code (hexadecimal) Command Page 1C 70 m n Print flash logo 71 1C 71 n ...
Revision D 12/09 Appendix A: Commands by Hexadecimal Code Code (hexadecimal) Command Page 1D 68 n Select bar code height 99 1D 6B m d1...dk 00 or 1D 6B m n d1...dn Print bar code 99 Print bar code 99 1D 6B n d1... 00 Print GS1 Databar (RSS barcode), null terminated 102 1D 6B m nL nH d1...
Appendix A: Commands by Hexadecimal Code Revision D 12/09 127 Code (hexadecimal) Command 1F 03 17 a m s LogoEZ attribute mapping 79 1F 04 n Convert 6-dots/mm bitmap to 8-dots/mm bitmap 81 1F 05 n Select superscript or subscript modes 63 1F 08 00 Restore default settings 119 1F 08 01 n1 n2 n3 n4 Set IP address 119 1F 08 02 n1 n2 n3 n4 Set net mask 119 1F 08 03 n1 n2 n3 n4 Set gateway 120 1F 08 04 n1 n2 n3 n4 Set raw TCPIP port 120 1F 08 05 n1 LP Daemon 120 1F 08 06 n1 T
Appendix B: Resident Character Sets Revision D 12/09 A799-PG00001D
Revision D 12/09 Appendix B: Resident Character Sets Appendix B: Resident Character Sets Character sets Code page 437 (US) A799-PG00001D 129
Appendix B: Resident Character Sets Revision D 12/09 Code page 737 (Greek) A799-PG00001D
Revision D 12/09 Appendix B: Resident Character Sets Code page 850 (Multilingual) A799-PG00001D 131
Appendix B: Resident Character Sets Revision D 12/09 Code page 852 (Slavic) A799-PG00001D
Revision D 12/09 Appendix B: Resident Character Sets Code page 857 (Turkish) A799-PG00001D 133
Appendix B: Resident Character Sets Revision D 12/09 Code page 858 (with Eurosymbol) A799-PG00001D
Revision D 12/09 Appendix B: Resident Character Sets Code page 860 (Portuguese) A799-PG00001D 135
Appendix B: Resident Character Sets Revision D 12/09 Code page 862 (Hebrew) A799-PG00001D
Revision D 12/09 Appendix B: Resident Character Sets Code page 863 (French Canadian) A799-PG00001D 137
Appendix B: Resident Character Sets Revision D 12/09 Code page 865 (Nordic) A799-PG00001D
Revision D 12/09 Appendix B: Resident Character Sets Code page 866 (Cyrillic) A799-PG00001D 139
Appendix B: Resident Character Sets Revision D 12/09 Code page 1252 (Windows Latin 1) A799-PG00001D
A799 Two-Color Thermal Receipt Printer: Programmer Guide A799-PG00001 Rev.