Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 1 of 14

A795 Two-Color Thermal Receipt Printer User Guide: Programming Supplement, pages 1 to 10

Pages 1 to 10 of 136

The original document is the PDF (980 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Axiohm A795

Page 1

A795 Two-Color Thermal Receipt Printer

User Guide Programming Supplement

A795-D100 PS Revision E 05/25/05 Includes TPG, Inc. LogoEZ® colorization information Made under one or more of the following U.S. patents: 4886381, 5579043, 5613787, 5651624, 5713678, 5752779, 5789916, 5800080, 5879090, 5887999, 5975776, 6027266, 6085973, 6089450, 6129465, 6155483, 6404452, 6486902, 6504331, 5749277, 6722754, 6739773, 6784909.

Page 2

Federal Communications Commission (FCC) Radio Frequency Interference Statement Warning Changes or modifications to this unit not expressly approved by the party responsible for compliance could void the user’s authority to operate the equipment. Note This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense. Information to the User This equipment must be installed and used in strict accordance with the manufacturer’s instructions. However, there is no guarantee that interference to radio communications 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 TPG, Inc. immediately. TPG, Inc. is not responsible for any radio or television interference caused by unauthorized modification of this equipment or the substitution or attachment of connecting cables and equipment other than those specified by TPG, Inc. The correction of interferences caused by such unauthorized modification, substitution or attachment will be the responsibility of the user. In order to ensure compliance with the Product Safety, FCC and CE marking requirements, you must use the power supply, power cord, and interface cable which are sold for use with this product or which meet the following parameters: Power Supply UL Listed (QQGQ), Class 2 power supply with SELV (Secondary Extra Low Voltage), non-energy hazard output, limited energy source, input rated 100240 Vac, 1.5/0.8 A, 50/60 Hz, output rated 24 Vdc, 2.3 A for 55 watt unit; 100-240 Vac, 2.0A, 50/60 Hz, output rate 24 Vdc, 3.125 A for 75 watt unit. Use of this product with a power supply other than the TPG, Inc. power supply will require you to test the power supply and TPG, Inc. printer for FCC and CE mark certification. Communication 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 of the cable. Use of a cable other than described here will require that you test the cable with the TPG, Inc. printer and your system for FCC and CE mark certification. Power Cord A UL listed, detachable power cord must be used. For applications where the power supply module may be mounted on the floor, a power cord with Type SJT marking must be used. For applications outside the US, power cords which meet the particular country’s certification and application requirements should be used. Use of a power cord other than described here may result in a violation of safety certifications which are in force in the country of use. Industry Canada (IC) Radio Frequency Interference Statement This Class A digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations. Cet appareil numérique de la classe A respecte toutes les exigences du Règlement sur le matériel brouilleur du Canada. Voluntary Control Council for Interference (VCCI) Radio Frequency Interference Statement This is a Class A product based on the standard of the Voluntary Control Council for Interference by Information Technology Equipment (VCCI). If this equipment is used in a domestic environment, radio disturbance may arise. When such trouble occurs, the user may be required to take corrective actions. Disclaimer Information in this document is subject to change without notice. Consult your TPG, Inc. sales representative for information that is applicable and current. TPG, Inc. reserves the right to improve products as new technology, components, software, and firmware become available. No part of this document may be reproduced, transmitted, or translated in any form or by any means, electronic or mechanical, for any purpose without the express written permission of TPG, Inc. Copyright Copyright © 2005 by TPG, Inc. 950 Danby Road, Ithaca, New York 14850, USA. All rights reserved. Printed in USA. Confidential, Unpublished. Property of TPG, Inc. Trademarks TPG, Inc.™ is a trademark of TPG, Inc. and its subsidiaries. Microsoft, Windows NT are registered Trademarks of Microsoft Corporation in the U.S.A. and/or other countries. Inside Out Networks, Inside Out, EPIC, and Edgeport are trademarks of Inside Out Networks. All other trademarks and registered trademarks are the property of their respective holders. Patents Made under one or more of the following U.S. patents: 4886381, 5579043, 5613787, 5651624, 5713678, 5752779, 5789916, 5800080, 5879090, 5887999, 5975776, 6027266, 6085973, 6089450, 6129465, 6155483, 6404452, 6486902, 6504331, 5749277, 6722754, 6739773, 6784909. Web Site http://www.TPGprinters.com

Page 3

A795 User Guide: Programming Supplement

Revision E May 2005

Contents

Contents Chapter 1: About this Supplement ................................................. 9 How to use this supplement ......................................................... 9 Where to find the basics ............................................................... 9 Where to find advanced technical information ............................ 9 Support ........................................................................................ 9 Chapter 2: Diagnostics and Configuration .................................... 11 Start-up Diagnostics .................................................................. 11 Runtime diagnostics .................................................................. 12 Remote diagnostics .................................................................... 12 Indicators ................................................................................... 14 Printer configuration .................................................................. 15 Configuring the printer .................................................................. 16 Communication interface .............................................................. 17 RS-232C serial interface settings .................................................... 17 Diagnostic modes ......................................................................... 18 Enable or disable data scope mode ................................................ 18 Enable or disable receipt test mode ................................................ 19 Printer emulations ......................................................................... 19 Printer settings and functions ........................................................ 20 Select the emulation/software options sub-menu: ...................... 20 Select the hardware options sub-menu to set: ............................. 21 Chapter 3: Programming the Printer ............................................ 23 Overview of commands .............................................................. 23 Comparison to A793 ................................................................... 23 Two-color commands (comparison A794 to A795) ..................... 24 Character appearance ................................................................ 26 Width specifications ...................................................................... 26 Standard .................................................................................. 26 Compressed ............................................................................. 26 Print zones ................................................................................. 26 Print zones for 80mm paper ........................................................... 26 Print zones for 82.5mm paper ........................................................ 27 Rotated printing commands ...................................................... 27 Emulation modes ....................................................................... 28 Print setup in emulation modes ..................................................... 28

3

Page 4

4

A795 User Guide: Programming Supplement Contents

Chapter 4: Programming Commands ........................................ 29 Commands listed by function ................................................. 29 Printer actions ............................................................................. 29 Print and paper feed .................................................................... 30 Vertical and horizontal positioning ............................................... 30 Text characteristics ....................................................................... 31 Graphics ...................................................................................... 32 Status .......................................................................................... 33 Batch mode ............................................................................ 33 Real time ................................................................................ 33 Unsolicited status mode .......................................................... 33 Bar codes .................................................................................... 34 Page mode .................................................................................. 35 Macros ........................................................................................ 35 User data storage ......................................................................... 36 Flash download ....................................................................... 36 Command conventions ............................................................ 37 Command descriptions ............................................................ 38 Printer actions ............................................................................. 38 Clear printer ............................................................................ 38 Perform full knife cut .............................................................. 38 Perform partial knife cut .......................................................... 39 Generate tone ......................................................................... 39 Select peripheral device (for multi-drop) ................................. 39 Initialize printer ....................................................................... 39 Select paper sensors to output paper-end signals ..................... 40 Select sensors to stop printing ................................................. 40 Enable or disable panel button ................................................ 41 Generate pulse to open cash drawer ....................................... 41 Set current color ..................................................................... 42 Select cut mode and cut paper ................................................ 42 Set paper type (ColorPOS®) ...................................................... 43 Set interpretation of “Set current color” command ................... 44 Print test form ......................................................................... 44 Print and paper feed .................................................................... 45 Print and feed paper one line .................................................. 45 Print and carriage return .......................................................... 45 Feed n dot rows ...................................................................... 45 Feed n print lines .................................................................... 45 Add n extra dot rows ............................................................... 46 Print ........................................................................................ 46 Print and feed paper ............................................................... 47 Print and feed n lines .............................................................. 47

Revision E May 2005

Page 5

Revision E May 2005

A795 User Guide: Programming Supplement Contents

Vertical and horizontal positioning ............................................... 48 Horizontal tab ......................................................................... 48 Set horizontal and vertical minimum motion units ................... 48 Set column ............................................................................. 48 Set absolute starting position ................................................... 49 Set vertical line spacing to 1/6 inch .......................................... 49 Set vertical line spacing ........................................................... 50 Set horizontal tab positions ...................................................... 50 Set relative print position ......................................................... 51 Select justification ................................................................... 52 Set left margin ........................................................................ 52 Set printing area width ............................................................ 53 Text characteristics commands ..................................................... 54 Select double-wide characters ................................................ 54 Select single-wide characters .................................................. 54 Select 90 degree counter-clockwise rotated print .................... 54 Select pitch (column width) .................................................... 55 Set right-side character spacing ............................................... 55 Select print mode ................................................................... 56 Select or cancel user-defined character set .............................. 56 Define user-defined character set ........................................... 57 Select or cancel underline mode ............................................. 57 Copy character set from ROM to RAM ...................................... 58 Cancel user-defined character ................................................. 58 Select or cancel emphasized mode ......................................... 58 Select or cancel double-strike .................................................. 59 Select or cancel italic print ....................................................... 59 Select international character code .......................................... 60 Select or cancel 90 degree clockwise rotated print .................. 60 Select international character set ............................................. 61 Select or cancel upside-down print mode ................................ 61 Select character size ............................................................... 62 Select or cancel white/black reverse print mode ...................... 63 Reverse color text mode (ColorPOS®) ....................................... 63 Text strike-through mode (ColorPOS®) ..................................... 64 Select superscript or subscript modes ...................................... 64

5

Page 6

6

A795 User Guide: Programming Supplement Contents

Graphics ...................................................................................... 65 Download BMP logo .............................................................. 65 Select bit image mode .......................................................... 66 Print advanced raster graphics ............................................. 67 Select single-density graphics ............................................. 67 Select double-density graphics ............................................ 68 Select the current logo (ColorPOS®) .................................... 68 Define downloaded bit image (ColorPOS®) ........................... 69 Print downloaded bit image (ColorPOS®) ............................. 70 Print raster monochrome graphics (ColorPOS®) .................. 70 Print raster color graphics (ColorPOS®) ............................... 71 Download logo image (ColorPOS®) ....................................... 71 Apply shading to logo (ColorPOS®) .......................................... 72 Merge watermark mode (ColorPOS®) ....................................... 72 Monochrome shade mode (ColorPOS®) ................................... 73 Color shade mode (ColorPOS®) ................................................ 73 Logo print with color plane swap (ColorPOS®) .......................... 73 Form and merge real time surround graphic (ColorPOS®) ......... 74 Save graphics buffer as logo (ColorPOS®) ................................. 74 Background logo print mode (ColorPOS®) ................................ 75 Apply margin message mode (ColorPOS®) ............................... 75 Shade and store logo (ColorPOS®) ............................................ 75 Logo print with knife cut ......................................................... 76 Set temporary max target speed .............................................. 76 Set LogoEZ® colorization ...................................................... 77 Set LogoEZ® attribute mapping ............................................ 80 Convert 6-dots/mm bitmap to 8-dots/mm bitmap ................ 81 Enable constant speed logos ............................................... 81 Status ........................................................................................ 82 Status command introduction ............................................... 82 Batch mode ........................................................................... 82 Transmit peripheral device status (RS-232C printers only) . 83 Request alternate status (A793 emulation only) .................. 83 Transmit paper sensor status ............................................... 84 Transmit printer ID ................................................................ 85 Transmit printer ID, remote diagnostics extension .............. 86 Transmit status ..................................................................... 88 Send printer software version ............................................... 90 Real time commands ................................................................ 90 Preferred implementation ...................................................... 90 Alternate implementation ...................................................... 90 Rules for using real time commands ................................... 91 Moving data through the buffer ............................................. 91 Busy line and fault conditions .............................................. 91 Real time status transmission .............................................. 92 Real time request to printer .................................................. 93 Real time printer status transmission .................................. 93 Real time commands disable ............................................... 94

Revision E May 2005

Page 7

Revision E May 2005

A795 User Guide: Programming Supplement Contents

Unsolicited status mode ............................................................ 95 Select or cancel unsolicited status mode (USM) ................ 95 Recognizing data from the printer ......................................... 97 Bar codes .................................................................................. 98 Select printing position of HRI characters ............................ 98 Select pitch of HRI characters .............................................. 98 Select bar code height .......................................................... 98 Print bar code ........................................................................ 99 Select PDF 417 parameters ............................................... 101 Select bar code width ......................................................... 102 Page mode .............................................................................. 103 Print and return to standard mode ...................................... 103 Cancel print data in page mode .......................................... 103 Print data in page mode ...................................................... 103 Select page mode ............................................................... 104 Select standard mode ......................................................... 104 Select print direction in page mode .................................... 105 Set print area in page mode ............................................... 106 Set absolute vertical print position in page mode .............. 107 Set relative vertical print position in page mode ................. 107 Macros ..................................................................................... 108 Select or cancel macro definition ....................................... 108 Execute macro .................................................................... 108 User data storage .................................................................... 109 Write to user data storage .................................................. 109 Read from user data storage .............................................. 109 Read from non-volatile memory .......................................... 109 Write to non-volatile memory (NVRAM) ............................. 109 Select memory type (SRAM/flash) ...................................... 110 Flash memory user sectors allocation ................................ 110 Erase user flash sector ........................................................ 111 User storage status (ColorPOS®) ........................................ 112 Flash download ......................................................................... 113 Switch to flash download mode ........................................... 113 Return boot sector firmware part number ............................ 114 Return segment number status of flash memory ................ 114 Select flash memory sector to download ............................ 114 Get firmware CRC ................................................................ 114 Return microprocessor CRC ................................................ 115 Erase all flash contents except boot sector ....................... 115 Return main program flash CRC .......................................... 115 Erase selected flash sector ................................................. 115 Download to active flash sector ........................................... 116 Download paper type description (ColorPOS®) ................... 116 Return paper type description (ColorPOS®) ........................ 117 Reset firmware ..................................................................... 117

7

Page 8

8

A795 User Guide: Programming Supplement Contents

Appendix A: Commands listed by hexadecimal code .............................. 119 By command code ................................................................. 119 Appendix B: Resident Character Sets ..................................................... 1 2 5 Character sets ..................................................................... 1 2 5 Code page 437 (US) ................................................................ 125 Code page 737 (Greek) ........................................................... 126 Code page 850 (Multilingual) ................................................... 127 Code page 852 (Slavic) ........................................................... 128 Code page 858 (with Eurosymbol) .......................................... 129 Code page 860 (Portuguese) .................................................. 130 Code page 862 (Hebrew) ......................................................... 131 Code page 863 (French Canadian) ......................................... 132 Code page 865 (Nordic) ........................................................... 133 Code page 866 (Cyrillic) .......................................................... 134 Code page 1252 (Windows Latin 1) ........................................ 135

Revision E May 2005

Page 9

Revision E May 2005

A795 User Guide: Programming Supplement

9

Chapter 1: About this Supplement

Chapter 1: About this Supplement How to use this supplement This is a supplemental guide providing programming information on TPG, Inc.’s A795 printer. It is written for techsavvy users who are interested in customizing or adjusting printer functionality and is meant to be used in conjunction with the A795 ColorPOS® Two-Color Thermal Receipt Printer: User Guide. If you experience any difficulties during the programming process or feel unsure of adjustments you have made, contact your TPG, Inc. representative for further assistance.

Where to find the basics If you are looking for information on setup or basic operation, refer to the A795 ColorPOS® User Guide. This supplemental guide assumes that you have the A795 ColorPOS® User Guide handy for reference or are already familiar with the printer.

Where to find advanced technical information This guide contains the most complete information available on programming the printer. If you cannot find what you need here or would like further guidance on how to program the printer, contact an TPG, Inc. representative for assistance. If you are having problems with the physical operation of the printer, the A795 ColorPOS® Service Guide, provides in-depth information on diagnostics and service. The A795 ColorPOS® Service Guide is available to qualified service technicians who have been certified by TPG, Inc. to perform advanced procedures.

Support For more advanced procedures and troubleshooting, you may need to refer to the printer’s service guide or speak to an TPG, Inc. technical professional. Your representative is able to provide you with necessary information. For on-line service, refer to the Web site at www.TPGprinters.com or e-mail to: support@TPGprinters.com.

Page 10

10

A795 User Guide: Programming Supplement Chapter 1: About this Supplement

This page intentionally left blank.

Revision E May 2005