Epson A794-D100 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Epson A794-D100, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Epson A794-D100 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Epson A794-D100. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Epson A794-D100 should contain:
- informations concerning technical data of Epson A794-D100
- name of the manufacturer and a year of construction of the Epson A794-D100 item
- rules of operation, control and maintenance of the Epson A794-D100 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Epson A794-D100 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Epson A794-D100, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Epson service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Epson A794-D100.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Epson A794-D100 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    A794 Thermal Receipt Printer Owner's Guide A794-D100 TM[...]

  • Page 2

    [...]

  • Page 3

    March 1999 i Legal Notices Disclaime r Infor mation in th is do cument is subje ct to chan ge w ithout n otice. Consul t your Ax ioh m s ale s representative for inform ation that is ap plicable and cu rrent. Axiohm reserves t he right to improve product s as new technology, c omponents, software, and firm ware become av ailable. No part of this do[...]

  • Page 4

    March 1999 ii In order to ensure compliance with the Product Safety, FCC and CE marking requirements, you must use t he power supply, po wer cord, and interface c able which were shipped wit h this product or which meet the following parameters: Power Supply UL Listed (QQGQ), Class 2 power supply wit h SELV (Secondary Extra Low Volt age), non-energ[...]

  • Page 5

    A794 Owner’s Guide Contents March 1999 iii Contents Chapter 1: About the Printer .............................................................. 1 Description o f Printer .................................................................... 2 Models Available ........................................................................... 3 Model Identi[...]

  • Page 6

    Contents A794 Owner’s Guide March 1999 iv Chapter 5: Communication Interface................................................ 33 Commun ication O verview ............................................................ 34 Interface .................................................................................... 34 Sending Com mands ...............[...]

  • Page 7

    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 8

    Chapter 1: About the Printer A794 Owner’s Guide March 1999 2 Description of Printer The A794 thermal receipt printer i s extremely fas t, quiet , and very reliable. Wi th thermal printing technology, there is no ribbon cassette to change, and paper loa d ing is extremely simple. The printer is small en ough to fit almost an ywhere and is easy to [...]

  • Page 9

    A794 Owner’s Guide Chapter 1: About the Printer March 1999 3 Models Available There are several models of th e printer depending on the commu nication interface an d the combination of options se lected . Model Identific ation See the illustration for the features designa ted by the printer ID number. A 794 Mo d el ID Key A 7 9 4 - X X X X 1 = n [...]

  • Page 10

    Chapter 1: About the Printer A794 Owner’s Guide March 1999 4 Installations You can set up the prin ter three ways: set it flat on any level surface, mo unt it vertically on any level surface, or mount it on a wa ll using a wall-mount kit. Either wa y, be sure to leave room to o pen the cover and access th e cables. For more informa tion about See[...]

  • Page 11

    A794 Owner’s Guide Chapter 1: About the Printer March 1999 5 On a Fl at Su rface Vertically (see n o te) Features Interfaces RS-232C, Parallel Memory/Firmware 512K Flash Memory , Histo ry EEROM, 4K Buffer (see “Opti ons” for additional memory) Resident Character Sets PC Code Page 437 (US), PC Code Page 850 (Multilingual), PC Code Page 852; Co[...]

  • Page 12

    Chapter 1: About the Printer A794 Owner’s Guide March 199 9 6 Options ♦ Knife (Cutter) ♦ Wall Mount ♦ Power Su pply: 55 Watt/ 75 Watt ♦ Power Cords: US, SEV, UK AC Cord, and Australia AC Cord ♦ 1MB memory ♦ Paper Low Senso r ♦ Paper Width ♦ 82.5 mm ♦ 80 mm ♦ Interface Boards ♦ RS 232C ♦ IEEE Bi-Directional Parallel[...]

  • Page 13

    Chapter 2: Using the Printer ♦ Printer Controls ♦ Changing Paper ♦ Testing the Printer[...]

  • Page 14

    Chapter 2: Using the Printer A794 Owner’s Guide March 1999 8 Printer Controls Paper Fe ed Button LED (Green) Reset Button Reset Button Use the Reset Button to reset th e printer in case of a jam or fault con dition. When the Reset Button is pressed, the printer go es through a startup routine as if it h ad been turned off, then o n again. Paper F[...]

  • Page 15

    A794 Owner’s Guide Chapter 2: Using the Printer March 1999 9 Tone A single beep indicates the printer has successfully completed its sta r tup routine ( a fter having been reset or the po wer supply turned on). If the printer beeps twice, a problem m ay be indicated. For more information about See these sections Paper Feed Button “Testing the P[...]

  • Page 16

    Chapter 2: Using the Printer A794 Owner’s Guide March 1999 10 Changing Paper Change the paper wh en either of the fo llowing co nditions o ccurs: ♦ Colored stripe appears on the receipt paper in dicating the paper is low Change the pape r as soon as possible to a void running out of pa per par t wa y through a transaction. ♦ Green LED flashes[...]

  • Page 17

    A794 Owner’s Guide Chapter 2: Using the Printer March 1999 11 2. Remove the used ro ll. 3. Tear off the end of the n ew roll so that the edge is lo ose.[...]

  • Page 18

    Chapter 2: Using the Printer A794 Owner’s Guide March 199 9 12 4. Place the new roll into the paper bucket with a few in ches of paper extending over the cabinet front (or top, if printer is mounted vertically) . Caution : Be sure the paper unrolls from the bottom of the roll. Otherwise, the printer will not print or the paper will jam. 5. Close [...]

  • Page 19

    A794 Owner’s Guide Chapter 2: Using the Printer March 1999 13 Testing the Printer Run this test to ch eck the printer. The test prints the settin gs for several functions, an d partially cuts the paper between each va riation. The printouts may vary depending on the model. Th e test ends with a partial cut of the paper, then begins again. Several[...]

  • Page 20

    Chapter 2: Using the Printer A794 Owner’s Guide March 199 9 14 For more in f orma t ion a bout See t his section Poorly printed test pr intout “Troubleshooting the Pr inter”[...]

  • Page 21

    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 problems may occur. Follow these pro cedures to determine the cause and reso lution of any problems the printer m ay be having. If the procedures in this section do not correct th [...]

  • Page 22

    Chapter 2: Using the Printer A794 Owner’s Guide March 1999 16 Printing Problem s Problem Possible Causes What to Do Where to Go Colored stripe on the receipt. Paper is low. Change the paper. A794 Owner’s Guide Receipt does not co me out all the way. Paper is jammed. Open the receipt cover, inspect the knife, and clear any jammed paper. Printer [...]

  • Page 23

    Chapter 3: Media and Supplies Guide ♦ Ordering Thermal Paper Thermal Paper S pecifications Manufacturers How to Order ♦ Ordering Miscellaneous Supplies Ordering Cash Drawer s Ordering P ower Supply and Power Cord Ordering C ommunication Cables Wall-Mount Kit[...]

  • Page 24

    Chapter 3: Media and Supplies Guide A794 Owner’s Guide March 1999 18 Ordering Thermal Paper Thermal Paper Specifications The printer requires qu alified thermal paper with the fo llowing dimensio ns: Width Diameter Leng th 80 mm ± .2 m m (3.15 in . ± .02 in.) 90 mm m ax. (3.27 in.) 322 ft. nom inal . 82.5 mm ± .2 m m (3.25 in . ± .02 in.) 90 [...]

  • Page 25

    A794 Owner’s Guide Chapter 3: Media and Supplies Guide March 1999 19 Ordering Miscellaneous Supplies Ordering Ca sh Drawer s Order cash drawers from the followin g suppliers: Cash Drawers Number NCR 7052-K657 M-S Cash Draw er Corp. EP-125 K series, EP-127, EP -102 APG Cash Draw er Model 322 Indiana Cash D rawer Model SLD Ordering Powe r Supply an[...]

  • Page 26

    Chapter 3: Media and Supplies Guide A794 Owner’s Guide March 1999 20 Ordering Com munication Ca bles Contact your sales representative to order the communica tion ca bles listed in the table. The numbers are fo r reference only. Suppliers may use ot her numbers. Communica tion Ca bles Length Order Numbe r RS-232C 25-pin (h ost) to 9-pin (3 meters[...]

  • Page 27

    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 Set s 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

    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 fo r the Standard and Com pressed mo[...]

  • Page 29

    A794 Owner’s Guide Chapter 4: Print Specifications March 1999 23 Paper Specifications The printer requires qu alified thermal thermal paper with the following dimensions: Width Diameter Leng th 80 mm ± .2 m m (3.15 in . ± .02 in.) 90 mm m ax. (3.27 in.) 322 ft. nom inal . 82.5 mm ± .2 m m (3.25 in . ± .02 in.) 90 mm max. (3.27 i n.) 322 ft. n[...]

  • Page 30

    Chapter 4: Print Spec ific ations A794 Owner’s Guide March 1999 24 Print Zones for 82. 5 mm Paper Here are t he s pecifications of the print zone for 82.5 mm paper: ♦ 640 dots (ad dressable) @ 8 dots/m m, centered on 82.5 mm ♦ Sta ndar d mo d e: mi nimum ma rgins : 1 .0 m m (0 .040 inc he s) ♦ Top margin to manual tearoff: 17.8 mm (0.70 inc[...]

  • Page 31

    A794 Owner’s Guide Chapter 4: Print Specifications March 1999 25 Character Sets Code Page 4 37[...]

  • Page 32

    Chapter 4: Print Specifications A794 Owner’s Guide March 1999 26 Code Page 8 50[...]

  • Page 33

    A794 Owner’s Guide Chapter 4: Print Specifications March 1999 27 Code Page 8 52[...]

  • Page 34

    Chapter 4: Print Specifications A794 Owner’s Guide March 1999 28 Code Page 8 58[...]

  • Page 35

    A794 Owner’s Guide Chapter 4: Print Specifications March 1999 29 Code Page 8 60[...]

  • Page 36

    Chapter 4: Print Specifications A794 Owner’s Guide March 1999 30 Code Page 8 63 f[...]

  • Page 37

    A794 Owner’s Guide Chapter 4: Print Specifications March 1999 31 Code Page 8 65[...]

  • Page 38

    Chapter 4: Print Specifications A794 Owner’s Guide March 1999 32 Code Page 8 66[...]

  • Page 39

    Chapter 5: Communication Interface ♦ Communication Overview Interface Sending Commands ♦ RS-232C Int erface Print S peed and Timing XON/X OFF Pr otocol DTR/DSR Proto col RS-232C Technical Specifications[...]

  • Page 40

    Chapter 5: Communication Interface A794 Owner’s Guide March 1999 34 Communication Overview In order for a receipt to be prin ted, a program must be in place that translates the data from the hos t computer into a language th at the printer can understand. Th is program must tell the printer exactly ho w to print each character. Th is chapter desc[...]

  • Page 41

    A794 Owner’s Guide Chapter 5: Communication Interface March 1999 35 RS-232C Interface The RS-232C in terface uses ei ther XO N/XOF F (softw are) or DTR /DSR (h ardware) protocol to co ntrol the flow of information betw een the computer and the prin ter. For XON/XO FF, a particular character is sent back and fo rth between the ho st and the printe[...]

  • Page 42

    Chapter 5: Communication Interface A794 Owner’s Guide March 1999 36 XON/XOFF Protocol The XON/X OFF characters coordin ate the information transfer between the prin ter and the host co mputer. The printer sends an XON character wh en it is ready to receive data and it sends a n XOFF charac te r when it cannot a ccept any mor e data. The software [...]

  • Page 43

    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 interface parameters. The R S-232C parameters are select ed through the con figuratio n menu feature. The RS-232C param eters must match tho se of the h ost com puter. For [...]

  • Page 44

    Chapter 5: Communication Interface A794 Owner’s Guide March 199 9 38 Cash Drawer Connector The following illustration shows the pinouts f or the cash dr awer connector . P i n 1 P i n 6 The following table shows the pinouts for the cash drawer. The connector can support two cash drawers w ith a Y cable, and is located at th e rear of the printer.[...]

  • Page 45

    A794 Owner’s Guide Chapter 5: Communication Interface March 1999 39 Parallel Interface The printer i s also avai lable with an IEEE-1284 parallel in terface. The print er configuration must be set to the para llel interf a ce using the printer’s Configuration Menu described in the “Diagn ostics and Configuration ” section of the A794 Servi [...]

  • Page 46

    Chapter 5: Communication Interface A794 Owner’s Guide March 1999 40[...]

  • Page 47

    Chapter 6: Programming Information ♦ List of Commands ♦ Comparisons ♦ Command Descriptions Command Conventions Printer Function Commands Vertical Positioning and P rint Commands Horizontal P ositioning Commands Print Char acteristics Commands Graphics Commands Printer Status Commands Real Time Commands Bar Code C ommands Page Mode Commands Ma[...]

  • Page 48

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 42 Commands contro l all operations and fun ctions of the printer; fro m selecting the size and placement of characters and graphics on the receipt to feeding and cutting the paper. The operation of vario us printers may be emulated by the comm ands, including the following: ♦ Axi[...]

  • Page 49

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 43 Code (Hexadecim al) Comman d Page 1B 25 n Select Character Set 70 1B 26 s c1 c2 n1 d1...nn dn ] Define User-Defin ed Character Set 71 1B 2A m n1 n2 d1...dn Select Bit Image Mode 81 1B 2D n Select or Cancel Un derline Mode 72 1B 32 Set Line Spaci ng to 1/6 Inch 57 1B 33 n Set Line[...]

  • Page 50

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 44 Code (Hexadecim al) Comman d Page 1D 02 nn Select Flash Memory S e ctor to Downloa d 124 1D 03 n Real Time Request to Printer 103 1D 04 n Real Time Status Transmission 104 1D 05 Real Time Printer S ta tus Transmission 107 1D 06 Get Fi rmware CRC 124 1D 07 Return Boot S e ctor CRC[...]

  • Page 51

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 45 Comparisons The following table details the list of comma nds whose beha vior differs from the A793(A756) and the A794(A758) because of th e physical differences of a 6 dots/ mm head (A793/A756) vers us an 8 do ts/m m head (A794/ A758). Command Description Difference between prev[...]

  • Page 52

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 46 Command Descriptions Command Conv entions The followi ng informatio n describes how each command is organ ized: Command Name A descriptive name (not th e ASCII code) used to identify the co mmand. Description A brief summary of the com mand, followed by m ore detailed informatio [...]

  • Page 53

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 47 Printer Function Commands The printer f unc tion c ommands control the f ollowing basic printer functions and a re described in order of their h exadecimal codes: ♦ Printing ♦ Feeding the paper ♦ Resetting the printer ♦ Cutting the paper ♦ Opening the cash draw ers ♦ [...]

  • Page 54

    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 cha nged through the configuration m enu. The default setting leaves .20 in ches (5 mm) of paper on the left edge. See Setting Partial Cut Distance in D iagnostics. There are two codes fo r this co[...]

  • Page 55

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 49 Select Print Mode Selects the print mode: stan dard, compressed, emphasized, un derlined, double high, o r double wide. ASCII ESC ! n Hexadecimal 1B 21 n Decimal 27 33 n Value of n See table Value of n Bit Funct ion 0 1 Bit 0 1 Pitch Standard Pitch 44 Col/Li ne, 15 CPI Compressed[...]

  • Page 56

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 50 Select Peripheral Device (fo r Multi-Drop) Selects the device to which th e host computer sen ds data. ASCII ESC = n Hexadecimal 1B 3D n Decimal 27 61 n Value of n 0 (bit 0), device no t selected 1 (bit 0), device selected Default 1 (bit 0), device selected Related Infor mation O[...]

  • Page 57

    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 pa per end signa l. Multiple sensors may be selected to signal when paper has run out. When multiple sensors have been selected, anytime one of the sensors detects a paper end, the paper end s[...]

  • Page 58

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 52 Select Sensors to Stop Printing Selects the paper sensor used to detect wh en the paper is out. The prin ter finishes printing the curren t line and feeds the paper before sto pping. ASCII ESC c 4 n Hexadecimal 1B 63 34 n Decimal 27 99 52 n Value of n Sensor status Sensor St atus[...]

  • Page 59

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 53 Read from Non-Volatile Memory Reads a two-byte word f rom location k in history EEROM. The printer return s the word at the next available opportunity. ASCII ESC j k Hexadecimal 1B 6A k Decimal 27 106 k Range of k 0-63 (Decim al) Generate Pulse to Open Cash Drawer Sends a pulse t[...]

  • Page 60

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 54 Write to Non-Volatile Memory (NVRAM) Writes two-byte word, n 1 n 2, 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 (Decim al) Select Cut Mode and Cut Paper Selects a [...]

  • Page 61

    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 of characters on the receipt. Print and Feed One Line Prints one line fro m the buffer and feeds paper on e line. ASCII LF Hexadecimal 0A Decimal 10 Activate C[...]

  • Page 62

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 56 Feed n Dot Rows Feeds the paper n dot row s ( 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 the character h eight to increase spac[...]

  • Page 63

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 57 Print Prints one line fro m the buffer and feeds paper on e line. ASCII ETB Hexadecimal 17 Decimal 23 Set Column Prints the first character of the n ext print line in column n . It must be sent fo r each line not printed at co lumn one. Th e value of n is set to one after each li[...]

  • Page 64

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 58 Set Line Spacing Sets the line spacing to n /406 inch ( n /16 m m). The minimum line spacing is 8.5 lines per inch. The line spa cing equals the char a cter height when n is too small. If the Set Horizont al and Vertical Minimum Motion Units co mmand (1D 50) is used to change the[...]

  • Page 65

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 59 Print and Feed n Lines Prints one line fro m the buffer and feeds paper n lin es at the current line height. ASCII ESC d n Hexadecimal 1B 64 n Decimal 27 100 n Range of n 1-255 (0 is in terpreted as 1)[...]

  • Page 66

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 60 Horizontal Positioning Commands The horizonta l positioning commands c ontr ol the horizonta l print positions of characters on the receipt. Horizontal Tab Moves the print position to the next tab position set by the Set Horiz onta l Tab Positions (1B 44 n 1 n 2 ... 00) command. [...]

  • Page 67

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 61 Set Absolute S tarting Position Sets the print starting positio n to the specified number o f dots (up to the right margin) from the beginni ng of the line. The prin t starting position is reset to the first column after each line. If the Set Horizont al and Vertical Minimum Moti[...]

  • Page 68

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 62 Set Horizontal Tab Positions Sets up to 32 hor izontal ta b positions n columns from column one, but do es not move the print position . See the Horizont al Tab command (09). The tab positions remain unchan ged if the character widths are changed after the tabs are set. The comma[...]

  • Page 69

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 63 Set Relativ e Print Pos i tion Moves the print starting po sition the specified number o f dots either right (up to the right margin) or left (up to the left m argin) of the current position. Th e print starting position is reset to the first co lumn after each line. ASCII ESC [...]

  • Page 70

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 64 Compatibility Inf ormation (A794 receipt v s. A793 receipt) There is a differen ce in the n ormal behavio r of this command i n A794 Emulati on Mode as compared to the original A793. Th e difference exists when the comman d is used to move to the left. The A793 pro cesses the who[...]

  • Page 71

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 65 Set Left Margin Sets the left margin of the printin g area. The left margin is set to ((( nH X 256) + nL ) times horizontal motion unit) inches. The hor izontal motion units a re set by the Set Horiz ontal and Vertical Minimum Motion Units co mmand (1D 50). This co mmand is descr[...]

  • Page 72

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 66 Set Horizontal and Vertical Minimum Motion Units Sets the horizontal an d vertical motion units to 1/ x inch and 1/ y inch respectively. When x or y is set to 0, the default setting for tha t motion unit is used. ASCII GS P x y Hexadecimal 1D 50 x y Decimal 29 80 x y Value of x H[...]

  • Page 73

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 67 Set Printing Area Width Sets the width o f the printing area. If the settin g exceeds the printable area, the maximum value of the printable area is used. Th e width of the printin g area is set to ((( nH X 256) + nL ) times horiz ontal motion unit) inche s. The horiz ontal motio[...]

  • Page 74

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 68 Print Ch aracteri sti cs Commands These commands control what the printed information looks like, selection of cha racter sets, definition of custom -defined characters, and setting of m argins. The commands are described in order of their h exadecimal codes. Select Double-Wide C[...]

  • Page 75

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 69 Select 90 Degree Counter-Clockwise Rotated Print Rotates characters 90 degrees coun ter-clockwise. The com mand remains in effect until the printer is reset or until a Clear Prin ter (10) or Cancel Rotated Prin t (1B 56) command is received. ASCII ESC DC2 Hexadecimal 1B 12 Decima[...]

  • Page 76

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 70 Select Charact er Set Selects the character set. When an undefined RAM character is selected, curren t active ROM Code Page character is used. See th e Printing Specification Guide for the character sets. ASCII ESC % n Hexadecimal 1B 25 n Decimal 27 37 n Value of n 0 = Co de Page[...]

  • Page 77

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 71 Define User- Defined Charact er Set Defines and enters do wnloaded characters in to RAM. The comm and may be used to overwrite single characters. User-defin ed characters are available until power is turn ed off or the Initialize Prin ter command (1B 40) is received. Any invalid [...]

  • Page 78

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 72 Select or Cancel Underline Mode Turns underline mod e on or off. U nderlines c a nnot be printed f or spaces se t by the Horizontal Tab, S e t A bsolute Start Position, or S e t Relative Print Position commands. This command an d the Select Print Mode(s) com mand (1B 21) turn und[...]

  • Page 79

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 73 Copy Charac te r Set from ROM to RAM Copies characters in the active R OM set to RAM. Use this comm and to re-initialize the User-Defined Character Set. ASCII ESC : 0 0 0 Hexadecimal 1B 3A 30 30 30 Decimal 27 58 0 0 0 Default current active ROM Code Page Related Infor mation To m[...]

  • Page 80

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 74 Select or Cancel Emphasized Mode Starts or stops emphasized printin g. The printer is reset to the stan dard print mode after a Clear Printer (10) command is received. ASCII ESC E n Hexadecimal 1B 45 n Decimal 27 69 n Value of n 0 = Off 1 = On (When 0 and 1 are the Least Sign ifi[...]

  • Page 81

    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 th e standard print mode after a Clear Printer (10) command is received. ASCII ESC I n Hexadecimal 1B 49 n Decimal 27 73 n Value of n 0 = Off 1 = On (When 0 and 1 are the Least Sign ificant B[...]

  • Page 82

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 76 Select International Charact er Set See the previous comm and, Select Character Code Table (page 72) Select or Cancel 90 Degree Clockwise Rot ated Print Rotates characters 90 degrees clockwise. Th e command remains in effect until the printer is reset or until a Clear Printer (10[...]

  • Page 83

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 77 Select Or Cancel Whit e/Black Reverse Print Mode Turns on White/Black reverse prin ting mode. In Wh ite/Black reverse printing mode, print dots and non-print dots are reversed, which means that white chara cters are printed on a black backgroun d. When the White/Black reverse pri[...]

  • Page 84

    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 with other ch aracters size s etting s comm ands (12, 13, 1B 21 n , 1D 21 n ,…) ASCII AX ENQ n Hexadecimal 1F 05 n Decimal 31 05 n Value of n 0 = N ormal ch arac[...]

  • Page 85

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 79 Graph i cs Command s These commands are used to enter and print graphi cs data and are described in order of their hexadecimal codes. Print Raster Graphics Prints one row of data. n 1 . .. n l: bytes describing the line to print. ASCII DC1 n1 ...nl Hexadecimal 11 n1 ...n72 Decima[...]

  • Page 86

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 80 Set Absolute S tarting Position Sets the print starting positio n for graphics at the specified n umber of dots from the beginning o f the line. The print starting po sition is reset to column one after each line. If the Set Horizont al and Vertical Minimum Motion Units co mmand [...]

  • Page 87

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 81 Select Bit Image Mode Sets the print resolution and enters one line o f graphics data into the print buffer. Excess data is accepted but ignored. Any print com mand is required to print the data, after which the printer returns to normal processing mode. See the illustration for [...]

  • Page 88

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 82 Select Bit Image Mode (continued) Top of Bit Image 24-Dot Single- Density M ode dn MSB LSB d1 d2 d3 d4 d7 d5 d6 dn Select Single-Density Graphics Enters one line of 8-dot sin gle-density graphics into th e print buffer. Any print command is required to prin t the line, after whic[...]

  • Page 89

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 83 Select Double-Density Graphics Enters one line of 8-dot do uble-density graphics into th e print buffer. Any print command is required to prin t the line, after which th e printer returns to no rmal processing mode. Double-density mo de allows 0-576 dot columns. The n umber of by[...]

  • Page 90

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 84 Select the Current Logo Selects a logo to be defined or prin ted. The active logo n remains in use until this command is sent again w ith a different logo n . When this comm and precedes a logo definition, that defin ition is stored in flash memory as logo n . If there is already[...]

  • Page 91

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 85 Define Downloaded Bit Image Enters a downloaded bit im age (such as a logo) into R AM or Flash with the n umber of dots specified by n 1 and n 2. The do wnloaded bit image is available until po wer is turned off, anot her bit image is defined, or eith er Initialize Printer (1B 40[...]

  • Page 92

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 86 Print Downloaded Bit Image Prints the downlo aded bit image in RAM or Flash at a density specified by m . It is ignored if any data is in the prin t buffer, if the downloaded bit im age is undefined. See the illustration on the previous page for a representa tion of the bit image[...]

  • Page 93

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 87 Printer Sta tus Comma nds These commands enable th e printer to commun icate with the ho st computer followi ng the selected handshaking proto col, either DTR/ DSR or XON/X OFF. They are stored in the printer's data buffer as they are received, an d are handled by the firmwa[...]

  • Page 94

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 88 Request Alternate St atus (parallel printers only) This command allows the printer to inform the host when the data in the buffer has been processed. When this co mmand is sent to the prin ter, the printer goes “Busy” until all data whi ch has been s ent to the pri nter has b[...]

  • Page 95

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 89 Transmit Paper Sensor Status Sends status data to the hos t computer. The printer sends on e byte to the host com puter when it is not busy or in a fault condition. See the f ollowing table. ASCII ESC v Hexadecimal 1B 76 Decimal 27 118 Values Status Byte (RS-232) Bit Functi on 0 [...]

  • Page 96

    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; th at is, the response is transm itted after all prior data in the receive buffer has been processed. There may be a time lag between the prin ter receiving this comm and and trans[...]

  • Page 97

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 91 Transmit Printer ID, Remote Diagnostics Extension Performs the remot e diagnostic functions specified by n. Each returned message is defined as: n + da ta + <CR> ASCII GS I @ n Hexadecimal 1D 49 40 n Decimal 29 73 64 n Values of n Refer to table Value of n Remote di agnost [...]

  • Page 98

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 92 Value of n Remote di agnost ic it em Function Hex Dec 31 49 Flash fir mware pa rt # Not available, cannot write to ROM 32 50 Flash fir mware pa rt # Not available, cannot write to ROM 33 51 Flash firmware part #, 12 digit ASCII Return Flash firmware part #, returns 14 bytes 34 52[...]

  • Page 99

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 93 Value of n Remote di agnost ic it em Function Hex Dec 95 149 Boot firmware version Not available 96 150 Boot firmware version Not available 97 151 Boot firmware version Return Boot firmware version , returns 6 bytes A0 160 Flash firmware version Not availa ble A1 161 Flash firmwa[...]

  • Page 100

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 94 Select or Cancel Aut omatic Stat us Back (ASB) Enables or disables automatic sta tus back (ASB ) a nd specifies the status items. This command is a batch mode co mmand; that is, it is processed after all prior data in the receive buffer has been processed. There may be a tim e la[...]

  • Page 101

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 95 Select or Cancel Auto matic Status Back ( ASB) (continued) Default 0 (ASB disabled) Exceptions If n = 0, ASB is disabled. Related Infor mation When the printer is disabled by the Select Periph eral Device command (1B 3D), this command (Enable/Disable Automa tic Status Back) is di[...]

  • Page 102

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 96 Select or Cancel Auto matic Status Back ( ASB) (continued) Second By te ( E rror informati on) Bit Off/O n Hex Decimal S tatus for ASB 0 - - - Undefined 1 - - - Undefined 2 - - - Undefined 3O f f On 00 08 0 8 No knife error. Knife error occurred. 4 Off 00 0 Not used. Fixed to off[...]

  • Page 103

    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 tra nsmits the response after all prior data in the receive buffer has been processed. There m ay be a time lag between the printer receivin g this command and tran smitting the respons e, de[...]

  • Page 104

    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 Tr ansmit Status 0O f f On 00 01 0 1 One or both cash drawers open. Both cash drawers clo sed. 1O f f On 00 02 0 2 One or both cash drawers open. Both cash drawers clo sed. 2 - - -[...]

  • Page 105

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 99 Send Printer Software Version The printer returns 8 bytes con taining the bo ot and flash software version . The first 4 bytes returned are an ASCII string fo r the boot versio n. The second 4 bytes are an ASCII string for the flash version . Example: 1.234.56 (8 bytes). The boot[...]

  • Page 106

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 100 Real Ti me Co mmands The Real Time com mands provide an application interface to the printer even when the printer is not han dling ot her comman ds (RS-232C comm unicati on int erface only): ♦ Real Time Status Transmission: GS (Hex 1 D) Sequence and DLE (Hex 10 ) Sequence ♦[...]

  • Page 107

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 101 Moving Data through the Buffer Applications should not let the buffer f ill up with Rea l Time commands when the printer is busy at t he RS-232C in terface. A busy co nditio n at th e RS-232C int erface can be determined by bit 3 of the respo nse to GS ENQ o r GS EOT 1 or DLE EO[...]

  • Page 108

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 102 Recognizing Data from the Printer An applica tion sending va r ious Real Time a nd non-Rea l Time comma nd s to which the printer responds can determin e which command a respo nse belongs to by th e table below. Responses to ESC u and ESC v are non-Real Time responses a nd will [...]

  • Page 109

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 103 Real Time Request to Print er The printer responds to a req uest from the hos t specified by n . This command includes two sequen ces: GS and DLE. The op erations performed depen d on the value of n , according to th e followin g parameters. GS Sequence DLE Sequence ASCII GS ETX[...]

  • Page 110

    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 to the followin g parameters. This command includes tw o sequences: GS and D LE. GS Sequence DLE Sequence ASCII GS EOT n DLE EO T n Hexadecimal 1D 04 n 10 04 n Deci[...]

  • Page 111

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 105 Real Time Status Transmission (continued) 2 = Transmit RS-232C B usy Status Bit Sta tus Hex Decimal Funct ion 0 Off 00 0 Fixed to Off. 1 On 02 2 Fixed to On. 2O f f On 00 04 0 4 Cover closed. Cover open. 3O f f On 00 08 0 8 Paper feed button is not pressed. Paper feed button is [...]

  • Page 112

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 106 Real Time Status Transmission (continued) 4 = Transmit Receipt Paper Status Bit Sta tus Hex Decima l Function 0 Off 00 0 Fixed to Off 1 On 02 2 Fixed to On 2O f f On 00 04 0 4 Paper adequate Paper low (if paper low sensor enabled) 3O f f On 00 08 0 8 Paper adequate Paper low (if[...]

  • Page 113

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 107 Real Time Printer Status Transmission Transmits one byte status of the printer in real time. ASCII GS ENQ Hexadecimal 1D 05 Decimal 29 5 Value of By te Bit Sta tus H ex Deci mal Funct ion 0O f f On 00 01 0 1 Paper adequate. Paper low (if paper low sensor enabled). 1O f f On 00 0[...]

  • Page 114

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 108 Bar Code Com mands These commands fo rmat and print bar codes an d are described in order of their hexadecimal codes. Select Printing Position of H RI Characters Prints HRI (Human R eadable Interface) characters above o r below the bar code. ASCII GS H n Hexadecimal 1D 48 n Deci[...]

  • Page 115

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 109 Select Bar Code Height Sets the bar code height to n do ts or n /203 in ch ( n /8 mm). ASCII GS h n Hexadecimal 1D 68 n Decimal 29 104 n Value of n Number o f dots Range of n 1-255 Default 216 Print Bar Code Selects the bar code type and prints a bar co de for the ASCII characte[...]

  • Page 116

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 110 Print Bar Code (continued) Values First Variation: String term inated with NULL Character M Bar Code Dn , Lengt h 0 UPC-A 48- 57 (ASCII numerals) Fixed Length: 11, 12 1 UPC-E 48- 57 Fixed Leng th: 11, 12 2 JAN13 (EAN) 48- 57 Fixed Lengt h: 12, 13 3 JAN8 (EAN) 48- 57 Fixed Length[...]

  • Page 117

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 111 Print Bar Code (continued) m Bar Code Dn , Lengt h 65 UPC-A 48- 57 (ASCII numerals) Fixed Leng th: 11, 12 66 UPC-E 48- 57 Fixed Leng th: 11, 12 67 JAN13 (EAN) 48- 57 Fixed Lengt h: 12, 13 68 JAN8 (EAN) 48- 57 Fixed Length: 7, 8 69 CODE39 48- 57, 65- 90 (ASCII alphabet ), 32, 36,[...]

  • Page 118

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 112 Page Mode Com mands Page mo de is one of two m odes th at the A794 prin ter uses t o operate. St andard mode i s typical of how most prin ters operate by printing data as it is received and feedin g paper as the various paper feed com mands are received. Page mode is different i[...]

  • Page 119

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 113 Print Data in Page Mode Collectively prints all buffered data in the printin g area. After printing, the prin ter does not clear th e buffered data and sets values for Select Print Direction in Page Mode (ESC T) and Set Print Area in Page Mode (ESC W), and sets the position fo r[...]

  • Page 120

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 114 Select Standard Mode Switches from page m ode to standard mo de. In switching fro m page mode to standard mode, data buffered in page mo de are cleared, the printing area set by Set Prin t Area in Page Mode (ES C W) is initia lized and the print position is set to the beginning [...]

  • Page 121

    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 a reas, aligned in different print directions, can be developed in the printer’s pag[...]

  • Page 122

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 116 Set Print Area in Page Mode Sets the position an d size of the printing area in page mode. The command can be sent multiple times so that several different print a reas, aligned in different print directions, can be developed in the printer’s page buffer before bein g printed [...]

  • Page 123

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 117 Select Charact er Size Selects the character height using bits 0 to 2 and selects the chara c ter width using bits 4 to 6, as fo llows : Character Width Selectio n Hex Decimal Width 00 0 1 (norma l) 10 16 2 (two times width ) 20 32 3 (three times width ) 30 48 4 (four times w id[...]

  • Page 124

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 118 Select Character Size ( continued) Value of n 1-8 = vertic al number of times normal f ont 1-8 = hor izontal numbe r of times nor ma l font Range of n 0-255 Default of n 11 hexadecimal Exceptions If n is out of the defined rang e, this command is ignored. Set Absolute Vertical P[...]

  • Page 125

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 119 Set Relative Vertical Print Posit ion in Page Mode Sets the relative vertical print starting positio n from the current po sition. This command can also c ha nge the horiz ontal and vertica l motion unit. The unit of hor izontal a nd vertical motion is specified by this command.[...]

  • Page 126

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 120 Macro Command s These commands are used to select and perform a user-defined seq uence of printer operations. Select or Cancel Macro Definit ion Starts or ends macro definition . Macro definition begins wh en this command is received during normal operation and ends when th is c[...]

  • Page 127

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 121 Execute Macro Executes a macro. After waiting for a specified period the printer w aits for the Paper Feed Button to be pressed. After the button is pressed, the printer executes the macro once. The printer repeats this o peration the num ber of specified times. When the macro i[...]

  • Page 128

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 122 Flash Download Commands These commands are used to lo ad firmware into the printer. There are three ways to enter th e download m ode. 1. Powering the prin ter up with DIP Switch 1 down. 2. While the printer is running normally, send the command, “Switch to Fla sh Down load Mo[...]

  • Page 129

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 123 Switch to Flash Download Mode Puts the printer in flash dow nload mode in preparatio n to receive commands controlling the downloading of objects into fla sh memory. When this comma nd is received, the printer leaves normal operatio n and can no lo nger print transaction s until[...]

  • Page 130

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 124 Select Flash Memory Sector to Download Selects the flash sector (nn ) for which th e next download o peration applies. The values of the possible sector are restricted, depending upon the flash part type. The printer transmits an ACK if the sector number is accepta ble or a n NA[...]

  • Page 131

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 125 Erase All Flash Contents Except Boot Sector Causes the entire flash mem ory to be erased. The printer returns ACK if the command is successful; NA K if it is unsuccessf ul. ASCII GS SO Hexadecimal 1D 0E Decimal 29 14 Exceptions Available only in downloa d mode. Return Main Progr[...]

  • Page 132

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 126 Download to Act ive Flash Sector Contai ns a start address (ah x 256 + al) and coun t (ch x 256 + cl ) of binary by tes to l oad into the selected sector, follo wed by that many bytes. The start address is relative to the start of the sector. Addresses run fro m 0 to 64K. The pr[...]

  • Page 133

    A794 Owner’s Guide Chapter 6: Programming Information March 1999 127 Select Memory Type (SRAM/Flash) Where to Save Logos or User-Defined Fonts Specifies whether to load th e logos or user-defined characters to flash memory or to RAM (vola tile memory) . The selection remains in effe ct until it is cha nged via this command or until the po wer cyc[...]

  • Page 134

    Chapter 6: Programming Information A794 Owner’s Guide March 1999 128 Erase User Flash Sector Erases a page of flash memory an d sends a carriage return when the operation is complete. ASCII GS @ n Hexadecimal 1D 40 n Decimal 29 64 n Value of n 49-50 n = 49 (ASCII n = 1) This command erases th e entire 64K page available for user-defined ch aracte[...]

  • Page 135

    A794 Owner’s Guide Index March 1999 129 Index —8— 80 mm paper print zones, 23 82.5 mm pap er print zones, 24 —A— Accessories. Se e Supplies —B— Bar codes, 5 BASIC sending commands, 34 —C— Cash drawer connect or and pin assignments, 38 cash drawer driver, 5 Cash drawers ordering, 19 Changing paper , 10 Character set s, 5 code page [...]

  • Page 136

    Index A794 Owner’s Guide March 1999 130 —I— IEEE Bi-directional P arallel connector communication conn ector, 39 Interface. See RS-232C inte rface Interfac es, 5 —L— LED, 8 continuously flashes , 1 5 on continuously, 15 —M— Memory, 5 models of printer, 3 —O— Options of printer, 6 Ordering cash drawers, 19 communication ca bles , 2[...]

  • Page 137

    A794 Owner’s Guide Index March 1999 131 two-to ne bee p, 1 5 —W— Wall-mount kit ordering, 20 —X— XON/XOFF protocol, 36[...]

  • Page 138

    Index A794 Owner’s Guide March 1999 132[...]

  • Page 139

    [...]

  • Page 140

    TM A794-D100 189- 9200223 0399 A XIOHM is the name an d mark of AXIOHM © 1999 AXIOHM Printed in U. S.A.[...]