Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/newdedyk/domains/bkmanuals.com/public_html/includes/pages/manual_inc.php on line 26
M-S Cash Drawer A794 manuale d’uso - BKManuals

M-S Cash Drawer A794 manuale d’uso

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
141
142
143
144
145
146
147

Vai alla pagina of

Un buon manuale d’uso

Le regole impongono al rivenditore l'obbligo di fornire all'acquirente, insieme alle merci, il manuale d’uso M-S Cash Drawer A794. La mancanza del manuale d’uso o le informazioni errate fornite al consumatore sono la base di una denuncia in caso di inosservanza del dispositivo con il contratto. Secondo la legge, l’inclusione del manuale d’uso in una forma diversa da quella cartacea è permessa, che viene spesso utilizzato recentemente, includendo una forma grafica o elettronica M-S Cash Drawer A794 o video didattici per gli utenti. La condizione è il suo carattere leggibile e comprensibile.

Che cosa è il manuale d’uso?

La parola deriva dal latino "instructio", cioè organizzare. Così, il manuale d’uso M-S Cash Drawer A794 descrive le fasi del procedimento. Lo scopo del manuale d’uso è istruire, facilitare lo avviamento, l'uso di attrezzature o l’esecuzione di determinate azioni. Il manuale è una raccolta di informazioni sull'oggetto/servizio, un suggerimento.

Purtroppo, pochi utenti prendono il tempo di leggere il manuale d’uso, e un buono manuale non solo permette di conoscere una serie di funzionalità aggiuntive del dispositivo acquistato, ma anche evitare la maggioranza dei guasti.

Quindi cosa dovrebbe contenere il manuale perfetto?

Innanzitutto, il manuale d’uso M-S Cash Drawer A794 dovrebbe contenere:
- informazioni sui dati tecnici del dispositivo M-S Cash Drawer A794
- nome del fabbricante e anno di fabbricazione M-S Cash Drawer A794
- istruzioni per l'uso, la regolazione e la manutenzione delle attrezzature M-S Cash Drawer A794
- segnaletica di sicurezza e certificati che confermano la conformità con le norme pertinenti

Perché non leggiamo i manuali d’uso?

Generalmente questo è dovuto alla mancanza di tempo e certezza per quanto riguarda la funzionalità specifica delle attrezzature acquistate. Purtroppo, la connessione e l’avvio M-S Cash Drawer A794 non sono sufficienti. Questo manuale contiene una serie di linee guida per funzionalità specifiche, la sicurezza, metodi di manutenzione (anche i mezzi che dovrebbero essere usati), eventuali difetti M-S Cash Drawer A794 e modi per risolvere i problemi più comuni durante l'uso. Infine, il manuale contiene le coordinate del servizio M-S Cash Drawer in assenza dell'efficacia delle soluzioni proposte. Attualmente, i manuali d’uso sotto forma di animazioni interessanti e video didattici che sono migliori che la brochure suscitano un interesse considerevole. Questo tipo di manuale permette all'utente di visualizzare tutto il video didattico senza saltare le specifiche e complicate descrizioni tecniche M-S Cash Drawer A794, come nel caso della versione cartacea.

Perché leggere il manuale d’uso?

Prima di tutto, contiene la risposta sulla struttura, le possibilità del dispositivo M-S Cash Drawer A794, l'uso di vari accessori ed una serie di informazioni per sfruttare totalmente tutte le caratteristiche e servizi.

Dopo l'acquisto di successo di attrezzature/dispositivo, prendere un momento per familiarizzare con tutte le parti del manuale d'uso M-S Cash Drawer A794. Attualmente, sono preparati con cura e tradotti per essere comprensibili non solo per gli utenti, ma per svolgere la loro funzione di base di informazioni e di aiuto.

Sommario del manuale d’uso

  • Pagina 1

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

  • Pagina 2

    December 1999 i Legal Notices Disclaime r Information in this document is subjec t to change without notice. Consult you r Axiohm sales representative for inform ation that is applicab le and current. A xiohm reserves the right to improve products as new technology, components, soft ware, and firmware become available. No part of t his document may[...]

  • Pagina 3

    December 1999 ii In order to ensure compliance with the Product S afety, FCC and CE marking requirements, you must use the power supply, power cord, and in terface cable which were shipped with this product or which meet the following parameters: Power Supply UL Listed (QQGQ), Class 2 power supply wi th SELV ( Secondary Extra Low Vol tage), non-ene[...]

  • Pagina 4

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

  • Pagina 5

    Contents A794 Owner’s Guide December 1999 iv Code Page 852 ......................................................................... 34 Code Page 858 ......................................................................... 35 Code Page 860 ......................................................................... 36 Code Page 863 ................[...]

  • Pagina 6

    Chapter 1: About the Printer ♦ Descriptio n of Printer ♦ Models Available Model Identification Communication Interfaces ♦ Featu res ♦ Options[...]

  • Pagina 7

    Chapter 1: About the Printer A794 Owner’s Guide December 1999 2 Description of Printer The A794 thermal receipt print er is extremel y fast, qu iet, and very rel iable. With thermal printing technology, there is no ribbon cassette to change, and paper loading is extremely simple. The printer is small en ough to fit almost a nywhere and is easy to[...]

  • Pagina 8

    A794 Owner’s Guide Chapter 1: About the Printer December 1999 3 Models Available There are several models of the printer depending on the communication interface and the combination of options selected. Model Identific ation See the sample below to determine the co nfiguration of th e printer by the printer ID number. A794 Model ID Key A 7 9 4 - [...]

  • Pagina 9

    Chapter 1: About the Printer A794 Owner’s Guide December 1999 4 Features Interfaces RS-232C, Parallel Memory/Firm ware 512K Flas h Memo ry, History EER OM, 4K Buffer (see “Optio ns” for ad ditional memor y.) Resident Ch aracter Sets PC Code Page 437 (US), PC Code Page 850 (Multilingual), PC Code Page 852; Co de Pages 865, 858, 860, 863, 866, [...]

  • Pagina 10

    Chapter 2: Using the Printer ♦ Unpack t he Printer Remove the Star ter P aper Roll Supports ♦ Choo se a Location On a Flat Surface On a Wall ♦ Conn ect the Cables Communication Cable Cash Drawer Cables Power Supply Cable ♦ Printer Controls ♦ Loadin g Receipt Paper ♦ Configuring the Printer ♦ Troubleshooting the Printer Printer Tone an[...]

  • Pagina 11

    Chapter 2: Using the Printer A794 Owner’s Guide December 1999 6 Unpack the Printer Save all packing materials for use if printer needs to be repacked. Check that all items listed were shipped. For a single pack (multi-packs differ in packing configura tion): ♦ Printer enclosed in a plastic ba g with foam packing materia l ♦ Thermal starter pa[...]

  • Pagina 12

    A794 Owner’s Guide Chapter 2: Using the Printer December 1999 7 Remov e the Starter Pa pe r Roll Supports Starter Roll Ther mal Pa per Paper Roll Suppo rts Te s t Prin tout 1. Open the Rear Cover by pushing up on each side of the cover until it unsnaps . Remove the Test Printout. 2. Lift the Starter Pa per Roll out of the paper bucket and slide t[...]

  • Pagina 13

    Chapter 2: Using the Printer A794 Owner’s Guide December 1999 8 Choose a Location You can install the printer three ways: flat on a level surfac e, set vertically on a level surface, or mounted on a wall using the optional wall- mount kit. Always be sure to leave room to open the cover and access th e cabl es. Note: Position pr inter in a loca ti[...]

  • Pagina 14

    A794 Owner’s Guide Chapter 2: Using the Printer December 1999 9 Connect the Cables Caution: Connect the cabl es to the printer b efore plugging in the pow er supply. If power is received from the host computer, turn it off before connecting any cables. Back of Prin ter Communication Conne ctor (RS-232 C 9-pin DB- 9 Connec tor sho wn) Power Conne [...]

  • Pagina 15

    Chapter 2: Using the Printer A794 Owner’s Guide December 1999 10 Cash Draw er Cabl es The Cash Dra wer Ca ble connect s the printer to one or two cash d rawers . 1. Open Connector Cover at r ear of printer if not pre viously open. 2. Plug the cable into the C ash Drawer Connector (standa rd phone ja ck) loca ted a t the rear of the printer (see i[...]

  • Pagina 16

    A794 Owner’s Guide Chapter 2: Using the Printer December 1999 11 Printer Controls Pape r Fee d But ton LED (Gre en) Re set Button Reset Button Should a paper jam o r fault condition o ccur, press the Reset Button to reset the printer. The printer performs a startup routine, as if having been turned off, then on again. Paper Feed Button Press the [...]

  • Pagina 17

    Chapter 2: Using the Printer A794 Owner’s Guide December 1999 12 Tone A single beep indicates the printer has successfully completed its startup routine (after having been reset or th e power supply turned on). If the printer beeps twice, a problem may be indicated. For more information about See these “sections” Paper Feed Button “Testing [...]

  • Pagina 18

    A794 Owner’s Guide Chapter 2: Using the Printer December 1999 13 Loading Receipt Paper Change the paper when any of the following conditions occurs: ♦ Colored stripe appears on th e receipt paper indicating the paper is low. Change the pape r as soon as possibl e to avoid running out of pape r part way through a tra nsaction. ♦ Green LED flas[...]

  • Pagina 19

    Chapter 2: Using the Printer A794 Owner’s Guide December 1999 14 2. Remove th e used paper roll. 3. Tear off the end of the new roll so that the edge is loose.[...]

  • Pagina 20

    A794 Owner’s Guide Chapter 2: Using the Printer December 1999 15 4. Place the new roll into the paper bucket with a few inches of paper extending over the cabinet front (or top, if printer is mounted vertically). Caution : The Paper must unroll from the bottom to ensure the printer will print and to prevent paper ja mming. 5. Close the co ver. Pu[...]

  • Pagina 21

    Chapter 2: Using the Printer A794 Owner’s Guide December 1999 16 Configuring the Printer The Configuration Menu allows the user to set general printer parameters. The test prints the settings for several functions, and partially cuts the pa per between each variation. The printouts may vary for each model. The test ends with a partial cut of the [...]

  • Pagina 22

    A794 Owner’s Guide Chapter 2: Using the Printer December 1999 17 For more i nforma tion about See t his section Poorly printed test pr intout “Troubleshooting the Printer”[...]

  • Pagina 23

    Chapter 2: Using the Printer A794 Owner’s Guide December 1999 18 Troubleshooting the Printer The printer is simple and generally trouble-free, but from time to time minor problems may occur. Follow th ese procedures to determine the cause and resolution of any problems the printer m ay be having. If the procedures in th is section do n ot correct[...]

  • Pagina 24

    A794 Owner’s Guide Chapter 2: Using the Printer December 1999 19 Printing Problem s Problem Possible Cau ses What to Do Where to Go Colored stripe on the receipt. Paper is low. Change the paper. A794 Owner’s Guide Receipt doe s not come out all the way. Paper is jammed. Open the receipt cover, inspect the knife, and clear any jamm ed paper. Pri[...]

  • Pagina 25

    Chapter 2: Using the Printer A794 Owner’s Guide December 1999 20 This page inte ntiona lly left blank.[...]

  • Pagina 26

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

  • Pagina 27

    Chapter 3: Media and Supplies Guide A794 Owner’s Guide December 1999 22 Ordering Thermal Paper Therm a l Paper Spe cifications The printer requi res qualified the rmal paper with the following dim ensions: Widt h Dia mete r L ength 80 mm ± .2 mm (3.15 in. ± .02 in.) 90 mm max. (3.54 in.) 322 ft. nominal. 82.5 mm ± .2 mm (3.25 in. ± .02 in.) 9[...]

  • Pagina 28

    A794 Owner’s Guide Chapter 3: Media and Supplies Guide December 1999 23 Ordering Miscellaneous Supplies Order ing Cash Dr awers Order cash drawers from the follo wing suppliers: Cash Drawers Number NCR 7052-K657 M-S Cash D rawer Corp. EP -125 K seri es, EP-127, EP-102 APG Cash Drawer Model 322 Indian a Cash D rawer Model SLD Order ing Power Suppl[...]

  • Pagina 29

    Chapter 3: Media and Supplies Guide A794 Owner’s Guide December 1999 24 Order ing Communica tion Cables Contact your sales representative to order the communicatio n cables listed in the table. The numbers are for reference o nly. Suppliers may use other numbers. Communic ation Ca bles Length Order Number RS-232C 25-pin male (prin ter) to 9 pin f[...]

  • Pagina 30

    Chapter 4: Print Specifications ♦ Characters Print Modes Size ♦ Paper Specificat ions ♦ Print Zones Print Zones for 80 mm Paper Print Zones for 82.5 mm Paper ♦ Print Density and Density of Receipt Print Lines ♦ Duty C ycle Restrictions (Prin ting Solid Blocks) ♦ Character Set s Code Page 437 Code Page 850 Code Page 852 Code Page 858 Cod[...]

  • Pagina 31

    Chapter 4: Print Specifications A794 Owner’s Guide December 1999 26 Characters Print Modes Available print modes: ♦ Standard ♦ Compressed ♦ Double High ♦ Double Wide ♦ Upside Down ♦ Rotated ♦ Underlined ♦ Bold ♦ Reverse ♦ Italic ♦ Scaled Size Characters sizes for the Standard and Co mpressed mode: Standard ♦ Characters per[...]

  • Pagina 32

    A794 Owner’s Guide Chapter 4: Print Specifications December 1999 27 Paper Specifications The printer requi res qualified the rmal paper with the following dim ensions: Widt h Dia mete r L ength 80 mm ± .2 mm (3.15 in. ± .02 in.) 90 mm max. (3.54 in.) 322 ft. nominal. 82.5 mm ± .2 mm (3.25 in. ± .02 in.) 90 mm max. (3.54 in.) 322 ft. nominal. [...]

  • Pagina 33

    Chapter 4: Print Specifications A794 Owner’s Guide December 1999 28 When printing graphics or logos, converted from 6 dot/mm to 8 dot/mm, the printable zone is expanded to 598 dots.[...]

  • Pagina 34

    A794 Owner’s Guide Chapter 4: Print Specifications December 1999 29 Print Zo nes for 82. 5 mm Paper Specific ations of print z one 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 manua l tear off: 17.8 mm (0 .70 inches) ♦ Top margin to kn[...]

  • Pagina 35

    Chapter 4: Print Specifications A794 Owner’s Guide December 1999 30 Print Density and Density of Receipt Print Lines This function makes it possible to adjust the energy level of the printhead to darken the printout. An adj ustment should only be m ade when necessary. The factory setti ng is 100%. Warning: Choose an energy level no higher than ne[...]

  • Pagina 36

    A794 Owner’s Guide Chapter 4: Print Specifications December 1999 31 Duty Cycle Restrictions (Printing Solid Blocks) There are restrictions on the duty cycle because of the heat gen erated by the receipt thermal printhead when printing solid blocks (regardless of the length of the block in relation to th e print line). The restrictions are ambient[...]

  • Pagina 37

    Chapter 4: Print Specifications A794 Owner’s Guide December 1999 32 Character Sets Code Pa ge 437[...]

  • Pagina 38

    A794 Owner’s Guide Chapter 4: Print Specifications December 1999 33 Code Pa ge 8 50[...]

  • Pagina 39

    Chapter 4: Print Specifications A794 Owner’s Guide December 1999 34 Code Pa ge 8 52[...]

  • Pagina 40

    A794 Owner’s Guide Chapter 4: Print Specifications December 1999 35 Code Pa ge 8 58[...]

  • Pagina 41

    Chapter 4: Print Specifications A794 Owner’s Guide December 1999 36 Code Pa ge 8 60[...]

  • Pagina 42

    A794 Owner’s Guide Chapter 4: Print Specifications December 1999 37 Code Pa ge 8 63[...]

  • Pagina 43

    Chapter 4: Print Specifications A794 Owner’s Guide December 1999 38 Code Pa ge 8 65[...]

  • Pagina 44

    A794 Owner’s Guide Chapter 4: Print Specifications December 1999 39 Code Pa ge 8 66[...]

  • Pagina 45

    Chapter 4: Print Specifications A794 Owner’s Guide December 1999 40 Code Pag e 1252[...]

  • Pagina 46

    Chapter 5: Communication Interface ♦ Commun i cation Overview Interface Sending Commands ♦ RS-232C In terface Print S peed and Timing XON/ XOFF Pr otocol DTR/DSR Prot ocol RS-232C Technical Specifications ♦ Parallel Interface[...]

  • Pagina 47

    Chapter 5: Communication Interface A794 Owner’s Guide December 1999 42 Communication Overview In order for a receipt t o be printed, a program must be in place that t ranslates the data from the h ost computer into a lang uage that the printer can understand. This program must tel l the printer exactly h ow to print each character. Thi s chapter [...]

  • Pagina 48

    A794 Owner’s Guide Chapter 5: Communication Interface December 1999 43 RS-232C Interface The RS-232C in terface uses either X ON/XO FF (software) or DTR/D SR (hardware) protocol to control the flow of inform ation between the computer an d the printer. For XON/XOFF, a par ticular cha racter is sent back an d forth between the host and th e printe[...]

  • Pagina 49

    Chapter 5: Communication Interface A794 Owner’s Guide December 1999 44 The next table shows that with no delay between lines, the tra nsmit time is much less than the process tim e, allowing th e printer to print at full speed. No Delay Between Li nes Char. pe r Line Line s per Receipt Tran smit T ime (9600 Baud) in Sec onds Transm it Tim e (19.2[...]

  • Pagina 50

    A794 Owner’s Guide Chapter 5: Communication Interface December 1999 45 DTR/DSR Prot ocol The DTR signal is used to control data transmission to the printer. It is driven low when the print er is ready to receive data and driv en high when it cannot accept a ny more data. Data is transmitted from the printer a fter it confirms that the DSR sign al[...]

  • Pagina 51

    Chapter 5: Communication Interface A794 Owner’s Guide December 1999 46 Power Connector With RS-232C, the printer is always rem otely powered. The follo wing illustration sh ows the power cable connector and pin assignme nts. The power ca ble connector is a 3-pin mini DIN plug and is lo cated at the rear of the printer. 3 Not Used 1 Ground Functio[...]

  • Pagina 52

    A794 Owner’s Guide Chapter 5: Communication Interface December 1999 47 RS-232C Settings The printer s upports th e standard RS-232C setting s: Baud Rate 1200, 2400, 4800, 9600, 19.2 K, 38.4 K, 57.6 K , 115.2 K Parity Parity Enabled, Parity Disabled, Even Parity, Odd Parity Flow Cont rol Method XON/XOFF, DTR/DSR Data Reception Errors Print “?”[...]

  • Pagina 53

    Chapter 5: Communication Interface A794 Owner’s Guide December 1999 48 Parallel Interface The printer i s also available wit h an IEEE-1284 paral lel interface. The printer configuration must be set to the pa rallel interf ace using the printer’s Configuration Menu de scribed in the “Dia gnostics and Configura tion” sec tion of the A794 Ser[...]

  • Pagina 54

    Chapter 6: Programming Information ♦ Command Conventions ♦ List of C o mman d s and Locations By Command Code By Function ♦ Comparisons ♦ Command D escriptions Printer Function Commands Vertical P ositioning and Print Commands Horizontal P ositioning Commands Print Char acteristics Commands Graphics Commands Status Commands Batch Mode Real [...]

  • Pagina 55

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 50 Command Conventions The following informa tion descr ibes how ea ch command is or ganize d: Name: Name of command . ASCII: The ASCII control code. Hexadecimal: The Hexadecimal con trol code. Decimal: The Decimal control co de. Value: A desc ription of the command operand s. Ra[...]

  • Pagina 56

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 51 List of Commands and Location Commands control all operations a nd functions of the printer. This includes selecting the size and placement o f characters and graphics o n the receipt to feeding and cutting the paper. The operation of various printers may be emulated by the co[...]

  • Pagina 57

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 52 Code (Hexad ecimal) Comm and Page 1B 21 n Select Print Mode 82 1B 24 n L n H Set Absolute Sta rting Position 73 1B 25 n Select or Cancel User-Defined Ch aracter Set 83 1B 26 s c1 c2 n1 d1...nn dn Define User-Defin ed Character Set 83 1B 27 m a0 a1 a2 d1 … dn W rite to User D[...]

  • Pagina 58

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 53 Code (Hexad ecimal) Comm and Page 1B 75 n Request Alternate Status 102 1B 75 0 Transmi t Peripheral Device Status 102 1B 76 Transmi t Paper Sensor Status 103 1B 7B n Select or Cancel Upside Down Print M ode 88 1D 00 Return Boot Se ctor Firmwa re Par t Number 136 1D 01 Return S[...]

  • Pagina 59

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 54 Code (Hexad ecimal) Comm and Page 1D 6B m d1...dk 00 Print Bar Code 122 1D 6B m n d1...dn Print Bar Code 122 1D 72 n Transmi t Status 107 1D 77 n Select Bar Code Width 123 1D FF Reset Firmware 138 1F 04 n Convert 6 Do ts/mm Bitmap to 8 D ots/mm Bitmap 100 1F 05 n Select Supers[...]

  • Pagina 60

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 55 By Func tion All items in BOLD are new or have additional functio nality when com pared to the A793. Printer Function Commands Code (Hexad ecimal Comman d Page 10 Clear Printer 61 19 Perform Full Knife Cut 61 1A Perfo rm Partial Knife Cut 62 1B 07 Genera te Tone 62 1B 3D n Sel[...]

  • Pagina 61

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 56 Horizontal Positioning Commands Code (Hexad ecimal Comman d Page 09 Horizo ntal Tab 72 1B 14 n Set Column 72 1B 24 nL nH Set Absolute Sta rting Position 73 1B 44 [n] k 00 Set Ho rizontal Tabs 74 1B 5C n1 n2 Set Relative Print Position 75 1B 61 n Select Justification 76 1D 4C n[...]

  • Pagina 62

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 57 Graphics Commands Code (Hexad ecimal Comman d Page 11 n1 … n72 Print Raster Gr aphics 92 1B (+*.bmp) Download BMP Logo 93 1B 2 A m n1 n2 d1…dn Select Bit Image Mode 94 1B 2E m n rL rH d1 … dn Advanced Raster Garphi cs 96 1B 4B n1 n2 d1…dn Select Single-Density Graphi c[...]

  • Pagina 63

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 58 Barcode Comma nds Code (Hexad ecimal Comman d Page 1D 48 n Select Pri ntin g Pos ition fo r HRI Ch aracters 121 1D 66 n Select Pit ch for HRI Ch aracters 121 1D 68 n Select Bar Code Height 121 1D 6B m d1…dk 00 or 1D 6B m n d1…d n Print Bar Co de 122 1D 77 n Select Bar Code[...]

  • Pagina 64

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 59 Flash Download Commands Code (Hexad ecimal Comman d Page 1B 5B 7D Switch Flash Downlo ad Mode 135 1D 00 Return Boot Sector Firmware Part Number 136 1D 01 Return Segment Number Status of Flash Memory 136 1D 02 n Select Fl ash Memory Sector t o Down load 136 1D 06 Get Fi rmware [...]

  • Pagina 65

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 60 Comparisons The following table d etails the list of comma nds whose beha vior diffe rs from the A793 and the A794 because of the physical differences of a 6 dots/mm head (A793) versus an 8 dots/mm head (A794). Command Description Difference between previous product and new pr[...]

  • Pagina 66

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 61 Command Descriptions Printer Func tion Comma nds The printer f unction commands contr ol the following basic printe r functions and are described in order of th eir hexadecimal codes: ♦ Resetting the printer ♦ Cutting the paper ♦ Opening the cash drawers Clear Printer AS[...]

  • Pagina 67

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 62 Perform Partial Knife Cut ASCII SUB ESC m Hexadecimal 1A 1B 6D Decimal 26 27 109 Partially cuts the receipt. The default setting lea ves 5 mm. (0.20 inch) of paper on the left edge. (See Setting Partial Cut Distance in Diagnostics.) There are two co des (Hex 1A or 1B 6D) for t[...]

  • Pagina 68

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 63 Initialize Printer ASCII ESC @ Hexadecimal 1B 40 Decimal 27 64 Default: Character P itch: 15.6 CPI Colum n Wi dth: 44 characters Extra Dot Rows: 3 Character Set: Code Page 437 Printing Position: Column One Clears the print line buffer and resets the prin ter to the default set[...]

  • Pagina 69

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 64 Select Pape r Sensors to Output Pa per End Signals ASCII ESC c 3 n Hexadecimal 1B 63 33 n Decimal 27 99 51 n Value of n: If either bit 0 or bit 1 is on, the paper r oll near-end se nsor is selected as the paper sensor outputting paper-end signals. If either bit 2 or bit 3 is o[...]

  • Pagina 70

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 65 Select Sens ors to Stop Printing ASCII ESC c 4 n Hexadecimal 1B 63 34 n Decimal 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 [...]

  • Pagina 71

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 66 Generate Pulse t o Open Cash Drawer ASCII ESC p n p 1 p 2 Hexadecimal 1B 70 n p 1 p 2 Decimal 27 112 n p 1 p 2 Value of n: 00, 48 (D ecimal) = Dr awer 1; 01, 49 (Decimal ) = Drawer 2 Value of p1: 0-255 Value of p2 : 0-255 Sends a pulse to open the cash drawer. Formulas The val[...]

  • Pagina 72

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 67 Print Test Form ASCII AX t Hexadecimal 1F 74 Decimal 31 116 Prints the current printer configuration settings on the receipt. Disabled in Page Mode.[...]

  • Pagina 73

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 68 Vertic al Positioning and Print Com mands The vertica l positioning and print comma nds control the ver tical print positions of characters on th e receipt. Print and Feed One Line ASCII LF Hexadecimal 0A Decimal 10 Prints one line from the buffer and feeds paper on e line. Ca[...]

  • Pagina 74

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 69 Feed n Dot Rows ASCII NAK n Hexadecimal 15 n Decimal 21 n Value of n: n / 203 inch Range of n: 0-255 in A794 Nati ve Mode 0-127 in A793 Emulat ion Feeds the paper n dot rows ( n /8 mm, n /203 inch), wit hout pri nting . Receipt m oves n rows if the print buffer is empty. Relat[...]

  • Pagina 75

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 70 Print ASCII ETB Hexadecimal 17 Decimal 23 Prints one line from the buffer and feeds paper on e line. Executes LF on receipt. Related Infor mation This command is recognized in A793 Emulation and A794 Native Mode, ignored in TM-T88 Emulati on. Set L ine Spacing to 1/6 Inch ASCI[...]

  • Pagina 76

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 71 Print and Feed Paper ASCII ESC J n Hexadecimal 1B 4A n Decimal 27 74 n Value of n: n / 203 inch in A794 Native Mode and TM-T88 Emulat ion Mode n /360 inch in A793 Emul ation Mode Range of n: 0-255 Prints one line fro m the buffer and feeds the paper n /8 mm ( n /203 inch). The[...]

  • Pagina 77

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 72 Horizonta l Positioning Comm ands The horizonta l positioning commands c ontrol the horiz ontal print positions of characters on th e receipt. The commands describe operation for 80 mm paper. If the printer supports 82 .5 mm paper, the dot spacing is the sam e but there are 64[...]

  • Pagina 78

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 73 Set Abs olute Starti ng Posi tion ASCII ESC $ n L n H Hexadecimal 1B 24 n L n H Decimal 27 36 n L n H Value of n: n = Number of dots to be moved from the be ginning of the line . n L = Remainder after dividing n by 256. n H = Integer after dividing n by 256. The values for nL [...]

  • Pagina 79

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 74 Set Horizontal Tab Pos itions ASCII ESC D [ n ] …k NUL Hexadecimal 1B 44 [ n ] …k 00 Decimal 27 68 [ n ] …k 0 Value of n: Column number for ta b minus one. ( n is always less than or equal to the current selected column w idth) Value of k: 0-32 Default: Every 8 character[...]

  • Pagina 80

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 75 Set Re lativ e Print P ositi on ASCII ESC n1 n2 Hexadecimal 1B 5C n1 n2 Decimal 27 92 n1 n2 Value of n: To Move the R elative Starting Position R ight of the Current Position: n = Number of dots to be m oved right of the current po sition n1 = R e mainder after dividing n by[...]

  • Pagina 81

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 76 Compatibility Inf ormation (A794 r eceipt vs. A793 receipt) There is a difference in the normal behavior of this command in A794 Emulation Mode as compared to the original A793. The difference exists when the command is used to move to the left. Th e A793 processes the whole p[...]

  • Pagina 82

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 77 Set Left Margin ASCII GS L nL nH Hexadecimal 1D 4C nL nH Decimal 29 76 nL nH Range of nL: 0-255 Range of nH: 0-255 Default: 576 dots (the maxi mum printable area) Formulas Sets the left margin of the printing area. The left ma rgin is set to (( nH X 256) + nL ) times horizonta[...]

  • Pagina 83

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 78 Set Printing Area Width ASCII GS W nL nH Hexadecimal 1D 57 nL nH Decimal 29 87 nL nH Range of nL: 0-255 Range of nH: 0-255 Default: 576 dots (the maxi mum printable area) Sets the width o f the printing area. If the setting exceeds the printable area, the maximum value of the [...]

  • Pagina 84

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 79 Print Characteri stics Command s These commands control what the printed information looks like, selection of character sets, def inition of custom-de fined c harac ters, a nd setting of ma rgins. The c ommands ar e described in order of th eir hexadecimal codes. The commands [...]

  • Pagina 85

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 80 Select 90 De gre e Counter-Clock wis e Rota ted Print ASCII ESC DC2 Hexadecimal 1B 12 Decimal 27 18 Rotates characters 9 0 degrees counter-clockwise. The command rema ins in effect until the printer is reset or until a Clear Printer (0x10), Select o r Cancel Upside Down Print [...]

  • Pagina 86

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 81 Set R ight- Side Character Spacing ASCII ESC SP n Hexadecimal 1B 20 n Decimal 27 32 n Range of n: 0 – 32 Default: 0 Sets the right side chara cter spacing to [ n x hor izontal or ve rtical motion units]. Values for this comma nd are set indepe ndently in standa rd and Page M[...]

  • Pagina 87

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 82 Select Print M ode ASCII ESC ! n Hexadecimal 1B 21 n Decimal 27 33 n Value of n: Pitch selection (stan dard, compressed, double high, o r double wide.) Value of n Bit 1 Functi on 0 1 Bit 0 Pitch 2 (See chart below) Standard Pitch Compressed Pitch Bit 3 Emphasized Mode Canceled[...]

  • Pagina 88

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 83 Select or C ancel User-Defined Character Set ASCII ESC % n Hexadecimal 1B 25 n Decimal 27 37 n Value of n: 0 = Code Page 437 1 = User Defin ed (RAM) 2 = Code P a ge 850 Range of n: 0-2 Default: 0 (Code Pag e 437) Selects the character set. When an undefined RAM character is se[...]

  • Pagina 89

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 84 Top of Characte r dn MSB LSB d1 d2 d3 d4 d5 dn Defines and enters downloaded characters into RAM . The command may be used to overwrite single characters. User-defin ed characters are available until power is turned off or the Initialize Pr inter comma nd (1B 40) is receive d.[...]

  • Pagina 90

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 85 Copy Character Set from ROM to RAM ASCII ESC : 0 0 0 Hexadecimal 1B 3A 30 30 30 Decimal 27 58 0 0 0 Default: current active RO M Code Page Copies characters in the active R OM set to RAM. Use this command to re-initialize the User-Defin ed Character Set. Co de Page 437 is co p[...]

  • Pagina 91

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 86 Select or Canc el Emphasize d Mode ASCII ESC E n Hexadecimal 1B 45 n Decimal 27 69 n Value of n: 0 (bit 0) not selected 1 (bit 0) selected (When 0 and 1 are the Least Significant Bit, LSB) Range of n : 0-255 Default: 0 (Off) Starts or stops emphasized printin g. The printer is[...]

  • Pagina 92

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 87 Select or Cancel Italic Print ASCII ESC I n Hexadecimal 1B 49 n Decimal 27 73 n Value of n: 0 = Off 1 = O n (When 0 and 1 are the Least Significant Bit, LSB) Default: 0 (Off) Turns Italic Print Mode on or off. The printer is reset to the standard Print Mode after a Clear Print[...]

  • Pagina 93

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 88 Select or Cancel 90 Degr ee Clockwise Ro tated Print ASCII ESC V n Hexadecimal 1B 56 n Decimal 27 86 n Value of n: 0 = Cance l 1 = Set Default: 0 (Cancel) Rotates charac ters 90 degrees clockwise. The comma nd remains in effect until the printer is rese t or until a Cle ar Pri[...]

  • Pagina 94

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 89 Character Width Selectio n Hex Decimal Wid th 00 0 1 (normal) 10 16 2 (two times width ) 20 32 3 (three times width) 30 48 4 (four times width) 40 64 5 (five tim es width) 50 80 6 (six times width) 60 96 7 (seven times wi dth) 70 112 8 (eight times w idth) Character Heigh t Se[...]

  • Pagina 95

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 90 Select Or C ancel Whit e/Black Reverse Print Mode ASCII GS B n Hexadecimal 1D 42 n Decimal 29 66 n Value of n: 0 = Off 1 = O n (When 0 and 1 are the Least Significant Bit, LSB) Range of n : 0-255 Default: 0 (Off) Turns on White/ Black Reverse Print Mode. In White/Black Reverse[...]

  • Pagina 96

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 91 Select Superscrip t or Subscript Modes ASCII AX ENQ n Hexadecimal 1F 05 n Decimal 31 05 n Value of n: 0 = Normal charact er size 1 = Select subscript siz e 2 = Select superscript siz e Default: 0 (norma l size) Turns superscript or subscript modes o n or off. This attribute ma[...]

  • Pagina 97

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 92 Graphic s Comma nds These commands are used to enter and print graphics data and are described in order of their hexadecimal codes. These commands describe operation for 80 mm paper. If the printer supports 82 .5 mm paper, the dot spaci ng is th e same but there are 640 pri nt[...]

  • Pagina 98

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 93 Download BMP Logo ASCII: ESC (+*.BMP file) Hexadecimal: 1B (+*.BMP file) Decimal: 27 (+*.BM P file) Value: Maximum width = 576 Maximum height = 512 Enters a downloaded B MP logo into RAM or Flash. The downloaded BMP logo can be printed by using the Print Downloaded Bit I mage [...]

  • Pagina 99

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 94 Select B it Imag e Mode ASCII ESC * m n 1 n 2 d 1 ... d n Hexadecimal 1B 2A m n 1 n 2 d 1 ... d n Decimal 27 42 m n 1 n 2 d 1 ... d n Value of m : Value of m Mode No. of Do ts (Vertical) No. o f Dots (Hor izo ntal) No . of Dots/Lin e 0 8 Dot Sin gle Densi ty 8 (68 DPI ) 0-288 [...]

  • Pagina 100

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 95 Related Infor mation Top of Bit Image Receipt 8-Do t S in g le-D ensit y M ode d4 d3 d2 d1 dn dn MSB LSB Top of B it Im age 24-Dot Si n g le-Densi ty Mode dn MSB LSB d1 d2 d3 d4 d7 d5 d6 dn[...]

  • Pagina 101

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 96 Print Ad vanced Raster Graghics ASCII ESC . m n r L rH d1 … dn Hexadecimal 1B 2E m n r L rH d1 … dn Decimal 27 46 m n r L rH d1 … dn Value of m: hor izontal of fset fr om left ma rgin = 8 x m dots Value of n : n umber of data bytes that compose the raster Value of r : nu[...]

  • Pagina 102

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 97 Select Double-Dens ity Graphic s ASCII ESC Y n 1 n 2 d 1 ... d n Hexadecimal 1B 59 n 1 n 2 d 1 ... d n Decimal 27 89 n 1 n 2 d 1 ... d n Value of n: Value of n (8-Dot Single Densit y Mode) Value of n (24-Dot Sing le Dens ity Mode ) Value of d n 1 + (256 x n 2) 3 x [ n 1 + (256[...]

  • Pagina 103

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 98 Select the Cur rent Logo ASCII GS # n Hexadecimal 1D 23 n Decimal 29 35 n Range of n: 0 – 255 Selects a 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, th[...]

  • Pagina 104

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 99 Define D ownloaded Bit Image ASCII GS * n 1 n 2 d 1 ... d n] Hexadecimal 1D 2A n 1 n 2 d 1 ... d n] Decimal 29 42 n 1 n 2 d 1 ... d n] Value of n: Value of n 1 Value of n 2 Value of d 1-72 (8 x n 1 = Number of Horizontal Dot Columns) 1-64 (Number o f Vertical Bytes) 1 Bytes of[...]

  • Pagina 105

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 100 Print Downloaded Bit Image ASCII GS / m Hexadecimal 1D 2F m Decimal 29 47 m Value and Range of m: Value of m Print Mode V ertica l DPI H orizontal D PI 0 1 2 3 Normal Double Wide Double High Quadruple 203 203 101 101 203 101 203 101 Prints the downlo aded bit image in RAM or [...]

  • Pagina 106

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 101 Status Command s Status Command Introduction The A794 has th ree methods of providing stat us to t he applicati on. Thes e methods are through Batch St atus Command s, Real Time Status C ommands, a nd Auto Sta tus Back. An application m a y use one or more of th ese methods t[...]

  • Pagina 107

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 102 Transmit Per ipheral Device Status (RS-232C printers only) ASCII ESC u 0 Hexadecimal 1B 75 0 Decimal 27 117 0 Value of returned byte: Bit 0 Bit 1 1 = Draw er 1 Closed 1 = D rawer 2 Clos ed 0 = D rawer 1 Open 0 = Drawer 2 O pen Bits 2-7 are not used. Transmits current status o[...]

  • Pagina 108

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 103 Transmit Paper S e nsor S tatus ASCII ESC v Hexadecimal 1B 76 Decimal 27 118 Values: Status Byte (RS-232) Bit Function 0 Signi fies 1 Signi f ies 0 Receipt Paper Present Low (only if paper lo w sensor is enabled) 1 Receipt Cover Closed Open 2 Receipt Paper Present Out 3 Knife[...]

  • Pagina 109

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 104 Transmit Printer ID ASCII GS I n Hexadecimal 1D 49 n Decimal 29 73 n Value of n: 1, 49 = Printer model ID 2, 50 = Type I D 3, 51 = R OM versio n ID 4, 5 2 = L ogo Definition Transmits the printer ID specified by n a s follows: n Prin ter ID Specification ID (Hexadecimal) 1, 4[...]

  • Pagina 110

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 105 Transmit Pr inter ID, Remote Diagnostics E xtension ASCII GS I @ n Hexadecimal 1D 49 40 n Decimal 29 73 64 n Values of n: Refer to table The command performs the remote d iagnostic func tion specified by n as described in the following table. Value of n Remot e Diagnos tic It[...]

  • Pagina 111

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 106 Value of n Remot e Diagnos tic It em Functi on ASCII Hex Dec â 83 131 R eceipt lines tally Return receipt lines tally, preceded by n to identify Printer returns 10 bytes in above example: â00010000<CR> ä 8 4 132 Knife cut tally, 8 digit ASCII numeric, max 99,999,999 [...]

  • Pagina 112

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 107 Performs the remo te diagnostic function specified by n. Eighteen remot e diagnostic items are defined: eigh t printer ID items and ten printer tally items. A group of four remote diagnostic functions is assigned to each diagnostic item. Most of the diagnostic items are maint[...]

  • Pagina 113

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 108 Printer Status ( n = 1 or n = 49) Bit O ff/On Hex Decimal Status for Tr ansmit Statu s 0O f f On 00 01 0 1 Paper present. Paper exhausted. 1O f f On 00 02 0 2 Cover closed. Cover open. 2O f f On 00 04 0 4 Paper present. Paper exhausted. 3 - - - Undefined. 4 Off 00 0 Not used.[...]

  • Pagina 114

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 109 Send Prin te r Soft ware Vers ion ASCII AX V Hexadecimal 1F 56 Decimal 31 86 The printer returns 8 bytes containing the boot and Flash softw are version. The first 4 bytes returned are an ASCII string for the boot version. The second 4 bytes are an ASCII string for the Flash [...]

  • Pagina 115

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 110 Real Time Commands The Real Time c ommands provide an application inter face to the pr inter even when the printer is not handling other commands (RS-232C communication interface only): ♦ Real Time Status Transmission: GS (Hex 1 D) Sequence and DLE (Hex 10 ) Sequence ♦ Re[...]

  • Pagina 116

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 111 Rules for U sing Real Time Commands Three situations must be understood when using real time commands. First, the printer execute s the Real Time comma nd upon receiving it a nd will transmit status regardless of the condition of the DSR signal. Second, the printer transmits [...]

  • Pagina 117

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 112 Busy Line and Fault Conditions If the printer is in error co ndition (cover is open, paper is exhausted…), the printer will still accept da ta, respond to the batch mode status comma nds (1B 7 6 and 1B 75 0), handle the ca sh drawer commands, a nd not go busy until it actua[...]

  • Pagina 118

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 113 Real Time Status Tra nsmission (continued) 2 = Tr ansmit RS-232C Busy Status Bit St atus He x Dec imal Functi on 0 Off 00 0 Fixed to Off. 1 On 0 2 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 But[...]

  • Pagina 119

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 114 4 = Tr ansmit Receipt Paper Status Bit St atus He x Decima l Functi on 0 Off 0 0 0 Fixed to Off 1 On 0 2 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 paper low sensor enabled) 4 On 1 [...]

  • Pagina 120

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 115 Real Time Request to P rinter GS Sequence DLE Sequence ASCII GS ETX n DLE ENQ n Hexadecimal 1D 03 n 10 05 n Decimal 29 3 n 16 5 n Value of n : 1 = recover and restart 2 = recover an d clear buffers The printer respon ds to a request from the host specified by n . This command[...]

  • Pagina 121

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 116 Real Time Printer Status Transmission ASCII GS ENQ Hexadecimal 1D 05 Decimal 29 5 Transmits one byte status of the printer in rea l time. Value of B yte: Bit St atus Hex Dec imal Function 0O f f On 00 01 0 1 Paper adequate. Paper low (if paper low sensor enabled). 1O f f On 0[...]

  • Pagina 122

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 117 Aut o Stat us Back Select or Cancel Automatic Status Back (ASB) ASCII GS a n Hexadecimal 1D 61 n Decimal 29 97 n Value of n: St atus o f ASB Byte 1= printer information Byte 2= error info rmation Byte 3= paper senso r information Byte 4= paper senso r information The bits of [...]

  • Pagina 123

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 118 Select or Cancel A utomatic Sta tus Back (A SB) ( continued) Exceptions If n = 0, ASB is disabled. Unlike the A793, that had a dedicated connector and resultant dedicated status reporting for each cash drawer, the A794 has a single connector that shares data reporting from ei[...]

  • Pagina 124

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 119 Select or Cancel A utomatic Sta tus Back (A SB) (contin ued) Second B yte ( Error inf ormation) Bit Off/On Hex Decimal Status for ASB 0 - - - Undefin ed 1 - - - Undefin ed 2 - - - Undefin ed 3O f f On 00 08 0 8 No knife error. Knife error occurred. 4 Off 00 0 Not used. Fixed [...]

  • Pagina 125

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 120 Recognizing Data fr om the Printer An applica tion sending va rious Real Time and non-Re al Time comma nds to which the printer responds can deter mine which command a respo nse belongs to by the table below. Responses to ESC u and ESC v are non-Real Time responses and will a[...]

  • Pagina 126

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 121 Bar Code Co mmands These commands format and print bar codes and a re described in order of their hexadecimal codes. These commands describe operation for 80 mm paper. If the printer supports 82 .5 mm paper, the dot spaci ng is th e same but there are 640 pri ntable dots rath[...]

  • Pagina 127

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 122 Print Bar Code First Variation Second Variation ASCII GS k m d1…dk NUL GS k m n d1…dn Hexadecimal 1D 6B m d1…dk 00 1D 6B m n d1…dn Decimal 29 107 m d1 dk 0 29 107 m n d1… dn (0 = End of command ) Selects the bar code type and prints a bar co de for the ASCII charact[...]

  • Pagina 128

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 123 Print Bar Code (contin ued) Second Varia tion Length of Byte S pecifie d at B eginning of S tring The value of m selects the bar code system as described in the table. When details present in the print buffer, th e printer processes the data following m as norma l data. The v[...]

  • Pagina 129

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 124 Page Mode C om m ands Page Mode is one of two modes that the A 794 printer uses to operate. Stan dard Mode is typical of how most prin ters operate by printing data as it is received and feeding paper as the various paper feed commands a re received. Page Mode is different in[...]

  • Pagina 130

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 125 Print Data in Pa ge Mode ASCII ESC FF Hexadecimal 1B 0C Decimal 27 12 Collecti vely print s all buffered data i n the printing area. After printin g, the printer does n ot clear the buffered data and s ets values for Select Print Direction in Page Mode (1B 54 n ) and Set Prin[...]

  • Pagina 131

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 126 Select Standa rd Mode ASCII ESC S Hexadecimal 1B 53 Decimal 27 83 Switches from Page Mode to Standard Mo de. In switching from Page Mo de to Standard Mode, data buffered in Page Mode are cleared, th e printing area set by Set Print Area in Page Mode (1B 57) is initialized and[...]

  • Pagina 132

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 127 Selects the printing direction and start position in Page Mode. See the illustration on previous page. The command can be sent multiple times so that several different print are as, aligned in different print directions, can be developed in th e printer’s page buffer before[...]

  • Pagina 133

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 128 Set Absolute Vertical Print Posit ion in Page Mode ASCII GS $ nL nH Hexadecimal 1D 24 nL nH Decimal 29 36 nL nH Sets the absolute vertical print star ting position for buffer character da ta in Page Mode. The absolute print position is set to [( nL + nH X 256) x (vertical or [...]

  • Pagina 134

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 129 Set Relative Vertical Print Position in Page Mode ASCII GS nL nH Hexadecimal 1D 5C nL nH Decimal 29 92 nL nH Value: The value for the horizonta l and vertica l movement cannot be less than the minimum horizontal move ment amount, and must be in even units of the minimum hor[...]

  • Pagina 135

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 130 Macro Comman d s These command s are used to select and pe rform a user -define d sequence of printer operations. Select or C ancel Macro D efinit ion ASCII GS : Hexadecimal 1D 3A Decimal 29 58 Starts or ends mac ro def inition. Mac ro def inition begins when this command is [...]

  • Pagina 136

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 131 Execute Macro ASCII GS ^ r t m Hexadecimal 1D 5E r t m Decimal 29 94 r t m Value of r: The number of times to exec ute the macr o. Value of t: Th e waiting time for executing the m a cro. Executes a macro. After waiting for a specified period the printer w a its for the Paper[...]

  • Pagina 137

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 132 User Data Storage Co mmands Write t o User Data Sto rage ASCII ESC ‘ m a0 a1 a2 d1 ... dm Hexadecimal 1B 27 m a0 a1 a2 d1 ... dm Decimal 27 39 m a0 a1 a2 d1 ... dm Value of m : 0 – 255 Writes m bytes of data to the User Data Sto rage Flash Page at the address specified. T[...]

  • Pagina 138

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 133 Select Memory Type (SRAM/Flash ) Where to Save Logos or User-Defined Fonts ASCII GS " n Hexadecimal 1D 22 n Decimal 29 34 n Value of n: 48 - 51 n = 48 (ASCII n = 0) Loads ac tive logo to RAM only. This is used to print a special logo but not ha ve it ta ke up Flash Memor[...]

  • Pagina 139

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 134 Flash M e mory User Sectors Allocat ion ASCII GS " U n1 n Hexadecimal 1D 22 55 n1 n2 Decimal 29 34 85 n1 n2 Default Value of n1 : 1 (see below) Default Value of n2 : 1 (see below) n 1 is the number o f 64k sectors used for logos an d user-defined characters. n 2 is the n[...]

  • Pagina 140

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 135 Flash D ownload Comma nds These comma nds are used to load f irmware into the printer. The commands are listed in numerical order according to their hexadecimal codes. Ea ch command is descr ibed and the hexadec imal, dec imal, and A SCII codes a re listed . There are three w[...]

  • Pagina 141

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 136 Return Boot Sector Firmware Part Number ASCII GS NULL Hexadecimal 1D 00 Decimal 29 0 Returns ACK (Hex 06) + 12 bytes ASCII string describing the Flash Memory Boot sector Firmw are part num ber. Ex : 189-1234567A Exceptions Available only in Downloa d Mode. Return Seg ment Nu [...]

  • Pagina 142

    A794 Owner’s Guide Chapter 6: Programming Information December 1999 137 Return M icroprocessor CRC ASCII GS BEL Hexadecimal 1D 07 Decimal 29 7 Returns the CR C calculated over the boot sector code space. Formulas ACK <low byte> <high byte> Erase All Flash Cont ents Except Bo ot Sector ASCII GS SO Hexadecimal 1D 0E Decimal 29 14 Causes[...]

  • Pagina 143

    Chapter 6: Programming Information A794 Owner’s Guide December 1999 138 Downlo ad to Acti ve Flash Sect or ASCII GS DC1 aL aH cL cH d1… dn Hexadecimal 1D 11 aL aH cL cH d1… dn Decimal 29 17 aL aH cL cH d1… dn Value of aL: lo w byte of the address Value of aH: high byte of the address Value of cL: low byte of the count Value of cH: high byte[...]

  • Pagina 144

    A794 Owner’s Guide Index December 1999 139 Index —8— 80 mm paper print zo nes, 27 82.5 mm paper print zo nes, 29 —A— Accessories. Se e Supplies —B— Bar codes, 4 BASIC sending commands, 42 —C— Cables cash drawer, 10 communication, 9 connectin g, 9 power supply, 10 Cash drawer connec tor and pin assignments, 46 Cash drawer cables co[...]

  • Pagina 145

    Index A794 Owner’s Guide December 1999 140 —D— Density of print, 30 Description of printer, 2 DOS sending commands, 42 DTR/DSR protocol, 45 Duty cycle limitations, 31 —F— Features of printer, 4 bar codes, 4 cash drawer driver, 4 characte r sets, 4 interfaces, 4 memory, 4 print columns, 4 print resolution, 4 print speed, 4 —I— IEEE Bi-[...]

  • Pagina 146

    A794 Owner’s Guide Index December 1999 141 —R— Real time command s alter nate impleme ntati on, 1 10 preferred implementation , 110 Receipt not cut, 19 Reset button , 1 1 Rotated pr intin g, 9 1 RS-232C interface, 43 cash dr awer con nector, 4 6 communication conn ectors, 4 5 paramete rs, 47 power connect or, 46 print speed, 43 print timing, [...]

  • Pagina 147

    TM A794-D100 189-9200250 A 12/99 AXIOHM is the name and mar k of AX IOHM © 1999 AXIOHM Printed in U. S.A.[...]