Page 3 - Legal Notices
March 1999 i Legal Notices Disclaimer Information in this document is subject to change without notice. Consult your Axiohm salesrepresentative for information that is applicable and current. Axiohm reserves the right toimprove products as new technology, components, software, and firmware become av...
Page 5 - Contents
A794 Owner’s Guide Contents March 1999 iii Contents Chapter 1: About the Printer .............................................................. 1 Description of Printer .................................................................... 2Models Available ...............................................
Page 7 - Chapter 1: About the Printer; Description of Printer; Model Identification; Installations; On a Flat Surface; Features
Chapter 1: About the Printer ♦ Description of Printer ♦ Models Available Model Identification Communication Interfaces ♦ Installations On a Flat Surface On a Wall On a Flat Surface Vertically ♦ Features ♦ Options
Page 9 - Models Available; A 7 9 4 - X X X X; Communication Interfaces
A794 Owner’s Guide Chapter 1: About the Printer March 1999 3 Models Available There are several models of the printer depending on the communication interface andthe combination of options selected. Model Identification See the illustration for the features designated by the printer ID number. A794 ...
Page 12 - Options
Chapter 1: About the Printer A794 Owner’s Guide March 1999 6 Options ♦ Knife (Cutter) ♦ Wall Mount ♦ Power Supply: 55 Watt/75 Watt ♦ Power Cords: US, SEV, UK AC Cord, and Australia AC Cord ♦ 1MB memory ♦ Paper Low Sensor ♦ Paper Width ♦ 82.5 mm ♦ 80 mm ♦ Interface Boards ♦ RS 232C ♦ IEEE Bi-Directio...
Page 13 - Chapter 2: Using the Printer; Printer Controls
Chapter 2: Using the Printer ♦ Printer Controls ♦ Changing Paper ♦ Testing the Printer
Page 14 - Reset Button
Chapter 2: Using the Printer A794 Owner’s Guide March 1999 8 Printer Controls Paper FeedButton LED (Green) ResetButton Reset Button Use the Reset Button to reset the printer in case of a jam or fault condition. When theReset Button is pressed, the printer goes through a startup routine as if it had ...
Page 15 - Tone
A794 Owner’s Guide Chapter 2: Using the Printer March 1999 9 Tone A single beep indicates the printer has successfully completed its startup routine (afterhaving been reset or the power supply turned on). If the printer beeps twice, a problem may be indicated. For more information about See these se...
Page 16 - Changing Paper
Chapter 2: Using the Printer A794 Owner’s Guide March 1999 10 Changing Paper Change the paper when either of the following conditions occurs: ♦ Colored stripe appears on the receipt paper indicating the paper is low Change the paper as soon as possible to avoid running out of paper part waythrough a...
Page 18 - Caution
Chapter 2: Using the Printer A794 Owner’s Guide March 1999 12 4. Place the new roll into the paper bucket with a few inches of paper extending overthe cabinet front (or top, if printer is mounted vertically). Caution : Be sure the paper unrolls from the bottom of the roll. Otherwise, the printer wil...
Page 19 - Testing the Printer
A794 Owner’s Guide Chapter 2: Using the Printer March 1999 13 Testing the Printer Run this test to check the printer. The test prints the settings for several functions, andpartially cuts the paper between each variation. The printouts may vary depending on the model. The test ends with a partial cu...
Page 21 - Troubleshooting the Printer; Printer Tone and Green LED
A794 Owner’s Guide Chapter 2: Using the Printer March 1999 15 Troubleshooting the Printer The printer is simple and generally trouble-free, but from time to time minor problemsmay occur. Follow these procedures to determine the cause and resolution of anyproblems the printer may be having. If the pr...
Page 22 - Printing Problems; Printer Does Not Work
Chapter 2: Using the Printer A794 Owner’s Guide March 1999 16 Printing Problems Problem Possible Causes What to Do Where to Go Colored stripe on thereceipt. Paper is low. Change the paper. A794 Owner’s Guide Receipt does not comeout all the way. Paper is jammed. Open the receipt cover,inspect the kn...
Page 23 - Chapter 3: Media and Supplies Guide; Ordering Thermal Paper
Chapter 3: Media and Supplies Guide ♦ Ordering Thermal Paper Thermal Paper Specifications Manufacturers How to Order ♦ Ordering Miscellaneous Supplies Ordering Cash Drawers Ordering Power Supply and Power Cord Ordering Communication Cables Wall-Mount Kit
Page 24 - Thermal Paper Specifications; How to Order
Chapter 3: Media and Supplies Guide A794 Owner’s Guide March 1999 18 Ordering Thermal Paper Thermal Paper Specifications The printer requires qualified thermal paper with the following dimensions: Width Diameter Length 80 mm ± .2 mm (3.15 in. ± .02 in.) 90 mm max. (3.27 in.) 322 ft. nominal. 82.5 mm...
Page 25 - Ordering Miscellaneous Supplies; Ordering Cash Drawers; Ordering Power Supply and Power Cord
A794 Owner’s Guide Chapter 3: Media and Supplies Guide March 1999 19 Ordering Miscellaneous Supplies Ordering Cash Drawers Order cash drawers from the following suppliers: Cash Drawers Number NCR 7052-K657 M-S Cash Drawer Corp. EP-125 K series, EP-127, EP-102 APG Cash Drawer Model 322 Indiana Cash D...
Page 26 - Ordering Communication Cables
Chapter 3: Media and Supplies Guide A794 Owner’s Guide March 1999 20 Ordering Communication Cables Contact your sales representative to order the communication cables listed in the table.The numbers are for reference only. Suppliers may use other numbers. Communication Cables Length Order Number RS-...
Page 27 - Chapter 4: Print Specifications; Characters; Print Modes; Paper Specifications; Print Zones for 80 mm Paper; Character Sets
Chapter 4: Print Specifications ♦ Characters Print Modes Size ♦ Paper Specifications ♦ Print Zones Print Zones for 80 mm Paper Print Zones for 82.5 mm Paper ♦ Character Sets Code Page 437 Code Page 850 Code Page 852 Code Page 858 Code Page 860 Code Page 863 Code Page 865 Code Page 866
Page 28 - Standard
Chapter 4: Print Specifications A794 Owner’s Guide March 1999 22 Characters Print Modes Here are the available print modes. ♦ Standard ♦ Compressed ♦ Double High ♦ Double Wide ♦ Upside Down ♦ Rotated ♦ Underlined ♦ Bold ♦ Reverse ♦ Italic ♦ Scaled Size Here are the sizes of the characters for the St...
Page 29 - Print Zones
A794 Owner’s Guide Chapter 4: Print Specifications March 1999 23 Paper Specifications The printer requires qualified thermal thermal paper with the following dimensions: Width Diameter Length 80 mm ± .2 mm (3.15 in. ± .02 in.) 90 mm max. (3.27 in.) 322 ft. nominal. 82.5 mm ± .2 mm (3.25 in. ± .02 in...
Page 30 - Print Zones for 82.5 mm Paper; Here are the specifications of the print zone for 82.5 mm paper:
Chapter 4: Print Specifications A794 Owner’s Guide March 1999 24 Print Zones for 82.5 mm Paper Here are the specifications of the print zone for 82.5 mm paper: ♦ 640 dots (addressable) @ 8 dots/mm, centered on 82.5 mm ♦ Standard mode: minimum margins: 1.0 mm (0.040 inches) ♦ Top margin to manual tea...
Page 39 - Chapter 5: Communication Interface; Communication Overview; Interface
Chapter 5: Communication Interface ♦ Communication Overview Interface Sending Commands ♦ RS-232C Interface Print Speed and Timing XON/XOFF Protocol DTR/DSR Protocol RS-232C Technical Specifications
Page 40 - Sending Commands; Using DOS to Send Commands; Using BASIC to Send Commands
Chapter 5: Communication Interface A794 Owner’s Guide March 1999 34 Communication Overview In order for a receipt to be printed, a program must be in place that translates the datafrom the host computer into a language that the printer can understand. This programmust tell the printer exactly how to...
Page 41 - Print Speed and Timing
A794 Owner’s Guide Chapter 5: Communication Interface March 1999 35 RS-232C Interface The RS-232C interface uses either XON/XOFF (software) or DTR/DSR (hardware)protocol to control the flow of information between the computer and the printer. ForXON/XOFF, a particular character is sent back and fort...
Page 43 - RS-232C Technical Specifications; Communication Connectors
A794 Owner’s Guide Chapter 5: Communication Interface March 1999 37 RS-232C Technical Specifications This section describes the pin settings for the connectors and the RS-232C interfaceparameters. The RS-232C parameters are selected through the configuration menufeature. The RS-232C parameters must ...
Page 44 - Cash Drawer Connector
Chapter 5: Communication Interface A794 Owner’s Guide March 1999 38 Cash Drawer Connector The following illustration shows the pinouts for the cash drawer connector. Pin 1 Pin 6 The following table shows the pinouts for the cash drawer. The connector can supporttwo cash drawers with a Y cable, and i...
Page 45 - Parallel Interface; IEEE Bi-directional Parallel Connector
A794 Owner’s Guide Chapter 5: Communication Interface March 1999 39 Parallel Interface The printer is also available with an IEEE-1284 parallel interface. The printerconfiguration must be set to the parallel interface using the printer’s ConfigurationMenu described in the “Diagnostics and Configurat...
Page 47 - Chapter 6: Programming Information; List of Commands
Chapter 6: Programming Information ♦ List of Commands ♦ Comparisons ♦ Command Descriptions Command Conventions Printer Function Commands Vertical Positioning and Print Commands Horizontal Positioning Commands Print Characteristics Commands Graphics Commands Printer Status Commands Real Time Commands...
Page 51 - Comparisons
A794 Owner’s Guide Chapter 6: Programming Information March 1999 45 Comparisons The following table details the list of commands whose behavior differs from theA793(A756) and the A794(A758) because of the physical differences of a 6 dots/mmhead (A793/A756) versus an 8 dots/mm head (A794/A758). Comma...
Page 52 - Command Descriptions; Command Conventions
Chapter 6: Programming Information A794 Owner’s Guide March 1999 46 Command Descriptions Command Conventions The following information describes how each command is organized: Command Name A descriptive name (not the ASCII code) used to identify the command. Description A brief summary of the comman...
Page 53 - Printer Function Commands; Clear Printer
A794 Owner’s Guide Chapter 6: Programming Information March 1999 47 Printer Function Commands The printer function commands control the following basic printer functions and aredescribed in order of their hexadecimal codes: ♦ Printing ♦ Feeding the paper ♦ Resetting the printer ♦ Cutting the paper ♦...
Page 54 - Perform Partial Knife Cut; Generate Tone
Chapter 6: Programming Information A794 Owner’s Guide March 1999 48 Perform Partial Knife Cut Partially cuts the receipt. The length of the cut can be changed through theconfiguration menu. The default setting leaves .20 inches (5 mm) of paper on the leftedge. See Setting Partial Cut Distance in Dia...
Page 55 - Select Print Mode
A794 Owner’s Guide Chapter 6: Programming Information March 1999 49 Select Print Mode Selects the print mode: standard, compressed, emphasized, underlined, double high, ordouble wide. ASCII ESC ! n Hexadecimal 1B 21 n Decimal 27 33 n Value of n See table Value of nBit Function 0 1 Bit 0 1 Pitch Stan...
Page 56 - Initialize Printer
Chapter 6: Programming Information A794 Owner’s Guide March 1999 50 Select Peripheral Device (for Multi-Drop) Selects the device to which the host computer sends data. ASCII ESC = n Hexadecimal 1B 3D n Decimal 27 61 n Value of n 0 (bit 0), device not selected1 (bit 0), device selected Default 1 (bit...
Page 57 - Select Paper Sensors to Output Paper End Signals
A794 Owner’s Guide Chapter 6: Programming Information March 1999 51 Select Paper Sensors to Output Paper End Signals Specifies the paper sensor to output a paper end signal. Multiple sensors may beselected to signal when paper has run out. When multiple sensors have been selected,anytime one of the ...
Page 58 - Select Sensors to Stop Printing; Enable or Disable Panel Button
Chapter 6: Programming Information A794 Owner’s Guide March 1999 52 Select Sensors to Stop Printing Selects the paper sensor used to detect when the paper is out. The printer finishesprinting the current line and feeds the paper before stopping. ASCII ESC c 4 n Hexadecimal 1B 63 34 n Decimal 27 99 5...
Page 59 - Read from Non-Volatile Memory; Generate Pulse to Open Cash Drawer
A794 Owner’s Guide Chapter 6: Programming Information March 1999 53 Read from Non-Volatile Memory Reads a two-byte word from location k in history EEROM. The printer returns the wordat the next available opportunity. ASCII ESC j k Hexadecimal 1B 6A k Decimal 27 106 k Range of k 0-63 (Decimal) Genera...
Page 60 - Select Cut Mode and Cut Paper
Chapter 6: Programming Information A794 Owner’s Guide March 1999 54 Write to Non-Volatile Memory (NVRAM) Writes two-byte word, n1 n2, to location k in history EEROM. ASCII ESC s n1 n2 k Hexadecimal 1B 73 n1 n2 k Decimal 27 115 n1 n2 k Value of n1 1 st Byte Value of n2 2 nd Byte Range of k 0-63 (Deci...
Page 61 - Vertical Positioning and Print Commands; Print and Feed One Line; Activate Carriage Return; Feed n Print Lines
A794 Owner’s Guide Chapter 6: Programming Information March 1999 55 Vertical Positioning and Print Commands The vertical positioning and print commands control the vertical print positions ofcharacters on the receipt. Print and Feed One Line Prints one line from the buffer and feeds paper one line. ...
Page 62 - Feed n Dot Rows; Add n Extra Dot Rows
Chapter 6: Programming Information A794 Owner’s Guide March 1999 56 Feed n Dot Rows Feeds the paper n dot rows (n/203 inch, n/8 mm), without printing. ASCII NAK n Hexadecimal 15 n Decimal 21 n Value of n n/203 inch Range of n 0-255 Add n Extra Dot Rows Adds n extra dot rows (n/203 inch, n/8 mm) to t...
Page 63 - Print; Set Column; Set Line Spacing to 1/6 Inch
A794 Owner’s Guide Chapter 6: Programming Information March 1999 57 Print Prints one line from the buffer and feeds paper one line. ASCII ETB Hexadecimal 17 Decimal 23 Set Column Prints the first character of the next print line in column n. It must be sent for each linenot printed at column one. Th...
Page 64 - Set Line Spacing; Print and Feed Paper
Chapter 6: Programming Information A794 Owner’s Guide March 1999 58 Set Line Spacing Sets the line spacing to n/406 inch (n/16 mm). The minimum line spacing is 8.5 lines per inch. The line spacing equals the characterheight when n is too small. If the Set Horizontal and Vertical Minimum Motion Units...
Page 65 - Print and Feed n Lines; ASCII; Hexadecimal
A794 Owner’s Guide Chapter 6: Programming Information March 1999 59 Print and Feed n Lines Prints one line from the buffer and feeds paper n lines at the current line height. ASCII ESC d n Hexadecimal 1B 64 n Decimal 27 100 n Range of n 1-255 (0 is interpreted as 1)
Page 66 - Horizontal Positioning Commands; Horizontal Tab; Set Right-Side Character Spacing
Chapter 6: Programming Information A794 Owner’s Guide March 1999 60 Horizontal Positioning Commands The horizontal positioning commands control the horizontal print positions ofcharacters on the receipt. Horizontal Tab Moves the print position to the next tab position set by the Set Horizontal Tab P...
Page 67 - Set Absolute Starting Position
A794 Owner’s Guide Chapter 6: Programming Information March 1999 61 Set Absolute Starting Position Sets the print starting position to the specified number of dots (up to the right margin)from the beginning of the line. The print starting position is reset to the first columnafter each line. If the ...
Page 68 - Set Horizontal Tab Positions
Chapter 6: Programming Information A794 Owner’s Guide March 1999 62 Set Horizontal Tab Positions Sets up to 32 horizontal tab positions n columns from column one, but does not movethe print position. See the Horizontal Tab command (09). The tab positions remain unchanged if the character widths are ...
Page 69 - Set Relative Print Position
A794 Owner’s Guide Chapter 6: Programming Information March 1999 63 Set Relative Print Position Moves the print starting position the specified number of dots either right (up to theright margin) or left (up to the left margin) of the current position. The print startingposition is reset to the firs...
Page 70 - Select Justification
Chapter 6: Programming Information A794 Owner’s Guide March 1999 64 Compatibility Information (A794 receipt vs. A793 receipt) There is a difference in the normal behavior of this command in A794 Emulation Modeas compared to the original A793. The difference exists when the command is used tomove to ...
Page 71 - Set Left Margin
A794 Owner’s Guide Chapter 6: Programming Information March 1999 65 Set Left Margin Sets the left margin of the printing area. The left margin is set to (((nH X 256) + nL) timeshorizontal motion unit) inches. The horizontal motion units are set by the Set Horizontaland Vertical Minimum Motion Units ...
Page 72 - Set Horizontal and Vertical Minimum Motion Units
Chapter 6: Programming Information A794 Owner’s Guide March 1999 66 Set Horizontal and Vertical Minimum Motion Units Sets the horizontal and vertical motion units to 1/x inch and 1/y inch respectively. When x or y is set to 0, the default setting for that motion unit is used. ASCII GS P x y Hexadeci...
Page 73 - Set Printing Area Width
A794 Owner’s Guide Chapter 6: Programming Information March 1999 67 Set Printing Area Width Sets the width of the printing area. If the setting exceeds the printable area, themaximum value of the printable area is used. The width of the printing area is set to(((nH X 256) + nL) times horizontal moti...
Page 74 - Print Characteristics Commands; Select Double-Wide Characters
Chapter 6: Programming Information A794 Owner’s Guide March 1999 68 Print Characteristics Commands These commands control what the printed information looks like, selection of charactersets, definition of custom-defined characters, and setting of margins. The commands aredescribed in order of their ...
Page 75 - Select 90 Degree Counter-Clockwise Rotated Print
A794 Owner’s Guide Chapter 6: Programming Information March 1999 69 Select 90 Degree Counter-Clockwise Rotated Print Rotates characters 90 degrees counter-clockwise. The command remains in effect untilthe printer is reset or until a Clear Printer (10) or Cancel Rotated Print (1B 56) commandis receiv...
Page 76 - Select Character Set
Chapter 6: Programming Information A794 Owner’s Guide March 1999 70 Select Character Set Selects the character set. When an undefined RAM character is selected, current activeROM Code Page character is used. See the Printing Specification Guide for the charactersets. ASCII ESC % n Hexadecimal 1B 25 ...
Page 77 - Define User-Defined Character Set
A794 Owner’s Guide Chapter 6: Programming Information March 1999 71 Define User-Defined Character Set Defines and enters downloaded characters into RAM. The command may be used tooverwrite single characters. User-defined characters are available until power is turnedoff or the Initialize Printer com...
Page 78 - Select or Cancel Underline Mode
Chapter 6: Programming Information A794 Owner’s Guide March 1999 72 Select or Cancel Underline Mode Turns underline mode on or off. Underlines cannot be printed for spaces set by theHorizontal Tab, Set Absolute Start Position, or Set Relative Print Position commands. This command and the Select Prin...
Page 79 - Copy Character Set from ROM to RAM; Cancel User-Defined Character
A794 Owner’s Guide Chapter 6: Programming Information March 1999 73 Copy Character Set from ROM to RAM Copies characters in the active ROM set to RAM. Use this command to re-initialize theUser-Defined Character Set. ASCII ESC : 0 0 0 Hexadecimal 1B 3A 30 30 30 Decimal 27 58 0 0 0 Default current act...
Page 80 - Select or Cancel Emphasized Mode; Select or Cancel Double Strike
Chapter 6: Programming Information A794 Owner’s Guide March 1999 74 Select or Cancel Emphasized Mode Starts or stops emphasized printing. The printer is reset to the standard print mode aftera Clear Printer (10) command is received. ASCII ESC E n Hexadecimal 1B 45 n Decimal 27 69 n Value of n 0 = Of...
Page 81 - Select or Cancel Italic Print; Select Character Code Table
A794 Owner’s Guide Chapter 6: Programming Information March 1999 75 Select or Cancel Italic Print Turns Italic print mode on or off. The printer is reset to the standard print mode after aClear Printer (10) command is received. ASCII ESC I n Hexadecimal 1B 49 n Decimal 27 73 n Value of n 0 = Off1 = ...
Page 82 - Select International Character Set; Select or Cancel 90 Degree Clockwise Rotated Print; Select or Cancel Upside-Down Print Mode
Chapter 6: Programming Information A794 Owner’s Guide March 1999 76 Select International Character Set See the previous command, Select Character Code Table (page 72) Select or Cancel 90 Degree Clockwise Rotated Print Rotates characters 90 degrees clockwise. The command remains in effect until thepr...
Page 83 - Select Or Cancel White/Black Reverse Print Mode; Select or Cancel Smoothing Mode
A794 Owner’s Guide Chapter 6: Programming Information March 1999 77 Select Or Cancel White/Black Reverse Print Mode Turns on White/Black reverse printing mode. In White/Black reverse printing mode,print dots and non-print dots are reversed, which means that white characters areprinted on a black bac...
Page 84 - Select Superscript or Subscript Modes
Chapter 6: Programming Information A794 Owner’s Guide March 1999 78 Select Superscript or Subscript Modes Turns superscript or subscript modes on or off. This attribute may be combined withother characters size settings commands (12, 13, 1B 21 n, 1D 21 n,…) ASCII AX ENQ n Hexadecimal 1F 05 n Decimal...
Page 85 - Graphics Commands; Print Raster Graphics; Download BMP Logo
A794 Owner’s Guide Chapter 6: Programming Information March 1999 79 Graphics Commands These commands are used to enter and print graphics data and are described in order oftheir hexadecimal codes. Print Raster Graphics Prints one row of data. n1 . .. nl: bytes describing the line to print. ASCII DC1...
Page 87 - Select Bit Image Mode; Related Information
A794 Owner’s Guide Chapter 6: Programming Information March 1999 81 Select Bit Image Mode Sets the print resolution and enters one line of graphics data into the print buffer. Excessdata is accepted but ignored. Any print command is required to print the data, afterwhich the printer returns to norma...
Page 88 - Select Single-Density Graphics; Formulas
Chapter 6: Programming Information A794 Owner’s Guide March 1999 82 Select Bit Image Mode (continued) Top of Bit Image 24-Dot Single-Density Mode dn MSB LSB d1 d2 d3 d4 d7 d5 d6 dn Select Single-Density Graphics Enters one line of 8-dot single-density graphics into the print buffer. Any printcommand...
Page 89 - Select Double-Density Graphics
A794 Owner’s Guide Chapter 6: Programming Information March 1999 83 Select Double-Density Graphics Enters one line of 8-dot double-density graphics into the print buffer. Any printcommand is required to print the line, after which the printer returns to normalprocessing mode. Double-density mode all...
Page 90 - Select the Current Logo
Chapter 6: Programming Information A794 Owner’s Guide March 1999 84 Select the Current Logo Selects a logo to be defined or printed. The active logo n remains in use until thiscommand is sent again with a different logo n. When this command precedes a logo definition, that definition is stored in fl...
Page 91 - Define Downloaded Bit Image; Column
A794 Owner’s Guide Chapter 6: Programming Information March 1999 85 Define Downloaded Bit Image Enters a downloaded bit image (such as a logo) into RAM or Flash with the number ofdots specified by n1 and n2. The downloaded bit image is available until power isturned off, another bit image is defined...
Page 92 - Print Downloaded Bit Image; Convert 6 Dots/mm Bitmap to 8 Dots/mm Bitmap
Chapter 6: Programming Information A794 Owner’s Guide March 1999 86 Print Downloaded Bit Image Prints the downloaded bit image in RAM or Flash at a density specified by m. It isignored if any data is in the print buffer, if the downloaded bit image is undefined. See the illustration on the previous ...
Page 93 - Printer Status Commands
A794 Owner’s Guide Chapter 6: Programming Information March 1999 87 Printer Status Commands These commands enable the printer to communicate with the host computer followingthe selected handshaking protocol, either DTR/DSR or XON/XOFF. They are stored inthe printer's data buffer as they are received...
Page 94 - Request Alternate Status (parallel printers only)
Chapter 6: Programming Information A794 Owner’s Guide March 1999 88 Request Alternate Status (parallel printers only) This command allows the printer to inform the host when the data in the buffer hasbeen processed. When this command is sent to the printer, the printer goes “Busy” untilall data whic...
Page 95 - Transmit Paper Sensor Status
A794 Owner’s Guide Chapter 6: Programming Information March 1999 89 Transmit Paper Sensor Status Sends status data to the host computer. The printer sends one byte to the host computerwhen it is not busy or in a fault condition. See the following table. ASCII ESC v Hexadecimal 1B 76 Decimal 27 118 V...
Page 96 - Transmit Printer ID
Chapter 6: Programming Information A794 Owner’s Guide March 1999 90 Transmit Printer ID Transmits the printer ID specified by n. This command is a batch mode command; thatis, the response is transmitted after all prior data in the receive buffer has beenprocessed. There may be a time lag between the...
Page 97 - Transmit Printer ID, Remote Diagnostics Extension
A794 Owner’s Guide Chapter 6: Programming Information March 1999 91 Transmit Printer ID, Remote Diagnostics Extension Performs the remote diagnostic functions specified by n. Each returned message is defined as: n + data + <CR> ASCII GS I @ n Hexadecimal 1D 49 40 n Decimal 29 73 64 n Values of...
Page 100 - Select or Cancel Automatic Status Back (ASB)
Chapter 6: Programming Information A794 Owner’s Guide March 1999 94 Select or Cancel Automatic Status Back (ASB) Enables or disables automatic status back (ASB) and specifies the status items. Thiscommand is a batch mode command; that is, it is processed after all prior data in thereceive buffer has...
Page 101 - Default
A794 Owner’s Guide Chapter 6: Programming Information March 1999 95 Select or Cancel Automatic Status Back (ASB) (continued) Default 0 (ASB disabled) Exceptions If n = 0, ASB is disabled. Related Information When the printer is disabled by the Select Peripheral Device command (1B 3D), thiscommand (E...
Page 103 - Transmit Status
A794 Owner’s Guide Chapter 6: Programming Information March 1999 97 Transmit Status Transmits the status specified by n. This is a batch mode command which transmits theresponse after all prior data in the receive buffer has been processed. There may be atime lag between the printer receiving this c...
Page 104 - Exceptions
Chapter 6: Programming Information A794 Owner’s Guide March 1999 98 Transmit Status (continued) Cash Drawer Status (n = 2 or n = 50)Bit Off/On Hex Decimal Status for Transmit Status 0 OffOn 0001 01 One or both cash drawers open.Both cash drawers closed. 1 OffOn 0002 02 One or both cash drawers open....
Page 105 - Send Printer Software Version; Print Test Form
A794 Owner’s Guide Chapter 6: Programming Information March 1999 99 Send Printer Software Version The printer returns 8 bytes containing the boot and flash software version. The first 4bytes returned are an ASCII string for the boot version. The second 4 bytes are an ASCIIstring for the flash versio...
Page 106 - Real Time Commands; Rules for Using Real Time Commands
Chapter 6: Programming Information A794 Owner’s Guide March 1999 100 Real Time Commands The Real Time commands provide an application interface to the printer even when theprinter is not handling other commands (RS-232C communication interface only): ♦ Real Time Status Transmission: GS (Hex 1D) Sequ...
Page 107 - Moving Data through the Buffer
A794 Owner’s Guide Chapter 6: Programming Information March 1999 101 Moving Data through the Buffer Applications should not let the buffer fill up with Real Time commands when theprinter is busy at the RS-232C interface. A busy condition at the RS-232C interface canbe determined by bit 3 of the resp...
Page 108 - Recognizing Data from the Printer
Chapter 6: Programming Information A794 Owner’s Guide March 1999 102 Recognizing Data from the Printer An application sending various Real Time and non-Real Time commands to which theprinter responds can determine which command a response belongs to by the tablebelow. Responses to ESC u and ESC v ar...
Page 109 - Real Time Request to Printer
A794 Owner’s Guide Chapter 6: Programming Information March 1999 103 Real Time Request to Printer The printer responds to a request from the host specified by n. This command includestwo sequences: GS and DLE. The operations performed depend on the value of n,according to the following parameters. G...
Page 110 - Real Time Status Transmission
Chapter 6: Programming Information A794 Owner’s Guide March 1999 104 Real Time Status Transmission Transmits the selected one byte printer status specified by n in Real Time according tothe following parameters. This command includes two sequences: GS and DLE. GS Sequence DLE Sequence ASCII GS EOT n...
Page 111 - Real Time Status Transmission (continued); = Transmit Error Status
A794 Owner’s Guide Chapter 6: Programming Information March 1999 105 Real Time Status Transmission (continued) 2 = Transmit RS-232C Busy Status Bit Status Hex Decimal Function 0 Off 00 0 Fixed to Off. 1 On 02 2 Fixed to On. 2 OffOn 0004 04 Cover closed.Cover open. 3 OffOn 0008 08 Paper feed button i...
Page 112 - = Transmit Receipt Paper Status
Chapter 6: Programming Information A794 Owner’s Guide March 1999 106 Real Time Status Transmission (continued) 4 = Transmit Receipt Paper Status Bit Status Hex Decimal Function 0 Off 00 0 Fixed to Off 1 On 02 2 Fixed to On 2 OffOn 0004 04 Paper adequatePaper low (if paper lowsensor enabled) 3 OffOn ...
Page 114 - Bar Code Commands; Select Printing Position of HRI Characters; Select Pitch of HRI Characters
Chapter 6: Programming Information A794 Owner’s Guide March 1999 108 Bar Code Commands These commands format and print bar codes and are described in order of theirhexadecimal codes. Select Printing Position of HRI Characters Prints HRI (Human Readable Interface) characters above or below the bar co...
Page 115 - Select Bar Code Height
A794 Owner’s Guide Chapter 6: Programming Information March 1999 109 Select Bar Code Height Sets the bar code height to n dots or n/203 inch (n/8 mm). ASCII GS h n Hexadecimal 1D 68 n Decimal 29 104 n Value of n Number of dots Range of n 1-255 Default 216 Print Bar Code Selects the bar code type and...
Page 116 - Values
Chapter 6: Programming Information A794 Owner’s Guide March 1999 110 Print Bar Code (continued) Values First Variation: String terminated with NULL Character M Bar Code D n, Length 0 UPC-A 48- 57 (ASCII numerals) Fixed Length: 11, 12 1 UPC-E 48- 57 Fixed Length: 11, 12 2 JAN13 (EAN) 48- 57 Fixed Len...
Page 117 - Select Bar Code Width
A794 Owner’s Guide Chapter 6: Programming Information March 1999 111 Print Bar Code (continued) m Bar Code D n, Length 65 UPC-A 48- 57 (ASCII numerals) Fixed Length: 11, 12 66 UPC-E 48- 57 Fixed Length: 11, 12 67 JAN13 (EAN) 48- 57 Fixed Length: 12, 13 68 JAN8 (EAN) 48- 57 Fixed Length: 7, 8 69 CODE...
Page 118 - Page Mode Commands; Print and Return to Standard Mode; Cancel Print Data in Page Mode
Chapter 6: Programming Information A794 Owner’s Guide March 1999 112 Page Mode Commands Page mode is one of two modes that the A794 printer uses to operate. Standard mode istypical of how most printers operate by printing data as it is received and feeding paperas the various paper feed commands are...
Page 119 - Print Data in Page Mode
A794 Owner’s Guide Chapter 6: Programming Information March 1999 113 Print Data in Page Mode Collectively prints all buffered data in the printing area. After printing, the printer does not clear the buffered data and sets values for SelectPrint Direction in Page Mode (ESC T) and Set Print Area in P...
Page 120 - Select Standard Mode
Chapter 6: Programming Information A794 Owner’s Guide March 1999 114 Select Standard Mode Switches from page mode to standard mode. In switching from page mode to standardmode, data buffered in page mode are cleared, the printing area set by Set Print Area inPage Mode (ESC W) is initialized and the ...
Page 121 - Select Print Direction in Page Mode
A794 Owner’s Guide Chapter 6: Programming Information March 1999 115 Select Print Direction in Page Mode Selects the printing direction and start position in page mode. See the illustration. The command can be sent multiple times so that several different print areas, aligned indifferent print direc...
Page 122 - Set Print Area in Page Mode
Chapter 6: Programming Information A794 Owner’s Guide March 1999 116 Set Print Area in Page Mode Sets the position and size of the printing area in page mode. The command can be sent multiple times so that several different print areas, aligned indifferent print directions, can be developed in the p...
Page 123 - Select Character Size
A794 Owner’s Guide Chapter 6: Programming Information March 1999 117 Select Character Size Selects the character height using bits 0 to 2 and selects the character width using bits 4to 6, as follows: Character Width SelectionHex Decimal Width 00 0 1 (normal) 10 16 2 (two times width) 20 32 3 (three ...
Page 124 - Set Absolute Vertical Print Position in Page Mode
Chapter 6: Programming Information A794 Owner’s Guide March 1999 118 Select Character Size (continued) Value of n 1-8 = vertical number of times normal font1-8 = horizontal number of times normal font Range of n 0-255 Default of n 11 hexadecimal Exceptions If n is out of the defined range, this comm...
Page 125 - Set Relative Vertical Print Position in Page Mode
A794 Owner’s Guide Chapter 6: Programming Information March 1999 119 Set Relative Vertical Print Position in Page Mode Sets the relative vertical print starting position from the current position. This commandcan also change the horizontal and vertical motion unit. The unit of horizontal andvertical...
Page 126 - Macro Commands; Select or Cancel Macro Definition
Chapter 6: Programming Information A794 Owner’s Guide March 1999 120 Macro Commands These commands are used to select and perform a user-defined sequence of printeroperations. Select or Cancel Macro Definition Starts or ends macro definition. Macro definition begins when this command is receivedduri...
Page 127 - Execute Macro
A794 Owner’s Guide Chapter 6: Programming Information March 1999 121 Execute Macro Executes a macro. After waiting for a specified period the printer waits for the PaperFeed Button to be pressed. After the button is pressed, the printer executes the macroonce. The printer repeats this operation the ...
Page 128 - Flash Download Commands
Chapter 6: Programming Information A794 Owner’s Guide March 1999 122 Flash Download Commands These commands are used to load firmware into the printer. There are three ways to enter the download mode. 1. Powering the printer up with DIP Switch 1 down. 2. While the printer is running normally, send t...
Page 129 - Switch to Flash Download Mode; Return Segment Number Status of Flash Memory
A794 Owner’s Guide Chapter 6: Programming Information March 1999 123 Switch to Flash Download Mode Puts the printer in flash download mode in preparation to receive commandscontrolling the downloading of objects into flash memory. When this command isreceived, the printer leaves normal operation and...
Page 130 - Select Flash Memory Sector to Download
Chapter 6: Programming Information A794 Owner’s Guide March 1999 124 Select Flash Memory Sector to Download Selects the flash sector (nn) for which the next download operation applies. The valuesof the possible sector are restricted, depending upon the flash part type. The printertransmits an ACK if...
Page 131 - Erase All Flash Contents Except Boot Sector
A794 Owner’s Guide Chapter 6: Programming Information March 1999 125 Erase All Flash Contents Except Boot Sector Causes the entire flash memory to be erased. The printer returns ACK if the command is successful; NAK if it is unsuccessful. ASCII GS SO Hexadecimal 1D 0E Decimal 29 14 Exceptions Availa...
Page 132 - Download to Active Flash Sector
Chapter 6: Programming Information A794 Owner’s Guide March 1999 126 Download to Active Flash Sector Contains a start address (ah x 256 + al) and count (ch x 256 + cl) of binary bytes to loadinto the selected sector, followed by that many bytes. The start address is relative to thestart of the secto...
Page 134 - Erase User Flash Sector
Chapter 6: Programming Information A794 Owner’s Guide March 1999 128 Erase User Flash Sector Erases a page of flash memory and sends a carriage return when the operation iscomplete. ASCII GS @ n Hexadecimal 1D 40 n Decimal 29 64 n Value of n 49-50 n = 49 (ASCII n = 1) This command erases the entire ...
Page 135 - Index
A794 Owner’s Guide Index March 1999 129 Index —8— 80 mm paper print zones, 23 82.5 mm paper print zones, 24 —A— Accessories. See Supplies —B— Bar codes, 5BASIC sending commands, 34 —C— Cash drawer connector and pin assignments, 38 cash drawer driver, 5Cash drawers ordering, 19 Changing paper, 10Char...