background image

Chapter 6: Commands

A714 Owner’s Guide

April 1998

88

Execute Macro

Execute Macro

Note:

This command is not supported by the Axiohm A714 printer and is ignored.

Executes a previously defined macro. If a macro is not defined, nothing is executed.

Hexadecimal:

Hexadecimal:

1D 5E 

n t m

Decimal:

Decimal:

29 94 

n t m

ASCII:

ASCII:

GS ^ 

n t m

Values:

Values:

n

 = the number of times to execute the macro

t

 = the waiting time before the macro is ready to execute

m

 = the macro execution mode

Ranges:

Ranges:

Hexadecimal:

n

 = 01-FF

t

 = 00-FF

m

 = 00-01

Decimal:

n

 = 1-255

t

 = 0-255

m

 = 0-1

Default:

Default:

n

 = 1

t

 = 1

m

 = 1

Related Information

Related Information

When 

m

 = 0, the macro will execute n times at an interval defined by 

t

.

When 

m

 = 1, the macro is operated via the media advance switch. After waiting the time

specified by 

t

, the LED will blink until the media advance switch is pressed, at which

time the macro will execute once. This process will repeat 

n

 times. During this process,

the media advance switch will not feed media.

Содержание A714

Страница 1: ...A714 Impact Printer Owner s Guide A714 D100...

Страница 2: ......

Страница 3: ...A714 Impact Printer Owner s Guide A714 D100 AXIOHM Ithaca New York...

Страница 4: ...urpose without the express written permission of Axiohm Copyright Copyright 1998 by AXIOHM Ithaca New York USA All rights reserved Printed in USA Confidential Unpublished Property of AXIOHM Trademarks...

Страница 5: ...fication Interface Cable A shielded 360 degree interface cable must be used with this product The shield must be connected to the frame or earth ground connection or earth ground reference at EACH end...

Страница 6: ...ications will not occur in a particular commercial installation If this equipment does cause interference which can be determined by turning the equipment off and on the user is encouraged to contact...

Страница 7: ...guration Report 10 Printer Setup Mode 12 Extended Self Test 15 Chapter 4 When Something Goes Wrong Chapter 4 When Something Goes Wrong 17 17 Problems 18 Other Serious Problems 20 Getting Service 20 Ch...

Страница 8: ...Specifications Appendix A Specifications 89 89 Printing Specifications 89 Speed and Print Modes 89 Paper Specifications 89 Character and Line Specifications 90 Print Zone 90 Power Requirements 90 Env...

Страница 9: ...and the character sets and graphics that are available Where to Get Additional Information Where to Get Additional Information The following publications contain more information about the A714 print...

Страница 10: ...printer designed to meet your immediate and long term needs The industry standard RS 232C communication interface allows the A714 to be connected to any host computer PC or terminal system that uses...

Страница 11: ...upply Paper cutter Ordering Paper and Supplies Ordering Paper and Supplies The following section lists the paper and supplies available for order In addition to paper and ribbon casettes you can order...

Страница 12: ...Guide A714 D100 A714 Impact Printer Setup Guide A714 D110 A714 Impact Printer Service Guide A714 D200 A714 Impact Printer Parts Identification Manual A714 D300 Maintaining and Cleaning the Printer Mai...

Страница 13: ...Chapter 1 About the A714 Printer A714 Owner s Guide April 1998 4...

Страница 14: ...ower Switch Paper Feed Button Power LED Paper Status LED The A714 printer includes the following controls Paper feed button used to advance paper Power switch used to turn the printer on and off The A...

Страница 15: ...is quick and efficient saving both time and paper Caution Do not operate the printer if it runs out of paper The printer will continue to operate but data may be lost and the printhead may be damaged...

Страница 16: ...ading the New Paper Roll New Paper Roll 1 Feed Rollers 2 3 Paper Feed Button 1 Place the new roll into the printer with the paper coming off the bottom of the roll 2 Pull out several inches of paper a...

Страница 17: ...ibbon Cassette Autto Cutter Paper Cover 1 1 2 3 1 Open both printer covers 2 If the printer has an auto cutter lift the cutter bracket up 3 Pull the used ribbon up and out of the printer and discard i...

Страница 18: ...D is red the printer is unable to communicate with the host computer Printhead is homed A fault condition is caused if this action fails The status of all sensors is checked and the status bytes are u...

Страница 19: ...Page Stop Bit Busy on Error Configuration Report Configuration Report The A714 completes a test of internal RAM and a checksum test of internal program memory and then produces a printout listing the...

Страница 20: ...A714 Owner s Guide Chapter 3 Diagnostics April 1998 11...

Страница 21: ...y be available only for printers with particular firmware configurations Option Option Parameters Parameters Printer Emulation DH 4700 Epson TM U200 Epson TM U300 Citizen IDP 3540 Verifone 900 Star SP...

Страница 22: ...Complete the procedure in the previous section Configuration Report on page 10 After the A714 prints the configuration report it prints Press Button Now to Change Setup 2 Press the Paper Feed button...

Страница 23: ...rameter one at a time For example the printer prints the following for the Emulation parameter DH 4700 Epson TM U200 Citizen IDP 3540 etc Press the Paper Feed button after each setting until you see t...

Страница 24: ...prints the configuration report it prints Press Button Now to Change Setup 2 If you want to change the configuration complete the procedure in the section Printer Setup Mode on page 12 Otherwise wait...

Страница 25: ...Chapter 3 Diagnostics A714 Owner s Guide April 1998 16...

Страница 26: ...d relies on the application to indicate the problem You ll be able to fix most problems easily For some problems you will need to contact an Axiohm authorized service representative Any time a problem...

Страница 27: ...med paper or other obstructions Reload the paper if necessary and then close the cover Turn the printer back on Press the Paper Feed button to make sure the paper is no longer jammed LED s Are Lit or...

Страница 28: ...Cause Action Action The red print timing is incorrect The red print timing needs to be adjusted Contact a service representative For more information see Getting Service on page 20 Some Dots Are Missi...

Страница 29: ...cycle or stop when required Illegible characters or light print Paper does not feed Printer does not communicate Getting Service Getting Service For serious problems such as the printer not printing...

Страница 30: ...cate For a description of the protocol associated with the RS 232C interface see RS 232C Interface Protocols on page 22 Sending Commands Sending Commands Once the communication link is established com...

Страница 31: ...nt 0A The communication link the BASIC program sends must be matched to that of the printer RS 232C Interface Protocols RS 232C Interface Protocols The RS 232C interface uses either XON XOFF or DTR DS...

Страница 32: ...s for the connectors and the RS 232C interface parameters The RS 232C parameters are selected in Printer Setup mode For more information see Printer Setup Mode on page 26 The RS 232C parameters must m...

Страница 33: ...rawer connector is an 6 pin modular jack and is located at the back of the printer Pin Number Pin Number Signal Signal Direction Direction Note Note 1 Frame Ground Frame Ground 2 Drive 1 Printer Cash...

Страница 34: ...lt Parity Even Odd None default Corrupt Data Question Mark default Ignore Stop Bit Flow Control XON XOFF DTR DSR default DTR DSR Inverted 1 If necessary turn the printer off 2 Press and hold the Paper...

Страница 35: ...e current setting continue with step 8 8 Wait five seconds to accept the setting The printer then prints the next parameter 9 Repeat steps 7 8 for each parameter 10 When the printer reaches the end of...

Страница 36: ...nventions Each command description in this chapter uses the following outline Description Description Brief description and summary of the command Hexadecimal Hexadecimal Hexadecimal control code Deci...

Страница 37: ...ASCII Code ASCII Code Command Command Page Page 09 HT Horizontal Tab 48 0A LF Line Feed 42 0C FF Print Then Return to Standard Mode Not Implemented 86 0D CR Print and Carriage Return 43 10 04 n DLE EO...

Страница 38: ...hI ESC W xR xI yR yI wR wI hR hI Set Print Area in Page Mode Not Implemented 88 1B 5C m n ESC m n Set Relative Starting Position 51 1B 61 n ESC a n Select Justification 52 1B 63 30 ESC c 0 n Select M...

Страница 39: ...V Select Cut Mode and Cut 41 1D 5C m n GS m n Set Relative Vertical Position in Page Mode Not Implemented 47 1D 5E n t m GS n t m Execute Macro Not Implemented 91 1D 61 n GS a n Select Automatic Stat...

Страница 40: ...cro Commands The following sections list the commands by category and hexadecimal code Printer Function Commands Printer Function Commands The commands listed in this section are Set Horizontal And Ve...

Страница 41: ...ecimal h 00 FF v 00 FF Decimal h 0 255 v 0 255 Defaults Defaults h 0 v 0 Related Information Related Information When h or v is set to 0 the motion units are restored to their default values Immediate...

Страница 42: ...nter is selected and will be active Hexadecimal Hexadecimal 1B 3D n Decimal Decimal 27 61 n ASCII ASCII ESC n Value Value n printer select Range Range n 0 1 Default Default n 1 Reset Printer Defaults...

Страница 43: ...n Decimal Decimal 27 99 48 n ASCII ASCII ESC c 0 n Value Value n media type Range Range Hexadecimal n 00 FF Decimal n 0 255 Default Default n 1 Related Information Related Information OPERAND DEFINITI...

Страница 44: ...Hexadecimal 1B 63 33 n Decimal Decimal 27 99 51 n ASCII ASCII ESC c 3 n Value Value n media out reporting select Range Hexadecimal n 00 FF Decimal n 0 255 Default Default n 5 Related Information Relat...

Страница 45: ...a out condition Hexadecimal Hexadecimal 1B 63 34 n Decimal Decimal 27 99 52 n ASCII ASCII ESC c 4 n Value Value n media out sensor select Range Range Hexadecimal n 00 FF Decimal n 0 255 Default Defaul...

Страница 46: ...ess of the underline for all non rotated characters will be determined by the thickness selected by the Select Underline Mode 1B 2D n command The bold and underline mode selections overwrites any prev...

Страница 47: ...formation Related Information OPERAND DEFINITION OPERAND DEFINITION n n Hex Hex n n Decimal Decimal Print direction Print direction 00 30 0 48 0 left to right 01 31 1 49 90 bottom to top 02 32 2 50 18...

Страница 48: ...drawer output if received at the beginning of a line If f 0 or 48 the first cash drawer on pin 2 is activated and if f 1 or 49 the second cash drawer on pin 5 is activated Hexadecimal Hexadecimal 1B 7...

Страница 49: ...command has the same effect as the GS V 0 command Hexadecimal Hexadecimal 1B 69 Decimal Decimal 27 105 ASCII ASCII ESC i Partial Cut Partial Cut Causes a partial cut to occur if received at the begin...

Страница 50: ...to cut beyond the cut position Range Range Option 1 Option 1 Option 2 Option 2 Hexadecimal Hexadecimal m 00 01 30 31 m 41 42 n 00 FF Decimal Decimal m 0 1 48 49 m 65 66 n 0 255 Related Information Rel...

Страница 51: ...n Minimum Units Print And Feed n Lines Print And Reverse Feed n Lines Set Absolute Vertical Position in Page Mode Set Relative Vertical Position in Page Mode Line Feed Line Feed Prints the data in the...

Страница 52: ...ion Exception If this command is followed by a Line Feed 0A command in order to avoid a double line feed only one command is executed Set Line Spacing to 1 6 Inches Set Line Spacing to 1 6 Inches Sets...

Страница 53: ...feed Range Range Hexadecimal n 00 FF Decimal n 0 255 Default Default n 24 1 6 inches 4 25 mm Print and Reverse Feed Print and Reverse Feed n n Minimum Units Minimum Units Note This command is not supp...

Страница 54: ...I ASCII ESC d n Value Value n the number of line feeds Range Range Hexadecimal n 00 FF Decimal n 0 255 Default Default n 1 Print and Reverse Feed Print and Reverse Feed n n Lines Lines Prints the data...

Страница 55: ...for the print buffer in page mode Hexadecimal Hexadecimal 1D 24 m n Decimal Decimal 29 36 m n ASCII ASCII GS m n Values Values m the remainder of the position in dots n the integer of the position in...

Страница 56: ...hes from the current position in page mode Hexadecimal Hexadecimal 1D 5C m n Decimal Decimal 29 92 m n ASCII ASCII GS m n Values Values m the remainder of the position in dots n the integer of the pos...

Страница 57: ...pacing Set Absolute Print Position Return Home Set Horizontal Tab Positions Set Unidirectional Printing Set Relative Starting Position Select Justification Set Left Margin Set Printing Area Width Hori...

Страница 58: ...7 32 n ASCII ASCII ESC SP n Value Value n the character right side spacing increment Range Range Hexadecimal n 00 FF Decimal n 0 255 Default Default n 0 Set Absolute Print Position Set Absolute Print...

Страница 59: ...umn position 1 Range Range Hexadecimal n 01 FF Decimal n 1 255 Default Default Eight character intervals character 9 17 25 for Font A Related Information Related Information The tab is stored as an ab...

Страница 60: ...ng select Range Range n 0 1 Default Default n 0 Set Relative Starting Position Set Relative Starting Position Sets the relative position Sets the cursor to n x 256 m x 1 450 inches from the current cu...

Страница 61: ...al Hexadecimal 1B 61 n Decimal Decimal 27 97 n ASCII ASCII ESC a n Value Value n justification selection Range Range Hexadecimal n 00 02 n 30 32 Decimal n 0 2 n 48 50 Default Default n 0 Related Infor...

Страница 62: ...m x horizontal or vertical motion units inches This command is valid only when entered at the start of a line and is only active in standard mode Hexadecimal Hexadecimal 1D 4C m n Decimal Decimal 29 7...

Страница 63: ...n ASCII ASCII GS W m n Values Values m the remainder of the printing area n the integer of the printing area Ranges Ranges Hexadecimal m 00 FF n 00 FF Decimal m 0 255 n 0 255 Defaults Defaults Hexadec...

Страница 64: ...s When characters are expanded with different sizes on a single line all of the characters are aligned at the character s baseline Select Underline Mode Select Underline Mode Selects the underline mod...

Страница 65: ...racter Print Selects red character printing if n 1 and disables red character printing if n 0 Hexadecimal Hexadecimal 1B 72 n Decimal Decimal 27 114 n ASCII ASCII ESC r n Value Value n red character p...

Страница 66: ...al Decimal 27 82 n ASCII ASCII ESC R n Value Value n international character set selection Range Range Hexadecimal n 00 0D Decimal n 0 13 Default Default n 0 Related Information Related Information OP...

Страница 67: ...k II 10 Spain II 11 Latin America 12 Korea 13 Set or Cancel Rotated Print Set or Cancel Rotated Print Note This command is not supported by the Axiohm A714 printer and is ignored Cancels 90 character...

Страница 68: ...ecimal 27 116 n ASCII ASCII ESC t n Value Value n international character code page select Range Range Hexadecimal n 00 FF Decimal n 0 255 Default Default n 0 Related Information Related Information O...

Страница 69: ...de Select Character Size in Page Mode Note This command is not supported by the Axiohm A714 printer and is ignored Selects the character expansion Hexadecimal Hexadecimal 1D 21 n Decimal Decimal 29 33...

Страница 70: ...white on black printing if n 1 Hexadecimal Hexadecimal 1D 42 n Decimal Decimal 29 66 n ASCII ASCII GS B n Value Value n reverse printing mode select Range Range n 0 1 Default Default n 0 Select Charac...

Страница 71: ...SCII ASCII ESC s n m andn 1 dn 2 dn s a an 1dn 1 1 dn 1 2 dn 1 s a amdm 1 dm 2 dm s a Values Values s the number of bytes in the vertical direction to be downloaded n the ASCII code of the first chara...

Страница 72: ...the printer A Font Downloaded Data Format A Font Downloaded Data Format msb msb msb msb msb msb msb msb msb msb msb msb d1 d3 d3 d7 d9 d11 d13 d15 d17 d19 d21 d23 lsb lsb lsb lsb lsb lsb lsb lsb lsb...

Страница 73: ...h Delete User Defined Characters Delete User Defined Characters Deletes the selected user defined character After deleting the selected character the corresponding character is printed using the activ...

Страница 74: ...ge mode 1 8 bit single density 2 8 bit double density m the remainder of the number of dots in one horizontal line n the integer of the number of dots in one horizontal line d the downloaded data byte...

Страница 75: ...Chapter 6 Commands A714 Owner s Guide April 1998 66...

Страница 76: ...ots in the horizontal direction n x 8 the number of dots in the vertical direction d the downloaded data bytes Range Range Hexadecimal d 00 FF Decimal d 0 255 Related Information Related Information O...

Страница 77: ...n the print buffer if a downloaded graphics image has not been downloaded or if the downloaded graphics image exceeds one line Hexadecimal Hexadecimal 1D 2F n Decimal Decimal 29 47 n ASCII ASCII GS n...

Страница 78: ...ssion Immediately transmits the selected status as defined in following tables Hexadecimal Hexadecimal 10 04 n Decimal Decimal 16 4 n ASCII ASCII DLE EOT n Value Value n status select Range Range n 1...

Страница 79: ...3 ERROR STATUS 3 ERROR STATUS Value Value Bit Bit Function Function 0 0 1 1 0 Fixed Always 0 1 Fixed Always 1 2 Mechanical Error No Failure Failure 3 Cutter Status No Failure Failure 4 Fixed Always 1...

Страница 80: ...C u n Value Value n cash drawer select Range Range Hexadecimal n 00 30 Decimal n 0 48 Related Information Related Information RETURNED STATUS DEFINITION RETURNED STATUS DEFINITION CASH DRAWER SENSOR I...

Страница 81: ...inter data in a single byte as defined below Hexadecimal Hexadecimal 1B 76 Decimal Decimal 27 118 ASCII ASCII ESC v Related Information Related Information RETURNED STATUS DEFINITION RETURNED STATUS D...

Страница 82: ...ges Hexadecimal n 01 03 n 31 33 Decimal n 1 3 n 49 51 Related Information Related Information OPERAND AND RETURNED STATUS DEFINITION OPERAND AND RETURNED STATUS DEFINITION n n Hex Hex n n Decimal Deci...

Страница 83: ...15 Default Default n 0 Related Information Related Information OPERAND DEFINITION OPERAND DEFINITION Value Value Bit Bit Function Function 0 0 1 1 0 Cash Drawer Disabled Enabled 1 On Off Line Status D...

Страница 84: ...US DEFINITION RETURNED STATUS DEFINITION BYTE 3 MEDIA SENSOR INFORMATION BYTE 3 MEDIA SENSOR INFORMATION Value Value Bit Bit Function Function 0 0 1 1 0 Journal Media Low Always 0 1 Receipt Media Low...

Страница 85: ...S DEFINITION Decimal Decimal n n 1 49 Hex 1 49 Hex n n 01 31 01 31 MEDIA SENSOR INFORMATION MEDIA SENSOR INFORMATION Value Value Bit Bit Function Function 0 0 1 1 0 Media Low Always 0 1 Undefined 2 Me...

Страница 86: ...This command is not supported by the Axiohm A714 printer and is ignored Selects the location of the HRI Human Readable Interpretation characters when printing a bar code Hexadecimal Hexadecimal 1B 48...

Страница 87: ...umber of characters the number of characters sent will determine if the check character is calculated Hexadecimal Hexadecimal 1D 63 n Decimal Decimal 29 99 n ASCII ASCII GS c n Value Value n automatic...

Страница 88: ...n ASCII ASCII GS g n Value Value n bar code ratio select Range Range n 0 2 Default Default n 2 Related Information Related Information OPERAND DEFINITION OPERAND DEFINITION n n Bar Code Ratio Wide Na...

Страница 89: ...d2 d3 dn Values Values m bar code select n number of bar code data characters d bar code data Ranges Ranges Option 1 Option 1 Option 2 Option 2 Hexadecimal m 00 06 m 41 49 n 01 FA Decimal m 0 6 m 65...

Страница 90: ...66 42 2 EAN13 2 02 1 12 n 13 48 d 57 30 d 39 JAN13 67 43 2 EAN8 3 03 1 7 n 8 48 d 57 30 d 39 JAN8 68 44 2 CODE 39 4 04 1 1 n 48 d 57 30 d 39 69 45 2 1 n 255 65 d 90 32 36 37 43 4 5 46 47 41 d 5A 20 2...

Страница 91: ...de Horizontal Expansion Note This command is not supported by the Axiohm A714 printer and is ignored Selects the horizontal size of the bar code Hexadecimal Hexadecimal 1D 77 n Decimal Decimal 29 119...

Страница 92: ...his command is not supported by the Axiohm A714 printer and is ignored First prints then deletes the data in the print buffer The printer returns to standard mode at the start of the next line This co...

Страница 93: ...y the Axiohm A714 printer and is ignored This command is valid only at the beginning of a line in standard mode In page mode the printer images the received data until a print buffer command is proces...

Страница 94: ...inder of the printing area width wI the integer of the printing area width hR the remainder of the printing area height hI the integer of the printing area height Ranges Ranges Hexadecimal xR yR wR hR...

Страница 95: ...Chapter 6 Commands A714 Owner s Guide April 1998 86...

Страница 96: ...of End Position of Macro Definition Definition Note This command is not supported by the Axiohm A714 printer and is ignored Starts a macro definition The macro definition ends when this command is rec...

Страница 97: ...iting time before the macro is ready to execute m the macro execution mode Ranges Ranges Hexadecimal n 01 FF t 00 FF m 00 01 Decimal n 1 255 t 0 255 m 0 1 Default Default n 1 t 1 m 1 Related Informati...

Страница 98: ...andard Double High Double Wide Double High Double Wide Character Sets Character Sets Code Page 254 Space Page Code Page 255 Space Page Code Page 437 PC US Code Page 737 Greek Code Page 850 PC Multilin...

Страница 99: ...1 mm Characters per Inch Pitch Characters per Inch Pitch 13 2 Characters Inch Standard 16 Characters Inch Compressed Print Zone Print Zone The following illustration shows the printable area for the r...

Страница 100: ...e This printer was designed to operate in the environment outlined in this section Operation outside these ranges as defined may lead to degradation of the printer s functionality and reliability and...

Страница 101: ...Appendix A Specifications A714 Owner s Guide April 1998 92...

Страница 102: ...A714 Owner s Guide Appendix B Character Sets April 1998 93 Appendix B Character Sets Appendix B Character Sets Code Page 254 Space Page Code Page 254 Space Page Code Page 254...

Страница 103: ...Appendix B Character Sets A714 Owner s Guide April 1998 94 Code Page 255 Space Page Code Page 255 Space Page Code Page 255...

Страница 104: ...A714 Owner s Guide Appendix B Character Sets April 1998 95 Code Page 437 PC US Code Page 437 PC US NUL HT LF CR GS ESC XOFF XON Code Page 437 SP...

Страница 105: ...Appendix B Character Sets A714 Owner s Guide April 1998 96 Code Page 737 Greek Code Page 737 Greek...

Страница 106: ...A714 Owner s Guide Appendix B Character Sets April 1998 97 Code Page 850 PC Multilingual NUL LF CR GS ESC XOFF XON Code Page 850 SP SP...

Страница 107: ...Appendix B Character Sets A714 Owner s Guide April 1998 98 Code Page 860 PC Portuguese Code Page 860 PC Portuguese...

Страница 108: ...A714 Owner s Guide Appendix B Character Sets April 1998 99 Code Page 863 PC Canadian French Code Page 863 PC Canadian French f Code Page 863...

Страница 109: ...Appendix B Character Sets A714 Owner s Guide April 1998 100 Code Page 865 Nordic Languages Code Page 865 Nordic Languages Code Page 865 NUL LF CR GS ESC XOFF XON SP SP...

Страница 110: ...A714 Owner s Guide Appendix B Character Sets April 1998 101 Katakana Katakana...

Страница 111: ...Appendix B Character Sets A714 Owner s Guide April 1998 102...

Страница 112: ...riage return 43 print and feed n lines 45 print and feed n x 1 144 inches 44 print and reverse feed n lines 45 print and reverse feed n minimum units 44 print characteristics commands 55 print data in...

Страница 113: ...on connector pin assignments 23 RS 232C interface protocols 22 setting parameters 25 using BASIC to send commands 22 using DOS to send commands 21 XON XOFF protocol 22 Configuration report 10 Connecto...

Страница 114: ...changing 8 Ribbon cassette ordering 3 RS 232C communication interface protocols 22 S Service representatives contacting 20 Setup mode 12 Specifications 89 character and line 90 paper 89 print zone 90...

Страница 115: ...Index A714 Owner s Guide April 1998 106...

Страница 116: ......

Страница 117: ...A714 D100 220193F00 0498 AXIOHM is the name and mark of AXIOHM 1998 AXIOHM Printed in U S A...

Отзывы: