OEM Integration Manual P/N 100-88002 Rev B, February 2009
Change History Rev A Rev B Page ii Initial Release Style and formatting update Added USB Watch dog Added several internal code pages.
Federal Communications Commission Radio Frequency Interference Statement The Epic 880TM Printer complies with the limits for a Class A computing device in accordance with the specifications in Part 15 of FCC rules. These regulations are designed to minimize radio frequency interference during installation; however, there is no guarantee that radio or television interference will not occur during any particular installation.
Disclaimer NOTICE TO ALL PERSONS RECEIVING THIS DOCUMENT: The information in this document is subject to change without notice. No part of this document may be reproduced, stored or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of TransAct Technologies, Inc. ("TransAct"). This document is the property of and contains information that is both confidential and proprietary to TransAct.
Table of Contents Change History ............................................................................................................. ii Federal Communications Commission Radio Frequency Interference Statement ...... iii Canadian Department of Communications Radio Interference Statement .................. iii Regulatory Compliance ............................................................................................... iii Disclaimer ...........................................................
The FEED button ........................................................................................................ 25 The Diagnostics/Config button ................................................................................... 27 Using Self-Test ...................................................................................................... 28 Level 0 Diagnostics ................................................................................................ 30 Boot Loader Mode ............
Application Development ............................................................................................ 68 TransAct Control Codes and Commands ................................................................... 68 PcOS Printer Control Codes .................................................................................. 68 Quick PcOS Reference Chart ................................................................................ 70 Low Level Paper Motion Control ..............................
Unicode .................................................................................................................... 202 Unicode Encoding ................................................................................................ 202 File system and the POR.INI file .............................................................................. 204 Font Size and Spacing .............................................................................................
100-88002 Rev B Page ix
Figures Figure 1. Epic 880TM Printer........................................................................................ 11 Figure 2. Epic 880TM Dimensions. .............................................................................. 13 Figure 3. Temperature and Humidity Ranges............................................................. 14 Figure 4. Control panel with FEED and Diagnostics/CONFIG buttons and indicator lights. ............................................................................
Table 9. Possible Character Pitches ........................................................................ 195 Table 10 Requested CPI and Resulting CPI ............................................................ 196 Table 11 Character Pitch ..........................................................................................
Chapter 1 Introducing your Epic 880TM Printer 100-88002 Rev B Page 1
This page intentionally left blank Page 2 100-88002 Rev B
Introducing Your Epic 880TM Printer About your TransAct® Epic 880TM Printer The TransAct® Epic 880TM printer represents the very latest technology for use for thermal receipt printing, specifically designed for the needs of gaming and kiosk applications.
Introducing Your Epic 880TM Printer Who Should Read This Guide? This document provides information useful to original equipment manufacturers (OEM) who will integrate the Epic 880TM printer into their products. What Is Included in This Guide? This Integration Manual includes information on the mechanical, electrical and command language requirements of the Epic 880TM printer. It provides the following information to support your integration efforts: • • • • • • Warranty and technical support information.
Introducing Your Epic 880TM Printer Technical and Sales Support Your printer is backed by the resources of TransAct Technologies, a global technology firm with dedicated technical support and sales assistance. Here is how we can help you: On-line Technical Support Our web site at www.transact-tech.com is your on-line portal to obtaining technical assistance with your TransAct® printer. Click on the Technical Support link to find support information for your printer.
Introducing Your Epic 880TM Printer Return Materials Authorization and Return Policies If a support technician determines that the printer should be serviced at a TransAct facility, and you want to return the printer for repair, we will issue you the Returned Materials Authorization (RMA) number that is required before returning the printer. Repairs are warranted for 90 days from the date of repair or for the balance of the original warranty period, whichever is greater.
Introducing Your Epic 880TM Printer Contact Information TransAct Technologies Incorporated Ithaca Facility 20 Bomax Drive Ithaca, NY 14850 USA TransAct Technologies World Gaming Headquarters & Western Regional Repair Center 6700 Paradise Road Suite D Las Vegas, NV 89119 USA Telephone Main fax Sales fax Technical Support fax Web site 877.7ithaca or 607.257.8901 607.257.8922 607.257.3868 607.257.3911 www.transact-tech.com Western United States: 877.822.8923, Fax: 702.254.
Chapter 2 Epic 880TM Specifications and Requirements 100-88002 Rev B Page 9
This page intentionally left blank Page 10 100-88002 Rev B
Epic 880TM Specifications and Requirements Epic 880TM Specifications and Requirements Figure 1. Epic 880TM Printer. Standard Features The following features are standard for Epic 880TM printers: • • • • • • • • • • • • Integrated printer mechanism/main controller PCB architecture Variable length presenter, capable of handling from 63.5 to 254 mm. (2.5 -10 inches) length tickets Full-cut auto-cutter module as part of printer mechanism Minimum 150 mm (6.
Epic 880TM Specifications and Requirements • • • • • • • • • • • • • • • Drivers for Windows XP and XPe 4 MB minimum flash memory and 8 MB RAM Ithaca command set emulation Power: 24 VDC Power Connector: 4 pin Molex Paper Out, Paper Cover-Open, Paper Low, Top-Of-Form, Jam Detection, Transport Ticket Taken, Head Temperature, and Ticket Retract sensors Ticket retract feature Power and error LED(s) Paper feed button Easy paper loading Portrait or landscape printing under Windows Internal counters to track num
Epic 880TM Specifications and Requirements General Specifications 3.39” (86.13mm) 6.04” (153.62 mm) 4.70” (119.28mm) Figure 2. Epic 880TM Dimensions. Printer Dimensions Max Dimensions Dimensions inches Dimensions millimeters W D (w/out paper) D (with paper guide and w/out paper) H in 4.77 6.05 7.02 3.48 in 121.2 153.7 178.2 88.4 (fully assembled as single unit) Weight Approximate weight 4 lb 1.
Epic 880TM Specifications and Requirements Interface Type Bi-directional serial RS-232 or USB Printer Type Fixed 80 mm linear thermal head. Figure 3. Temperature and Humidity Ranges.
Epic 880TM Specifications and Requirements AC Power Requirements 90-264 VAC at 47-63 Hz. DC Power Requirements Thermal printers require high peak currents based on how many print elements are being used and how often. High density printing requires much more current than low density printing. High density printing in the horizontal axis will put extreme peak loads on the power supply. These high peak currents can cause power supplies to sag, roll back or even shut down.
Epic 880TM Specifications and Requirements 8) When the printer prepares to print, it will activate the print head power and charge a bulk capacitor attached to the print head. This current spike can be up to 15 amps for up to 200uS depending on the charge state of the capacitor. 9) Make sure the power supply specification includes any bezel current requirements. 10) Consider that the frame ground and the 24V return are connected together in the printer.
Epic 880TM Specifications and Requirements Power connector Note: Power may be applied through the 14 pin connector. See the Communications Interface section for more information. Note: The 24V RTN and FRAME pins are connected inside the printer. Test Standards CE MARK (1998) FCC CLASS B EN 60950-1 IEC 60950 (1991) Second Edition with Amendments 1,2,3,4 ROHH/WEEE Accoustic Noise: 58 dbA average (sound pressure level) while printing a rolling ASCII format.
Epic 880TM Specifications and Requirements Printing Specifications Printing method: Vertical/Horizontal dot pitch: Resolution: Line feed pitch: Print zone (typical) Print speed (monochrome): Number of print elements: Thermal Sensitive Line Dot System 0.125 mm. 8 dots per mm (203 DPI) 3.2 mm. (.125 inches) 80 mm (3.15 inches) 6 inches per second 640 dots in-line Paper Roll Specifications Paper Type: Paper Width: One ply thermal paper 79.5 +/- .05 mm (3.13 +/- .02 inches) or 82.0 +/- 0.5 mm. (3.23 +/- .
Epic 880TM Specifications and Requirements Communications Interface RS232 Serial Communications Interface The RS232 Serial interface connector is a 14 position Molex Minifit Jr®., part number 39-30-1140, which mates with Molex part number 39-01-2140 or equivalent.
Epic 880TM Specifications and Requirements USB Interface The USB interface supports USB Version 2.0 High speed or full speed. The standard USB interface is implemented through a standard Series “B” receptacle as defined in the USB Specification. The printer is self-powered and does not draw power from the standard type B USB interface cable.
Epic 880TM Specifications and Requirements The most reliable USB interface is as a USB printing device. The Virtual COM driver is an added layer of code that allows legacy software to believe it is interacting with a serial port.
Chapter 3 Operational Procedures 100-88002 Rev B Page 23
This page intentionally left blank Page 24 100-88002 Rev B
Operational Procedures Operational Procedures How to Operate the Epic 880TM Printer Your Epic 880TM printer contains two buttons (FEED and CONFIG) and four (LED) indicator lights: Paper, Ready, Fault, and Open. These are located on a panel on the right-hand side of the printer. Figure 4. Control panel with FEED and Diagnostics/CONFIG buttons and indicator lights.
Operational Procedures • The feed button is a multifunction button. By pressing and releasing the Feed button, the printer will feed about 5 inches of paper while printing the printer firmware version. This is intended to clear the printer and align the next ticket for print. • By pressing and holding the feed button for a longer time, two additional features may be activated. Pressing and holding the button for about two seconds will enter journal maintenance mode.
Operational Procedures The Diagnostics/Config button The printer has a configuration and diagnostics button on the right side of the printer, labeled CONFIG. Diagnostics/Config Button FEED Button Figure 5. Location of Diagnostics/Config Button. The Diagnostics/Config button is a multifunction button. By pressing and releasing the Diagnostics/Config button, the printer will enter self test mode. This is intended to verify the printer’s operation.
Operational Procedures Using Self-Test Self-Test Mode allows you to perform a series of tests to show if the printer is functioning correctly. To enter self test, momentarily press2 the Diagnostics/Config button on the side of the printer. The Epic 880TM has several Self-Test options. Some are designed to be useful when performing on-site print evaluations. Others are designed for factory setup by TransAct. Once in test mode, the FEED button is used to select the test to be run.
Operational Procedures simply select it. The printer will automatically position the paper and adjust the sensors. If the paper installed does not have black dot markings, the Top-of-Form sensor will be adjusted based on the white level of the paper only. Factory Test The printer is equipped with several factory test modes. These test options are only used for factory burn-in and testing.
Operational Procedures Level 0 Diagnostics Level 0 diagnostics are only run at power up, e.g. when power is first applied. These diagnostics perform the following tasks: Power On 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. Basic System Integrity Vector Integrity RAM Test Flash Boot Loader Integrity Flash Firmware Integrity (NOTE: If the firmware is corrupted, the printer will remain in boot load.) USB Controller Diagnostics and verify.
Operational Procedures Note: In rare cases, it may be required to load the firmware twice. The Epic 880TM contains a flash file system. The complete flash image is sometimes distributed as part of a firmware update. If the file system image is not compatible with the previous firmware configuration, the new firmware may need to reformat the file system. If this occurs, the firmware will have to be reloaded after the flash is reformatted.
Operational Procedures Jam Detected Missed Top of Form Illegal or Bad Command Printer Over Temp Bad Power 5 Blinks 6 Blinks 7 Blinks 8 Blinks 8 Blinks Paper LED will blink fast. Paper LED will blink fast. Fault LED will blink slow. Fault LED will blink fast. Hard Errors Hard errors have a similar blink pattern to soft errors, except that they are slower and repeat every 10 seconds. In general, these errors occur during level 0 diagnostics and are not recoverable.
Operational Procedures electronically configured using the TransAct® configuration tool. Any configuration parameters altered during normal operation will not be saved in the flash copy. The EEPROM will be restored to the value set by the configuration program.
Operational Procedures Loading Paper The Epic 880 printer uses a continuous roll of POS or Lottery grade thermal paper, with specifications outlined in the chapter Epic 880TM Specifications and Requirements. Figure 6. Auto-feeding a Paper Roll. Instructions for auto-feeding the paper are as follows: 1. Place a roll of new paper on the spindle, with the end of the paper unloading from the back to the front of the printer, as shown in the figure. 2.
Operational Procedures Warning: After printing, the print head can be very hot. Be careful not to touch it and let it cool down before you clean it. Do not damage the print head by touching it with your fingers or any hard object.
Chapter 4 Configuring Your Epic 880TM Printer 100-88002 Rev B Page 37
This page intentionally left blank Page 38 100-88002 Rev B
Configuring Your Epic 880TM Printer Configuration Mode Overview There are two ways to configure the Epic 880TM printer: the first is to use the manual configuration sequence by using the CONFIG and FEED key, and the second is to use TransAct’s remote configuration software. TransAct Technologies offers the use of a remote CONFIG program as a fast, easy way for system integrators to configure or reconfigure your Epic 880TM printer.
Configuring Your Epic 880TM Printer Setting up for Color Paper The Epic 880TM may be configured to print two color thermal paper. For good print quality, the printer should be configured to print the paper being used. If the paper you are using is included in the list of papers displayed during printer configuration, that configuration should be used. If not, the printer should be set to Generic Color. If this does not produce acceptable print quality, you may select Custom Color.
Configuring Your Epic 880TM Printer Field Configuration Feature A field configuration feature allows easy setup and configuration of your Epic 880 printer. This feature provides a one-time prompt, on initial power-up, that lets you select from a number of configurations that are pre-loaded for you at the factory. This feature is an option, and must be set up and activated by TransAct.
Configuring Your Epic 880TM Printer list, or press and hold the FEED button to select the displayed configuration. A sample configuration is shown in Figure 8.
Chapter 5 Mounting Requirements 100-88002 Rev B Page 43
This page intentionally left blank Page 44 100-88002 Rev B
Mounting Requirements Mounting Requirements The compact Epic 880 design architecture can be easily configured into end applications, and has multiple mounting points. (Note: All dimensions are shown in inches, and printer is shown without bezel and paper bracket/spindle) M4-4PL 1.25 3.00 .85 4.06 .35 .31 .25 M4-3PL 3.75 Figure 9.
Mounting Requirements Bezel Mounting Specifications Bezel to Printer Mechanism mounting points Epic 880TM printers are designed to accommodate a bezel assembly that is mounted following the hardware and mounting dimensions as listed. The following drawing shows the positioning and dimensions of the Epic 880TM bezel’s mounting points. Front: 2x M3x 0.5 screws and interface with custom bezel. M3 MOUNTING SCREW - 2PL 1.100 4.060 Bezel view .090 MOUNTING BOSS - 2PL Figure 10.
Mounting Requirements Spindle Mounting Options The Epic 880TM spindle assembly can be mounted in one of five locations on the left side of the printer or one of four locations on the control panel side. The following figures show typical mounting locations and cable dressing options. 45˚ Up Spindle Mounting Pivot and Locating Screws Paper Spindle Bracket Figure 11. 45˚ Up Spindle Location Figure 11 shows the 45˚ Up spindle position with the arm at a 45˚ angle up.
Mounting Requirements Straight Back Spindle Mounting Pivot and Locating Screws Paper Spindle Bracket Figure 12. Straight Back Spindle Location Figure 12 shows the straight back spindle position. Note the location of the pivot and mounting screws. 45˚Down Spindle Mounting Pivot and Locating Screws Paper Spindle Bracket Figure 13. Angle Down Spindle Location Figure 13 shows the angle down spindle position with the arm at a 45˚ angle down. Note the location of the pivot and mounting screws.
Mounting Requirements Straight Down Center Spindle Mounting Paper Guide i df Paper Spindle Bracket Pivot and Locating Screws Figure 14. Straight Down Center Spindle Location Figure 14 shows the straight down center spindle position with the arm at a 90˚ angle down. Note the location of the pivot and mounting screws. This location requires that the paper guide be mounted to the printer to assure that the cabling does not interfere with the paper path.
Mounting Requirements Straight Down Rear Spindle Mounting Paper Guide required for this orientation Pivot and Locating Screws Paper Spindle Bracket Figure 15. Straight Down Rear Spindle Location shows the straight down rear spindle position with the arm at a 90˚ angle down. Note the location of the pivot and mounting screws. This location requires that the paper guide be mounted to the printer to assure that the cabling does not interfere with the paper path.
Mounting Requirements Retract Opening When mounting the Epic 800TM printer, clearance must be allowed for a ticket retract opening located on the underside of the front of the unit as shown. Retract opening Figure 16. Retract Opening. The dimensions of this opening are as shown in Figure 17.
Mounting Requirements Figure 17. Dimensions for Retract Opening.
Chapter 6 Printer Sensors 100-88002 Rev B Page 53
This page intentionally left blank Page 54 100-88002 Rev B
Printer Sensors Printer Sensors The Epic 880TM printer uses several sensors to provide feedback to the host system, as pictured in the figures below. Anti-Jam Sensor Paper Out Sensor Top-of-Form Sensor Cover-Open Switch (inside) Figure 18. Sensor Breakdown and Locations. Paper Low Sensor Paper Out Sensor A Paper Out Sensor, mounted to the Lower Paper Guide, optically senses a Paper Out flag located in the ticket path. When the sensor detects the flag, it indicates that the ticket roll is depleted.
Printer Sensors Paper Low Sensor The Epic 880TM has a Paper Low Sensor. This sensor is mounted to the paper spindle and will provide an indication that the paper is getting low. The length of paper remaining when paper low is sensed is dependent on the paper roll core diameter. Anti-Jam Sensor An Anti-Jam Sensor is mounted to the knife frame, and senses the presence of a ticket immediately before and after a knife cut.
Printer Sensors Transport Ticket Retract Sensor The Ticket Retract Sensor, mounted in the Ticket Transport retract path, is used to detect the presence of the ticket in the retract path. Under normal operation, the retract path should be clear after the retract. Transport Ticket Retract Sensor Figure 20. Transport Ticket Retract Sensor.
Chapter 7 Electrical Connections 100-88002 Rev B Page 59
This page intentionally left blank Page 60 100-88002 Rev B
Electrical Connections Communications Interface USB and RS-232 communications are supplied through interface connections at the rear of the printer, as illustrated in the figure. The Serial RS-232 interface connector is a locking Molex connector and the USB interface is a standard USB B connector. Power is supplied through a locking 4-pin Molex connector as shown. Power connector USB port Serial communications port Figure 21. Communication PCB Location and Connector Info.
Electrical Connections Cable connection locations Figure 22 Power and RS232 Left hand Exit Figure 23 Power and USB Left hand Exit Note that the Power and communications cables can also be routed to the right. The unused mounting location in the upper right corner should be used to restrain the cables in a similar fashion as the left exit.
Electrical Connections Printer Block Diagram 100-88002 Rev B Page 63
Chapter 8 Control Codes 100-88002 Rev B Page 65
This page intentionally left blank Page 66 100-88002 Rev B
Control Codes Control Codes Overview This OEM Integration Manual is designed to help users of the Epic 880TM printer develop applications. Because Epic 880TM printers are specialized point-of-sale printers with several features not normally found on general-purpose printers, they have unique control codes that are documented in this manual. Nomenclature When describing control codes, confusion often occurs as to whether the description is decimal, hexadecimal, or ASCII.
Control Codes Standard Emulation The standard control codes for the Epic 880TM Printer are extensions and subsets of the PcOS emulation provided on other TransAct® products. The Epic 880TM printer also supports an emulation of the Epson ESC/POS control language, as well as a Custom VKP80 emulation capability. For details about these emulations, contact TransAct Technical Support.
Control Codes TransAct does not recommend that you generate drivers for emulations other than PcOS. In addition, TransAct has created several tools that can be used to generate and maintain graphic images and files for print on the Epic 880TM. Information about drivers and tools are available on the TransAct web site and on a TransAct® Software Developer’s Toolkit. For more information about either of these options, contact TransAct Technical Support.
Control Codes Quick PcOS Reference Chart ASCII Hex IPCL equivalent code [LF] [CR] 0AH 0DH &%LF &%CR 76 76 [BS] [HT] [ESC] D ... <0> [ESC] n 08H 09H 1BH 44H &%BS &%HT none 77 77 77 1BH 6EH 78 [ESC] a 1BH 61H &%HP &%JR {n=2} &%JC {n=1} &%JL {n=0} 78 [ESC] R 1BH 52H &%HV 78 [ESC] X 1BH 58H none 154 [ESC] + P 1BH 50H none 215 [ESC] + p 1BH 70H none 216 [ESC] J 1BH 4AH 79 Set 1/8-inch line spacing.
Control Codes IPCL equivalent code &%TF Description ASCII Hex Set top of form. Set form length in lines. [ESC] 4 [ESC] C 1BH 34H 1BH 43H Begin auto line feed. (n=0, end n=1) [ESC] 5 1BH 35H Set form length in inches.
Control Codes IPCL equivalent code &%EU &%CC &%PU Page 1BH,63H 0EH 14H 1BH,57H &%CL &%MW &%MN 100 100 100 101 [ESC] _ 1BH,5FH &%CO {n=0} &%MO {n=1} 101 [ESC] - 1BH,2DH 103 [ESC] G [ESC] H [ESC] E [ESC] F [ESC] [ @ ...
Control Codes Description ASCII Hex IPCL equivalent code Select bidirectional or unidirectional print. n=0 Bidirectional n=1 Unidirectional Print graphics in mode .
Control Codes Bar Codes Print bar code. n=0 Interleave 2 of 5 n=1 Code 39 n=2 Code 128 n=3 UPC A n=4 EAN-13 n=5 UPC E n=6 EAN-8 n= 7 Code 93 n = 8 Codabar PDF 417 bar code control Set bar code height. n=0 Restore defaults n=1 – 9 Number of passes (0.11 inch per pass) Set bar code width Set bar code justification, HRI print mode, and print direction.
Control Codes Close File Close All Files Open File [ESC][RS] C [ESC][RS] K [ESC][RS] O FileName<0> [ESC][RS] A FileName<0> [ESC][RS] W [ESC][RS] R [ESC][RS] I [ESC][RS] E [ESC][RS] F [ESC][RS] V 1BH 1EH 43H 1BH 1EH 4BH 1BH 1EH 4FH none none none 223 223 221 1BH 1EH 41H none 223 1BH 1EH 57H none 224 1BH 1EH 52H none 225 1BH 1EH 49H 1BH 1EH 45H 1BH 1EH 46H 1BH 1EH 56H none none none none 225 225 225 226 [ESC] X 1BH 58H none 154 [CAN] [ESC] q
Control Codes Low Level Paper Motion Control Print/Paper Motion [CR] Carriage return ASCII [CR] Hexadecimal 0DH Decimal <13> IPCL &%CR EPOS 0DH Description The [CR] command prints the contents of the print buffer (if any) and resets the next character print position to the left margin. A line feed is not performed unless auto-feed is active. The print rotation direction and the left margin command define the left margin.
Control Codes Horizontal Motion Control Several commands can be used to control the horizontal position of characters. Many applications use space control to position fields. However, the Epic 880TM Printer has the ability to control character position with horizontal tab stops. This is done using the horizontal tab [HT] to move to those tab stops.
Control Codes [ESC] R Reset horizontal and vertical tab stops ASCII [ESC] R Hexadecimal 1BH 52H Decimal <27> <82> IPCL &%HV EPOS none Description The [ESC] R command resets horizontal and vertical tab stops to the power up configuration. The power up horizontal default is every eight spaces, i.e., 9, 17, 25, and so on. The vertical default is every line.
Control Codes Vertical Motion Control [ESC] j Perform a fine line feed ASCII [ESC] J Hexadecimal 1BH 4AH Decimal <27> <74> IPCL &%FM EPOS [ESC] J Description The [ESC] J command prints the contents of the buffer and performs a line feed of n/216 inch. The default line spacing value is not changed. The next character print position is reset to the left margin if the Auto-CR mode is set. Notes: • In EPOS mode, the command performs feeds in n/144-inch increments.
Control Codes [ESC] 1 Set line spacing to 21/216 inch or 7/72 inch ASCII [ESC] 1 Hexadecimal 1BH 31H Decimal <27> <49> IPCL &%SG EPOS none Description The [ESC] 1 command sets the default line spacing to 21/216 inch. Use 21/216-inch line spacing for all-points-addressable (APA) graphics printing.
Control Codes Function Set minimum Line Spacing in Points ASCII [ESC] + V Hexadecimal 1BH 2BH 56H Decimal <27> <43> <86> Range d = 0, 4 – 72 All The [ESC] + V command will set the line spacing in points, where one point is defined as 1/72nd of an inch. If d = 0 variable spacing is selected. Note: This is the minimum spacing. If the character height setting requires a larger spacing, the character height will override this setting.
Control Codes [ESC] d Feed lines at the current spacing ASCII [ESC] d Hexadecimal 1BH 64H Decimal <27> <100> IPCL &%FL EPOS [ESC] d Description The [ESC] d command prints the contents of the buffer (if any) and performs line feeds at the current line spacing. The command does not change the default line spacing value. The next character print position is reset to the left margin. Note: The IPCL command prints from 00 to 99 lines.
Control Codes [ESC] B Set vertical tab stops ASCII [ESC] B ... 0 Hexadecimal 1BH 42H ... 00H Decimal <27> <66> ... <0> IPCL none EPOS [ESC] B ... 0 Description The [ESC] B ... 0 command sets tab stops at line positions specified by . The end of the setting is specified by a <0>. All previously set tabs will be cleared.
Control Codes [ESC] 4 Set top of form ASCII [ESC] 4 Hexadecimal 1BH 34H Decimal <27> <52> IPCL &%TF EPOS [ESC] L Description The [ESC] 4 command sets the top of form to the current position. Note: This command does not operate in or affect page mode. [ESC] C Set form length in lines ASCII [ESC] C Hexadecimal 1BH 43H Decimal <27> <67> IPCL &%SL EPOS [ESC] C Description The [ESC] C command sets the form length to lines at the current line spacing.
Control Codes [ESC] 5 Begin auto line feed ASCII [ESC] 5 Hexadecimal 1BH 35H Decimal <27> <53> IPCL &%MA (Begin) IPCL &%CA (End) EPOS none Description The [ESC] 5 <1> command sets auto line feed mode. [ESC] 5 <0> command ends auto line feed mode. Note: The begin and end auto line feed command overrides the configuration setting.
Control Codes Feed to Black Dot Epic 880TM printers are available with an optional black dot sensor, supported by a feed to black dot command as well as an additional function to adjust the width and offset of the black dot. Note: This is a special order option, and requires an additional sensor and modified firmware. It is not possible to field retrofit a standard Epic 880TM with a black dot sensor.
Control Codes m/203 Cut to center of black dot m/203 Dot Width Note: This command interacts with the Feed to Black Dot command. If the Black Dot paper option is set, the black dot position specified by this command will be used for the Cover Close operation.
Control Codes Character Pitch Function Set Character spacing in points. ASCII [ESC] + I Hexadecimal 1BH 2BH 49H Decimal <27> <43> <73> Range d = 0, 4 – 72 All The [ESC] + I command will set the character spacing in points, where one point is defined as 1/72nd of an inch. This command will force mono-space printing. It will override any character spacing set by the set character height and width commands defined above.
Control Codes Function Set Character spacing in points with adjustment. ASCII [ESC] + J Hexadecimal 1BH 2BH 4AH Decimal <27> <43> <74> Range d = 0, 4 – 72 All The [ESC] + J command will set the character spacing in points, where one point is defined as 1/72nd of an inch. This command will force mono-space printing. It will override any character spacing set by the set character height and width commands defined above.
Control Codes [DC2] Begin 10 cpi character pitch (Legacy Command) ASCII [DC2] Hexadecimal 12H Decimal <18> IPCL &%F3 EPOS [ESC][SP] Description The [DC2] command sets 9.905 characters per inch print pitch. [ESC] : Begin 12 cpi character pitch (Legacy Command) ASCII [ESC] : Hexadecimal 1BH 3AH Decimal <27> <58> IPCL &%F2 EPOS [ESC] [SP] Description The [ESC] : command sets 12.235 characters per inch print pitch.
Control Codes [ESC] [ P Set character pitch ASCII [ESC] [ P Hexadecimal 1BH 5BH 50H Decimal <27> <91> <80> IPCL &%F1, &%F2, &%F3, &%F4, &%F5, &%F6, &%F7 EPOS [ESC] [SP] Description The [ESC] [ P command sets character per inch print pitch to . The printer resolution limits the exact print pitch. The following table lists the exact pitch for various values on . 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Resulting Characters per Inch 1.00 2.00 3.01 4.00 4.95 5.94 6.93 8.00 9.04 9.
Control Codes [ESC] V Set inter-character spacing (Legacy Command) Mode Global ASCII [ESC] V Hexadecimal 1BH 56H Decimal <27> <86> IPCL none EPOS [ESC] [SP] Description The [ESC] V command sets inter-character spacing by adding white space between characters. The value of sets the spacing in 216ths of an inch. The printer can only set the spacing in 208ths of an inch and converts 216ths to the nearest 208th of an inch.
Control Codes Character Font [ESC] # Begin 12 x 12 print mode (Legacy Command) ASCII [ESC] # <0> Hexadecimal 1BH 23H 00H Decimal <27> <35> <0> IPCL &%QT EPOS [ESC] ! Description The [ESC] # <0> command begins 12 x 12 draft like print mode. Draft print is provided to maintain compatibility with other TransAct® products.
Control Codes Character Sets and Code Pages The Epic 880TM Printer is primarily intended to be used in Unicode based systems. However to provide legacy support, the printer supports 8 bit and double byte ASCII encoding with code pages. When not using Unicode or double byte encoding, the printer is restricted to the 8 bit ASCII character set. To support international languages, the characters that are assigned to each of the 256 possible locations can be remapped to any character in the Unicode standard.
Control Codes ... or SYMBOL SET = WE /name = Windows 3.1 Latin 2 /pcl char = E ... /symbols = 32 0x0020 ; Space Code, Prntabl Thin Space 33 0x0021 ; Exclamation 34 0x0022 ; Neutral Double Quote 5 0x0023 ; Number 36 0x0024 ; Dollar ... or \Language = USA \Code Page = 437 0x00 0x0000 ;0 NULL 0x01 0x263A ; 9786 WHITE SMILE 0x02 0x263B ; 9787 BLACK SMILE 0x03 0x2665 ; 9829 BLACK HART SUIT 0x04 0x2666 ; 9830 BLACK DIAMOND SUIT 0x05 0x2663 ; 9827 BLACK CLUB SUIT ...
Control Codes Double-Byte and Multi-Byte Code Page Description Files In ASCII mode the Epic 880TM Printer supports double byte code pages. Currently there are 4 double-byte codepages available and one multi-byte. Double Byte code pages available are: Code page 932, 936, 949 and 950 Multi-byte code page available are GB18030-2000. These code pages require an appropriate Unicode font be loaded that support all the characters in the requested code page.
Control Codes print. To allow other code pages to be created by an application, a redefine character set command is provided. As discussed above, there are two commands for language selection in IBM mode. The first is [ESC] !, which selects one of 19 international character sets. The [ESC] ! command does not allow all of the possible character sets to be selected, it is provided for compatibility with older programs only. The second is [ESC] [ T, which selects any of the 58 code pages.
Control Codes Note: The code page field is a 16-bit field that is a function of the code page numbers and , e.g. ( * 256) +. For example, 1 * 256 + 181 = 437. For the IPCL command, the page is specified in ASCII as a 4-byte field. Note: If the requested code page is not found in the internal maps, the file system is searched for the definition. Function Select character code page by name. All ASCII [ESC] + C Codepage.
Control Codes ASCII [ESC] ^ Hexadecimal 1BH 5EH Decimal <27> <94> IPCL &%CC EPOS [ESC] ^ Description The [ESC] ^ command allows characters from zero to 31 codes to be printed. During normal operation, characters from zero to 31 are control characters. The command turns off control code translation for the following character. can range in value from zero to 255.
Control Codes Character Attributes [ESC] c Select color ASCII [ESC] c Hexadecimal 1BH 63H Decimal <27> <99> IPCL &%CL EPOS none Description The [ESC] c command selects the print color. Where 0 = Black 1 = Red 2 = Green 3 = Blue [SO] Begin one-line double-wide print ASCII [SO] Hexadecimal 0EH Decimal <14> IPCL &%MW EPOS none Description The [SO] command causes subsequent characters to be printed at twice the currently selected character width.
Control Codes [ESC] _ Enable/Disable Strike Through ASCII [ESC] _ Hexadecimal 1BH 5FH 01H Decimal <27> <95> IPCL &%MO (Begin) IPCL &%CO (End) EPOS [ESC] ! Description The [ESC] _ <1> command begins over-score print mode. All subsequent text, leading spaces, and trailing spaces are over-scored. [ESC] _ <0> ends the mode. Note: In EPOS mode, [ESC] ! performs a similar function; however, near letter quality (NLQ) is not available.
Control Codes [ESC] [ @ Set print style: double-wide, double-high, italic control ASCII [ESC] [ @ [EOT] [NUL] [NUL] Hexadecimal 1BH 5BH 40H 04H 00H 00H Decimal <27> <91> <64> <04> <0> <0> IPCL &%DH Double-high, double-wide, and double-space &%SH Single-high, single-wide, and single-space Also, see [ESC] W above. Description The [ESC] [ @ [EOT] [NUL] [NUL] command sets doublewide, double-high, and italic print mode.
Control Codes [ESC] - Begin underline ASCII [ESC] - Hexadecimal 1BH 2DH 01H Decimal <27> <45> IPCL &%MU (Begin) IPCL &%CU (End) EPOS [ESC] ! Description The [ESC] - <1> command begins underline print mode. All subsequent text, leading spaces, and trailing spaces are underlined. [ESC] - <0> ends the mode. Note: In EPOS mode, [ESC] ! performs a similar function; however, near letter quality (NLQ) is not available.
Control Codes [ESC] E Begin emphasized print mode ASCII [ESC] E Hexadecimal 1BH 45H Decimal <27> <69> IPCL &%MM EPOS [ESC] E <1> Description The [ESC] E command begins emphasized print mode (one pass with horizontal offset). Emphasized print is bolder than normal print. [ESC] F End emphasized print mode ASCII [ESC] F Hexadecimal 1BH 46H Decimal <27> <70> IPCL &%CM EPOS [ESC] E <0> Description The [ESC] F command cancels emphasized print mode.
Control Codes [ESC] T End superscript or subscript ASCII [ESC] T Hexadecimal 1BH 54H Decimal <27> <84> IPCL &%SE EPOS none Description The [ESC] T command ends superscript or subscript. [ESC] % G Begin italics ASCII [ESC] % G Hexadecimal 1BH 25H 47H Decimal <27> <37> <71> IPCL &%MI EPOS [ESC] 4 Description The [ESC] % G command begins italic print mode. Note: Italics are not available in all print modes.
Control Codes Page Mode The Epic 880TM supports two operational modes, standard and page mode. In standard mode, as a line of text is received it is buffered and printed when the line feed is received. In page mode the printer waits for a complete “page” (a number of lines) to be received before printing the complete page. The advantage of page mode is that text and/or graphics can be placed anywhere on the page, in any order, and in any of 4 orientations.
Control Codes The [ESC] u command sets the maximum page dimensions. Note that these dimensions are always based on 0 degree rotation. After this, you can enter text and/or graphics as required. Auto-cutter and page mode You may embed an auto-cutter command with in a page definition. The auto-cut command may be placed anywhere in the page definition, however, it will be processed after the page is printed.
Control Codes Receipt or Inserted Form C>>>>> B>>>>> D>>>>> A>>>>> Initial entry location Note 1: This command saves the current right and left margin and sets them to the maximum values for the orientation currently defined. Note 2: During page mode definition almost all printer commands are active. The following table lists the exceptions.
Control Codes position. The complete page definition is printed excluding any blank information at the bottom of the page. Function Set Print Area in Page Mode Enhanced ASCII [ESC] [SUB] S << HL> Hexadecimal 1BH 1AH 53H << HL> Decimal <27><26><83><< HL> IPCL None EPOS [ESC] W Description This command Sets the position and size of the initial area in page mode and sub pages.
Control Codes YOffset
Height < HL> Width < WL> XOffset Figure 25 Page mode set printable area Previous cut Cut to print offset 0.7 in or 18mm Start of page definition Max width is 576 dots Cut point is after bottom most print data.
Control Codes Function Set Printed Area in Page Mode Enhanced ASCII [ESC] [SUB] W << HL> Hexadecimal 1BH 1AH 57H << HL> Decimal <27><26><87><< HL> IPCL None EPOS [ESC] W Description This command is similar Set Print Area in Page Mode command above, however it will force the complete page to be printer rather than only what is used. It will define sub pages, however is intended to set the initial page size.
Control Codes Function Set Print Area in Page Mode Legacy Support Command ASCII [ESC] u
< HL> Hexadecimal 1BH 75H < HL> Decimal <27><117>< HL> IPCL &%PS<0000> EPOS [ESC] W Description This command Sets the position and size of the printing initial area in page mode and sub pages.
Control Codes Function Set Page Mode Entry Position ASCII [ESC] [SUB] A Hexadecimal 1BH 1AH 41H Decimal <27><26><65> IPCL &%PY EPOS [ESC] W Description This command sets the horizontal and vertical entry position to anywhere on the page. It is only valid in page mode. If the value specified is beyond the page boundary, the command is ignored.
Control Codes Function Set Page Mode Entry Position Legacy Support ASCII [ESC] o Hexadecimal 1BH 6FH Decimal <27><111> IPCL None EPOS [ESC] W Description This command sets the horizontal and vertical entry position to anywhere on the page. It is only valid in page mode. If the value specified is beyond the page boundary, the command is ignored.
Control Codes Graphic Mode The Epic 880TM Printer conforms to the basic definition of IBM all-points-addressable (APA) graphic commands. It is not designed to print large quantities of graphical data. The printer only prints graphics that are 2.5 inches wide. At this time, there is no graphics mode for Epson emulation. The Epic 880TM Printer always prints in one of the native resolutions of 203 x 203 dpi.
Control Codes [ESC] Y Print full-speed double-density graphics (120h x 72v dpi) ASCII [ESC] Y Hexadecimal 1BH 59H Decimal <27> <89> IPCL none Description The [ESC] Y command prints + 256 * bytes of double-density graphics (120 dpi) at full speed with no consecutive dots. (The mode is generally used to print 120h by 144v dpi resolutions in two passes).
Control Codes Description The [ESC] ? command reassigns graphic resolution to resolution . Possible values for are K, L, Y, or Z referent to the [ESC] K, [ESC] L, [ESC] Y, and [ESC] Z APA graphics commands.
Control Codes Horizontal Color Graphics The Epic 880TM Printer supports monochrome and color graphics sent as horizontal scan lines. Individual scan lines of graphic data are sent to the printer one line at a time. The Epic 880TM Printer supports only two color printing, however, the horizontal graphic command interface gives full color support for printer graphics. Full color support is provided to establish a full color standard for future printers. Color data is sent in one of three color planes.
Control Codes Note 1: Red, green, and blue pixels set to one at the same location result in a white dot, while red, green, and blue pixels set to zero form a black dot. For black print, one represents a black dot and zero represents a white dot. Note 2: More than one color may be set at a time – for example, setting the color to six would set green and blue simultaneously.
Control Codes Graphics Compression Although the printer compression algorithms are documented, it is recommended that our Windows printer driver be used to generate a graphic image. Our Windows’ printer driver selects the best compression method to use on a scan line by scan line basis. The print driver can be directed to print to file, creating a .prn file. When creating a .prn file, it is recommended that the Start/End Doc settings be cleared in the Start/End Doc tab of the printer properties page.
Control Codes Simple Raster Graphics Simple Raster Graphics prints a horizontal raster of graphics data one or multiple times. Horizontal offset and number of data bytes are variable and specified by parameters. This is a legacy support command and intended to be replaced by horizontal graphics commands. This command does not support compression or color graphics. [ESC] . Simple raster graphic mode ASCII [ESC] . m n rL rH d1...
Control Codes User Store (Graphic Save and Macros) The Epic 880TM Printer maintains about 2.5 Megabytes of flash memory to save user information. The information can be either macros or graphic images. To allow the host application to maintain these groups of data, a series of user store maintenance commands are available. As referenced earlier in this manual, the user can define a limited number of custom characters and define a macro. These character/macro definitions can also be saved in user store.
Control Codes The second saves the received data to a RAM buffer and then saves the buffer by command. In this case data is actually processed as it is received. Begin/End Macro Without proceeding data Function Begin named macro record ASCII [ESC] [US] b <0> Then send the data to be recorded. The printer does not process the data. The terminating <0> may be replaced with an & or redefined. See [ESC] [EM]T or &%UT on page 128. Function ASCII End name macro record [ESC] [US] e
Control Codes User Store Commands Function Load item from user store ASCII [ESC] [US] l <0> Description If the item referenced is a user-defined character set, it is loaded into the current definition. If it is a macro, it is loaded into the macro buffer. It is not processed or printed. To help maintain the user-store area, the following commands can be used. The terminating <0> may be replaced with an & or redefined. See [ESC] [EM]T or &%UT on page 128.
Control Codes Function Begin named macro record ASCII [ESC] [US] b <0> Hexadecimal 1BH 1FH 62H Decimal <27> <31> <98> IPCL &%UB <0> EPOS none Description The [ESC] [US] b <0> command erases the current macro, initializes the macro buffer structure, and redirects the following data to the macro buffer. It uses the field as a reference. If the name already exists in the flash user store, the command is ignored.
Control Codes The terminating <0> may be replaced with an & or redefined. See [ESC] [EM]T or &%UT on page 128. Note: User defined macros must use a .mac extension. Function Load item from user store ASCII [ESC] [US] l <0> Hexadecimal 1BH 1FH 6CH Decimal <27> <31> <108> IPCL &%UL <0> EPOS [GS] 0 <0> is from one to 15 characters and must be null terminated. Description The [ESC] [US] l <0> command loads the referenced item into the appropriate structure.
Control Codes Description The [ESC] [US] s <0> command flags the referenced item to be processed at startup. Only one user character definition and one macro may be flagged to run at startup. The terminating <0> may be replaced with an & or redefined. See [ESC] [EM]T or &%UT on page128 Note: If a character definition is loaded at startup, it is automatically made active. Note: User defined macros must use a .mac extension. Function Delete item from user store ASCII [ESC] [US] d
Control Codes The terminating <0> may be replaced with an & or redefined. See [ESC] [EM]T or &%UT on page 128. Note: The report is also printed as part of the configuration report. Function Redefine User Store Termination Character ASCII [ESC] [EM] T Hexadecimal 1BH 19H 54H Decimal <27> <25> <84> IPCL &%UT EPOS None Description This command allows the terminator used to signal the end of the name field in User Store commands to be modified.
Control Codes Legacy User Macros The following commands are provided for legacy support. They are not intended for new applications. [ESC] g <0> Process user macro ASCII [ESC] g <0> Hexadecimal 1BH 67H 00H Decimal <27> <103> <0> IPCL &%GP EPOS [ESC] g <0> Description The [ESC] g <0> command prints the user-store data buffer.
Control Codes Description The [ESC] g <3> command stops recording graphic save information. The buffer is saved into the user-store nonvolatile memory under the name, “ESCg3_Save” Note: The [ESC] g <3> command is supplied for compatibility with the Series 80PLUS and 90PLUS printers.
Control Codes Bar Codes The Epic 880TM Printer supports the ability to print bar codes. The printer offers a number of formats as defined below. The host does not need to form the graphic image for these bar codes. The host need only send the printer the information to be bar coded and a graphic is generated by the printer. In some cases, a check character is required by the format. In most cases, the printer generates the check character and inserts it correctly in the format.
Control Codes Note: You may print barcodes in page mode. If you rotate these barcodes 90° or 180° you can get significantly longer barcodes. Interleaved 2 of 5 Interleaved 2 of 5 is a high-density, self-checking, continuous, numeric bar code. It is mainly used where fixed-length numeric fields are required. The data field must be an even number of characters. If an odd data field is sent to the Epic 880TM printer, it will be zero padded. Due to space limitations, only 16 characters can be printed.
Control Codes The following table specifies the Code 39 character set. ASCII NUL SOH STX ETH EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US Code %U $A $B $C $D $E $F $G $H $I $J $K $L $M $N $O $P $Q $R $S $T $U $V $W $X $Y $Z %A %B %C %D %E ASCII SP ! “ # $ % & ‘ ( ) * + , . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? Code Space /A /B /C /D /E /F /G /H /I /J /K /L .
Control Codes If the first character is from 1 to 31, the printer will automatically select Code A, B, or C depending on the data present. If the data is all numeric, the data can be printed as pairs. This effectively doubles the amount of data that can be printed. The check digit is generated and printed by the printer. Note: If the first character is greater than <31> and not <135> through <137>, the printer will discard the first character and print the data as defined in Code A..
Control Codes In most cases, the TransAct® supreme will generate the most compact barcode for you. However, if it is desirable to have complete control, the programmer should use manual mode.
Control Codes Code A Space ! “ # $ % & ‘ ( ) * + , . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U Code Stick Code B Space ! “ # $ % & ‘ ( ) * + , .
Control Codes UPC A UPC A is a fixed-length, numeric, continuous code that employs four element widths. The printer supports Universal Product Code Version A, E, EAN-8, and EAN-13. Version A encodes 11 digits. Typically, the UPC A format starts with a number system digit, five-digit manufacturer’s code, five-digit product code, and a check digit. The printer makes no assumptions about any of the codes except the check digit.
Control Codes Four unique start/stop characters, designated A, B, C, and D, are also available. Due to space limitations, only 12 characters can be printed. Note 1: A [CR] may also be used in place of the [ETX] to end the bar code data field. Note 2: Only information that is usable in a particular bar code will be printed. PDF 417 PDF 417 is a two dimensional barcode that will encode the full ASCII character set.
Control Codes v 48 49 50 51 52 53 54 55 56 Level Level Level Level Level Level Level Level Level Level Code Word 2 4 8 16 32 64 128 256 512 0 1 2 3 4 5 6 7 8 The second way is to determine correction level based on the amount of data in the barcode. This is determined by calculating a correction ration based on the formula: Cf = (v * 0.
Control Codes Function Set bar code width ASCII [ESC] [EM] W Hexadecimal 1BH 19H 57H Decimal <27> <25> <87> IPCL &%BW EPOS [GS] w Description The [ESC] [EM] w command sets the minimum bar width. The value may be between 1 and 8. The default is 3. Note: A value of 1 may result in barcodes that are unreadable with some readers.
Control Codes Electronic Journal The Epic 880TM has the capability to store electronic journal8 data in flash memory. There are two ways entries can be made into the electronic journal. The first is by selecting the journal station. The second is by requesting that print data be placed into the electronic journal. Before the electronic journal can be used, it must be configured and initialized.
Control Codes It is up to the end user of the Epic 880TM to implement and use the level of security that is required. CAUTION: If you have initialized the electronic journal and don’t know the password, there is no way to erase the electronic journal without returning the printer for service. The warranty does not cover this. All Epic 880TM’s are shipped with the electronic journal partitioned and erased but not initialized.
Control Codes Function Print the Electronic Journal ASCII [ESC][GS]P< Sl>< Sh>< Ll>< Lh> Hexadecimal 1BH 1DH 50H < Sl>< Sh>< Ll>< Lh> Decimal <27> <29><80> < Sl>< Sh>< Ll>< Lh> IPCL &%EP (L and S are 4 digits ie. 00100020 for 20 records starting at 10) EPOS Description This command prints all or part of the electronic journal. *256 + specifies the first record to be printed and *256 + specifies the number of records to print.
Control Codes Function Set the Electronic Journal Record Header ASCII [ESC][GS]F<0> Hexadecimal 1BH 1DH 46H Decimal <27> <29><70> IPCL None EPOS Description This command allows the record separator that is printed between records to be changed. The default format is: \r\nRecord %d\r\n Where: \r represents CR, \n represents LF, %d represents the position of the record number. Note: The %d must be present. Note: This follows standard “C” programming conventions.
Control Codes Function Query the Electronic Journal ASCII [ENQ]<25> Hexadecimal 05H 19H Decimal <05> <25> IPCL None EPOS Description This is a real time status request that returns the current state of the electronic journal. Return Format: [NAK]<25><42> [NAK] EJ is not active. It is either off, not initialized or full. If nH*256 + nL is not zero, the EJ is available but not initialized and nH*256 + nLis the available space in K (1024) bytes.
Control Codes Printing/Reporting and Resetting the Electronic Journal The electronic journal may be printed on the receipt or reported to the host. The printed report will print each journal entry with an entry separator defined by the user (or, if not defined, with a default). The journal can be erased and reinitialized at any time. It is up to the host application to assure the electronic journal is reported or printed before it is erased.
Control Codes Journal Print Mode Options Initialize Journal If this option is offered, the journal has never been initialized. Selecting this option will initialize the journal with no password. Once initialized, the journal configuration cannot be changed unless the journal is erased by command. Print Complete Journal. This option will print the complete journal log from record 1 to the end. The printer will use the default configuration and emulation to print the log.
Control Codes Electronic Journal Entries There are two ways to place information in the electronic journal. The first is by selecting journal mode. The second is by requesting that validation or receipt information is copied into the electronic journal. If you select journal mode, information sent to the printer is not printed, but stored in the flash memory. The information is stored as records in a linked list. Whenever a “journal mode begin” command is received, a new record is started.
Control Codes The resulting journal entry would then only contain: ---{Date:0} {Time:0:}-ST# 2000 OP# 00067 TE# 021 0035 SUB TOTAL 8.68 SALES TAX 1.50 -----TOTAL 10.18 CASH TEND 20.00 CHANGE DUE 9.82 In carbon copy mode any printer control commands in the record data will be added to the journal record. As the records are printed, those commands will be used to format the print. Some care should be taken to assure that only format control command that you intend to be printed later get in the journal.
Control Codes Journal mode Journal mode is a station select command. All data sent to the printer, following the journal mode select command, is stored in the EJ as a single record. Any control commands sent to the electronic journal will end the journal entry. An EOT, NUL or any printer command will end journal mode. Typically an EOT, CAN or station select will be used to end the journal mode.
Control Codes Carbon Copy Journal Mode Carbon copy mode allows information sent to the receipt or validation station to be copied into the electronic journal. An electronic journal entry is started with a “Start Carbon Copy” mode command and continues until a station select command is received or a “Stop Carbon Copy” command is received. The carbon copy operation may be suspended and restarted by a “Carbon Copy Suspend” and “Carbon Copy Resume” command.
Control Codes Transport Control The Epic 880TM is available with a transport that allows a printed ticket to be delivered only after the ticket is cut. To allow configuration and control of this feature several commands are provided. Note see [ENQ]<29> below for Jam and Transport status. The Epic 880 has a ticket retract feature. It can be configured to automatically retract a ticket after a period of time or by command. This is configurable in the configuration or by command.
Control Codes Function Transport Ticket Retract ASCII [ESC] m Hexadecimal 1BH 6DH Decimal <27> <109> Description This command retracts the ticket being presented in the transport.
Control Codes Miscellaneous Control [ESC] X Set left/right print margins ASCII [ESC] X Hexadecimal 1BH 58H Decimal <27> <88> IPCL none EPOS [ESC] Q Description The [ESC] X command sets left and right print margins in characters from the home position. Where n1 = left margin and n2 = right margin, the absolute position depends on the current print pitch.
Control Codes [ESC] q Query marker ASCII [ESC] q Hexadecimal 1BH 71H Decimal <27> <113> IPCL none EPOS none Description The [ESC] q command returns a status to the host when it is processed. Response [SOH] The [ESC] q command may be placed in the print data and, when processed by the printer, will return a progress status marker. The value of can be any 8-bit value. It is returned to the host unaltered. The intent is for it to be a sequence number.
Control Codes [ESC] p 4 Select paper sensor(s) to stop printing ASCII [ESC] p 4 Hexadecimal 1BH 70H 34H Decimal <27> <112> <52> Range 0 ≤ n ≤ 255 Description The [ESC] p 4 command selects which sensors tell the printer to stop printing. For the default setting, only the Paper Out sensor stops printing. When the paper roll near-end sensor is enabled and the sensor detects a near-end condition during printing, the printer completes the current line and then automatically goes offline.
Control Codes Bit 0 1 2 3 4-7 On/Off Off On Off On Off On Off On - [ESC] ~z Hexadecimal 00H 01H 00H 02H 00H 04H 00H 08H - Decimal Function <0> Paper roll near-end sensor disabled <1> Paper roll near-end sensor enabled <0> Paper roll near-end sensor disabled <2> Paper roll near-end sensor enabled <0> Paper roll end sensor disabled <4> Paper roll end sensor enabled <0> Paper roll end sensor disabled <8> Paper roll end sensor enabled Undefined Table 8 Paper Sensor Commands User Control of Bezel ASCII [E
Control Codes [ESC] y Set control feature commands ASCII [ESC] y Hexadecimal 1BH 79H Decimal <27> <121> IPCL &%Y0-9 or &%YX (for numbers > 9) EPOS [ESC] y Where n 0-1 Not valid 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 20 TM Reinitializes the printer and forces Epic 880 mode Reinitializes the printer and forces extended EPOS mode Disables IPCL commands Enables IPCL commands Disables inquire processing (All command preprocessing is disabled.
Control Codes [ESC] ~ Extended Configuration and Control ASCII [ESC] ~ Hexadecimal 1BH 7EH Decimal <27> <126> IPCL none EPOS [ESC] ~ Description The [ESC] ~ commands are extended diagnostics commands. They must all be preceded with an enabling command. These commands (in general) are not intended to be used by the end user.
Control Codes Remote Power Control The Epic 880TM Printer has a remote power control command that instructs it to enter OFF mode. When the command is issued, the printer performs print cartridge maintenance and enters OFF mode. Unlike manually turning the power off, remote power mode leaves the communications active. All commands except the exit power down command are ignored.
Control Codes Documented Extended Control commands The Epic 880TM has a number of Extended Control commands designed to make operation and maintenance of the printer easier for the host application. For further details, refer to the TransAct® Extended Control discussion in Chapter 8.
Control Codes Printer Status Status Inquire The Epic 880TM Printer is designed for use as part of an automated system where the host computer makes every attempt to correct problems with the printer. In addition, the host application requires that it be able to obtain more information from the printer than is typical of normal computer printers.
Control Codes IEEE 1284 Mode Inquire In parallel IEEE 1284 mode, status information can be returned to the host through the IEEE 1284 reverse channel. After the host makes an inquire request, it activates IEEE 1284 mode 0 reverse channel and waits for a response from the printer. The response to the inquire is identical to serial mode in format. The printer always accepts IEEE 1284 reverse-channel requests but does not accept inquire commands when off-line.
Control Codes [ENQ] <4> Inquire receipt paper out status ASCII [ENQ] <4> Hexadecimal 05H 04H Decimal <5> <4> Function Receipt paper exhausted Response ACK <4> (06H 04H) Receipt paper is present NAK <4> (15H 04H) Receipt paper is exhausted [ENQ] <8> Inquire cover open status ASCII [ENQ] <8> Hexadecimal 05H 08H Decimal <5> <8> Function Cover open/closed status Response ACK <8> (06H 08H) The cover is closed NAK <8> (15H 08H) The cover is open [ENQ] <9> Is the buffer empty? ASCII [ENQ] <9> Hexadecimal 05H 09H
Control Codes When the printer receives a reset command, the printer goes off-line and/or busy until the reset completes. If the host application continues to send information to the printer after a reset command, some of that information may be processed before the reset is processed. After the reset the transport is cleared. If it cannot be cleared a jam status may be issued. Note: If reset inhibit is set in the configuration menu, this command is ignored.
Control Codes [ENQ] <15> Inquire printer state ASCII [ENQ] <15> Hexadecimal 05H 0FH Decimal <5> <15> Function The [ENQ] <15> command returns the current printer state Note: [ENQ] <17> also returns the current printer state, but it should not be used as it conflicts with XON/XOFF flow control. Response [ACK] <15> … Where: <15> : : is the echo of the command ID. is the number of return bytes + 40 (28H) (to prevent confusion with XON/XOFF). bit 0 = 1 always bit 1 = Cover is closed.
Control Codes bit 6 = 1 always bit 7 = 0 always : bit 0 = 1 always bit 1 = Cover is closed. bit 2 = Buffer is empty. bit 3 = Printer has been power cycled, Reading this does not affect the state of the power-cycled flag. (Use [ENQ] <11> to reset the power cycled bit.) bit 4 = Printer is waiting in an error mode. Use [ENQ]<22> to identify the specific error and [ENQ]<10> to recover bit 5 = USB Watch Dog recovery has occurred.
Control Codes [ENQ] <21> Inquire printer ID ASCII [ENQ] <21> Hexadecimal 05H 15H Decimal <5> <21> Function The [ENQ] <21> command returns the printer IEEE 1284 ID string. Response [ACK] <21> {ID string} Where: <21> is the echo of the command ID and is the number of return bytes in the ID string {ID string} is the IEEE ID return string, which follows: MFG:TransAct.; CMD:M880CL,IPCL; CLS:PRINTER; MDL:M880 PcOS; DES:EPIC 880TM; REV:PE8800-01.
Control Codes [ENQ] <22> Inquire error status ASCII [ENQ] <22> Hexadecimal 05H 16H Decimal <5> <22> Function The [ENQ] <22> command reports on the error status. Response [ACK] <22> Where: <22> is the echo of the command ID. is the number of return bytes + 40 (28H) (to prevent confusion with XON/XOFF). : Bit status as follows: bit 0 = Cover is open. bit 1 = Paper is Low bit 2 = Paper is out. bit 3 = 0 bit 4 = Jam Detected. bit 5 = The Auto-Cutter has faulted.
Control Codes [ENQ] <23> Inquire user-store status ASCII [ENQ] <23> Hexadecimal 05H 17H Decimal <5> <23> Function The [ENQ] <23> command reports on the user-store status. Response [ACK] <23> <0> Where: <23> is the echo of command ID. The report is a null terminated string with the following format: 12345[CR][LF] 12345 Type Name…[CR][LF] 12345 Type Name…[CR][LF] (Free user store) (First entry) etc. (Last entry) <0> Type The type field describes the type of information.
Control Codes [ENQ] <29> Inquire Jam/Transport Status ASCII [ENQ] <29> Hexadecimal 05H 1DH Decimal <5> <29> Function The [ENQ] <29> command reports Jam and Transport status. Response [ACK] <29> <41> Where <29> Is the echo of command Status bit 0 = Paper Jammed before the cut bit 1 = Paper Jammed after the cut.
Control Codes [ENQ] <31> Inquire Power Up Error Status ASCII [ENQ] <31> Hexadecimal 05H 1FH Decimal <5> <31> Function The [ENQ] <31> command reports Power up Error status. Response [ACK] <31> <41> Where <31> Is the echo of command Status bit 0 = No Font file found bit 1 = Required files not found bit 2 = File system has faulted bit 3 = No POR.INI File (Default file has been generated) bit 4 = Codepage requested was not found bit 5 = Primary FAT was damaged, the alternate was used.
Control Codes unsigned int Error Vectors; unsigned int Auto Cutter Faults; unsigned int Power On Time; unsigned int System Active Time; unsigned int Head Over Temps; unsigned int Cutter Re-Home; unsigned int Jam Detect L1; unsigned int Jam Detect L2; unsigned int Missed Top of form; unsigned int Configuration Faults; unsigned int Not used; unsigned int Flash File Fault; unsigned int Jam Detect L3; unsigned int Retracts; unsigned int USB Watch Dog; unsigned int RAM Faults; [ENQ] <33> Inquire Firmware ID an
Control Codes [ENQ] <35> Inquire USB Watch Dog Resets. ASCII [ENQ] <35> Hexadecimal 05H 23H Decimal <5> <35> Function The [ENQ] <35> command returns the number of USB Watch dog resets and then resets the count to zero. Response [ACK] <35> <41> Where <35> <41> Page 174 Is the echo of command Length + 40 The number of USB Watchdogs since the last inquire.
Control Codes 100-88002 Rev B Page 175
Control Codes [ESC] [EM]P Activate Periodic Status Back ASCII [ESC] [EM] P Hexadecimal 1BH 19H 50H Decimal <27> <25> <80> IPCL None EPOS None Description This command activates the periodic status back feature. It will automatically return an [ENQ]<20> status (See page 166) on a periodic bases. The value of n is the period in 100 MS intervals. This command is saved through power cycles.
Control Codes Double Level Loader It is desirable in some applications to allow the host application to enter boot load mode and update the firmware. Normally this is prevented by design, and it is not possible for the normal operating mode of the printer to enter the factory boot mode. A Watch Dog timer will reset the printer if abnormal conditions are detected; this timer protects the normal operating mode from being corrupted by an unexpected event.
Control Codes Function Returns Flash Type ID ASCII [STX]E Hexadecimal 02H 45H Decimal <2> <69> Description Returns the Flash Type ID. IE. SGS 29F400B[CR][LF] Function Check and return the operating firmware ID ASCII [STX]K Hexadecimal 02H 4BH Decimal <2> <75> Description Checks the CRC and if valid returns the operating firmware ID. IE. PE8800-2.
Chapter 9 Epic 880TM Color Graphics 100-88002 Rev B Page 179
This page intentionally left blank Page 180 100-88002 Rev B
Epic 880TM Color Graphics Printing Graphics The Epic 880TM Printer has bit-image graphic capability and a full PC-compatible character graphic set. The bit image format is similar to that used on other personal computer printers. Character Graphics Character graphics is the term for joining individual characters together to produce a mosaic of characters that form a graphic image. The simplest method uses an * (or any other character) to form an image.
Epic 880TM Color Graphics APA Graphics The printer is capable of all-points-addressable (APA) or horizontal graphics. This type of graphics is very popular in impact printers. To provide compatibility with legacy applications, The Epic 880TM supports several APA graphics modes. Generating a graphic image by hand is time consuming and tedious. It is recommended that a graphic package be used to create a graphic image. The following procedure will help with the setup. Procedure for APA graphics: 1.
Epic 880TM Color Graphics Epic 880TM Universal Color Graphics The Epic 880TM Printer firmware supports the ability to print color graphics in all emulations. The intent of Universal Color Graphic support is to allow the Epic 880TM graphics capability to be used in existing applications that do not support color graphics as well as all new applications. For new applications, the programmer may code the graphics generator into there printer driver.
Epic 880TM Color Graphics Print File Graphics PJColor can generate a print file that may be sent to the printer in any emulation and print graphics. To generate a print file. 1) Start PJColor 2) Under Settings, select the Epic 880TM printer. Then select the emulation that machines the printer. 3) Select the resolution you would like to have the printer use to print the graphics. Low resolutions are faster, high resolutions produce better graphics. 4) Load the graphics image you wish to print.
Epic 880TM Color Graphics Print a stored graphic. In the data stream to the printer enter "&%URName&" and the graphic will print in place of the "&%URName&" data. The "Name" must be identical to the name entered earlier. Generate a file to store color graphics into a printer To generate a file that will store a color graphic into a printer, follow the same procedure to store a graphic in a printer up through step 8. Then: 1) Insert a name in the "Macro Name" box.
Epic 880TM Color Graphics Note: The & used to flag the end of the Name string is not valid in PcOS TransAct emulation mode. You should use <0> or define the terminator with the &%UTx command. The extended escape sequences are [ESC][US]… and [ESC][FS]… The [ESC][US] commands are the same as the PcOS emulation. The [ESC][FS] commands are not intended to be used by the customer.
Epic 880TM Color Graphics Universal Graphics Command Descriptions &%UB & Begin named universal graphic record IPCL &%UB & Description The &%UB & command initializes the universal graphic buffer structure, and redirects the following data to the universal graphic buffer. It uses the field as a reference. If the name already exists in the flash user store, the command is ignored.
Epic 880TM Color Graphics &%UFALL& Flush information from user store IPCL &%UFALL& Description The &%UFALL& command clears all entries in user store and frees the data space. It must have the name, “ALL” (in uppercase) attached. &%UQ& Report on user store IPCL &%UQ& Description The &%UQ& command prints a status report. The intention of the command is to aid in universal graphic development.
Epic 880TM Color Graphics Bitmapped File Graphic Support It is possible to load a bitmap file into the printer and print it directly by command. The standard bitmap two color and 16 color bitmap file formats are supported. To use this feature, load a bitmap file into the printer using the file support commands or the Windows® interface tool. These files can then be printed with the Print Bitmap File command. It is also possible to print a bitmap file passed from the host as data.
Epic 880TM Color Graphics Epic 880TM Coupon-Cut-Logo Feature The Epic 880TM printer has a feature that will allow a coupon and or logo graphic to be printed as part of the existing auto cutter command. To activate this feature, it must first be configured. Configuration consists of specifying in what order the Coupon-Cut-Logo is processed and optionally, how much paper is to be feed after the new cut operation. Once configured, the Coupon and/or logo must be defined and loaded into the printer.
Chapter 10 Unicode and Fonts 100-88002 Rev B Page 191
This page intentionally left blank Page 192 100-88002 Rev B
Unicode and Fonts Fonts Your TransAct® Epic 880TM printer uses outline and/or stroke based scalable fonts. These fonts provide you wish additional font options as well as improved character appearance, while functioning transparently within legacy applications. Such fonts represent a substantial improvement to the so-called bitmap fonts that are traditionally used for thermal printers, which are based on a pixel by pixel definition of characters.
Unicode and Fonts Stroke-based characters With stroke based characters, the points stored are along the center line. Less than half the points are needed to render stroke based characters. This improves character-generation performance and uses less space. This type of character generation is fast and efficient, and is ideally suited for Asian fonts. Character Size The character generation engine used in the Epic 880TM internally uses a standard point based system to specify the character size.
Unicode and Fonts The Epic 880TM always prints at 203 dots per inch (dpi) and always uses the scalable font to form characters. The resulting characters are not necessarily exactly the dot size indicated, but are always spaced in a fixed dot cell provided that the legacy commands are used. Adding or subtracting space between characters achieves different character pitches with a fixed character cell size. As each dot has a fixed size and position, only specific pitches are possible.
Unicode and Fonts 14 14 14.50 30 6 33.83 15 13 15.62 NOTE: Combinations shown in shaded areas are not recommended. Table 10 Requested CPI and Resulting CPI If the requested spacing is zero, the character spacing will be defined by the character definition, and will result in variable spacing. Line spacing The legacy commands select line spacing as lines per inch. With scalable characters, the lines per inch is a minimum spacing.
Unicode and Fonts Stacked or Linked fonts The Epic 880TM also uses a font stacking technology where fonts are linked together. This means that as each character is looked up, the first font in the stack containing the character is then printed. For example, if a customer would like to replace several standard characters with custom characters, a user defined font can be provided that would, if first in the link, replace the characters n the standard font.
Unicode and Fonts TransAct Technologies provides a basic WGL4 font with the printer. This may be supplemented or replaced with a GB18030 Chinese font upon request. The printer will accept TrueType and compressed stroke fonts as defined by Monotype. If required, the customer may supplement the TransAct supplied fonts with their own custom fonts. WARNING: If you elect to load fonts into the printer you must have proper rights to that font.
Unicode and Fonts Bitmap Fonts It is possible to use bitmap fonts with the ITherm 280 Printer. Bitmap fonts are fixed pitch and are not scalable. They will only function as legacy fonts. The printer is optionally supplied with 4 legacy bitmap fonts. They are in a 10x24, 12x24 draft font format and a 16x24 near letter quality format. They are defined as follows: BMFont0 = chr10x24.bft 10 x 24 draft font with typical spacing of 16 characters per inch BMFont1 = chr12x24.
Unicode and Fonts 02 ........... 03 ........... 04 ........... 05 ........... 06 ........... 07 ........... 08 ........... 09 ........... 10 ........... 11 ........... 12 ........... 13 ........... 14 ........... 15 ........... 16 ........... 17 ........... 18 ........... 19 ........... 20 ........... 21 ........... 22 ........... 23 ........... 24 ........... ; N=0002 U=0021 01 ........... 02 ........... 03 ...00...... 04 ...00...... 05 ...00...... 06 ...00...... 07 ...00...... 08 ...00...... 09 ...00....
Unicode and Fonts 04 .00..00.... 05 .00..00.... 06 .00..00.... 07 .00..00.... 08 ........... 09 ........... 10 ........... 11 ........... 12 ........... 13 ........... 14 ........... 15 ........... 16 ........... 17 ........... 18 ........... 19 ........... 20 ........... 21 ........... 22 ........... 23 ........... 24 ........... ; N=0004 U=0023 01 ........... 02 ........... 03 ........... 04 .....00.... 05 ..00.00.... 06 ..00.00.... 07 ..00.00.... 08 ..00.0000.. 09 ..0000000.. 10 0000000.... 11 0000.00..
Unicode and Fonts Unicode As computer systems started to address more and more international environments, the classic ASCII standard with code pages became unworkable. Several competing systems were developed. however it was clear that a standard needed to be developed. In 1991 Version 1.0 of the Unicode standard was developed, to standardize how and where characters are to be addressed in an expanded addressing scheme. In 2000 Version 3.0 of the Unicode standard was published and generally accepted.
Unicode and Fonts UTF-8 uses a Multiple Byte Character Sequence (MBCS) to identify the desired Unicode character. This encoding method is less straightforward but preserves some of the 8-bit character of ASCII encoding.. This method uses unique bit sequences at the MSBs of a byte to determine its location and meaning within the MBCS encoding. See the table below for more information. If UTF-8 is selected all data sent to the printer must be encoded. All command parameters over 127 must be encoded in UTF-8.
Unicode and Fonts File system and the POR.INI file The Epic 880TM Printer supports a file system to support TransAct Technologies fonts and allow the user to load and link custom fonts. The POSFile tool provides a Windows interface to the printer and will allow fonts and configuration files to be loaded into the printer. This tool can read and write the POR.INI file, however the TransAct supplied fonts can not be read or deleted from the printer.
Unicode and Fonts ;EmulationMode = Font,Horizontal,Vertical,Width. ; Where: ; If Font = 0 Use Linkfont else 1-4 above. ; If Font is 100 or greater use BMFont (Font - 100). BMFonts only used Width. ; Horizontal and Vertical are in 8th points, Width in Dots. Custom1s = 0,56,72,10 Custom1l = 0,64,72,14 Custom2s = 0,64,72,14 Custom2l = 0,64,72,18 Epson1 = 0,56,72,10 Epson2 = 0,64,72,14 PcOS1 = 0,56,72,10 PcOS2 = 0,64,72,14 PcOS3 = 0,80,80,18 PcOS4 = 0,80,80,20 [bmfont] ;There may be up to 8 bitmap fonts.
Unicode and Fonts Function Select Font All ASCII [ESC] + 3 Hexadecimal 1BH 2BH 31H Decimal <27> <43> <51> Description The [ESC] + 3 command selects the font for printing. This command is used to select a previously loaded font based on its alias. Note: Selecting font 0 will select the linked font. If the selected font does not exist, the previous font will remain in effect.
Unicode and Fonts Function Initiate Unicode UTF-16BE Encoding All ASCII [ESC] + H Hexadecimal 1BH 2BH 48H Decimal <27> <43> <72> Description The [ESC] + H command will put the printer into UTF-16BE character encoding mode of operation. If you wish to access characters above 255, you must select a Unicode encoding such as UTF-16BE. You must select a downloaded font, as described in this section, before issuing this command.
Unicode and Fonts Function Initiate Unicode UTF-8 Encoding (MBCS) All ASCII [ESC] + M Hexadecimal 1BH 2BH 4DH Decimal <27> <43> <77> Description The [ESC] + M command will put the printer into UTF-8 character encoding mode of operation. If you wish to access characters above 255, You must select a Unicode encoding such as UTF-8. You must select a downloaded font, as described in this section, before issuing this command.
Unicode and Fonts Function Initiate Normal 8-bit ASCII Character Encoding All ASCII [ESC] + A Hexadecimal 1BH 2BH 41H Decimal <27> <43> <65> Description The [ESC] + A command will put the printer into normal character encoding mode of operation. One byte = one character. In this mode international characters must be selected by selecting the appropriate code page for translation.
Unicode and Fonts Font Size and Spacing The font typically defines the character size and line spacing. The typical font is proportional spaced. That is the spacing between characters varies. This is not always the most desirable mode of operation. To give the programmer some additional control over character spacing and line height, the Accutherm Supreme provides a width and height override command.
Unicode and Fonts Font Size and Spacing command interactions There are interactions between some of the following commands and some of the legacy font selection commands. These interactions need to be considered when developing a application for this printer. This printer uses a font rendering engine that relies on the font to provide character size and spacing information. Unfortunately, legacy applications assume all characters are the same and that the character size and spacing is fixed.
Unicode and Fonts Command Zero [ESC] + P, [ESC] + p [ESC] + P, [ESC] + p Width 0 [ESC] + I, [ESC] + i [ESC] + I, [ESC] + i [ESC] + J, [ESC] + j [ESC] + J, [ESC] + j [ESC]I Page 212 Character height From command From command Cell Width Width Not Zero Character width Same as Height From Command Value 0 No effect No effect From Font Value Not zero Value 0 No effect No effect No effect No effect From Command From Font Value Not zero No effect No effect From POR.
Unicode and Fonts Function Set minimum character height and width in points. ASCII [ESC] + P Hexadecimal 1BH 2BH 50H Decimal <27> <43> <80> Range w = 0, 4 – 72 h = 4 - 72 All The [ESC] + P command will set the minimum character width or height based on “w” for the width and “h” for height, where “w” and “h” are in points, defined as 1/72nd of an inch increments. If the character width is set to zero, the height will be used for the width and proportional spacing will be used.
Unicode and Fonts If d = 0 variable spacing is selected. Note: If the current character size is too large for the selected spacing, the characters will overlap. Variable spacing is recommended. Function Set Character spacing in ¼ points. ASCII [ESC] + i Hexadecimal 1BH 2BH 69H Decimal <27> <43> <105> Range d = 0, 16 – 255 All The [ESC] + i command will set the character spacing in points, where ¼ point is defined as 1/288th of an inch. This command will force mono-space printing.
Unicode and Fonts Function Set Character spacing in points with adjustment. ASCII [ESC] + j Hexadecimal 1BH 2BH 6AH Decimal <27> <43> <106> Range d = 0, 16 – 255 All The [ESC] + j command will set the character spacing in points, where ¼ point is defined as 1/288th of an inch. This command will force mono-space printing. It will override any character spacing set by the set character height and width commands defined above.
Unicode and Fonts Function Set minimum Line Spacing in ¼ Points ASCII [ESC] + v Hexadecimal 1BH 2BH 76H Decimal <27> <43> <118> Range d = 0, 16 – 255 All The [ESC] + v command will set the line spacing in ¼ points, where ¼ point is defined as 1/288th of an inch. ASCII Hexadecimal Decimal Range [ESC] + v 1BH 2BH 76H <27> <43> <118> d = 0, 16 – 255 If d = 0 variable spacing is selected. Note: This is the minimum spacing.
Unicode and Fonts 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Resulting Characters per Inch 1.00 2.00 3.01 4.00 4.95 5.94 6.93 8.00 9.04 9.90 10.95 12.23 13.00 13.87 14.86 IPCL &%F7 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 &%F3 &%F2 &%F6 Resulting Characters per Inch 16.00 17.33 17.33 18.91 20.8 20.8 23.11 23.11 23.11 23.11 26 26 26 29.71 29.71 IPCL &%F1 &%F5 &%F4 Table 11 Character Pitch This command disables any right-side spacing set by the [ESC] V command.
Chapter 11 File System 100-88002 Rev B Page 219
This page intentionally left blank Page 220 100-88002 Rev B
File System File System Interface The Epic 880TM provides a file system to support fonts, configuration information, user graphics and macros. There are a number of commands that are provided to support the file system. In general, files need to be opened for read or write, read or written, and then closed. There is a command that will delete a file, and print or return a file directory.
File System Definition Partition 0= System 1= User .udf 1 Undefined macro type .mac 1 Command Macro .img 1 Graphic image. (Internal format) .bgp 1 Bitmapped internal graphic .cfg 0 configuration. .ttf 0 true type font .ccc 0 compressed stroke font .cpm 0 code page map. .bmp 1 bitmap graphic file .gph 1 raster graphic file. .ini 0 System information file .sys 0 Load image .sy_ 0 Compressed load image.
File System Function Close File command. ASCII [ESC] [RS] C Hexadecimal 1BH 1EH 43H Decimal <27> <30> <67> Description The [ESC] [RS]C command will close the currently open file. All Function Close All Files command. All ASCII [ESC] [RS] K Hexadecimal 1BH 1EH 4BH Decimal <27> <30> <75> Description The [ESC] [RS]K command will close the font system and close all currently open files. Internal fonts will be reopened automatically if used. Function Delete File command.
File System Function Return the last file command status. ASCII [ESC] [RS] ? Hexadecimal 1BH 1EH 3FH Decimal <27> <30> <63> All The [ESC][RS]? Command requests the file system to return the status of the last file operation. This command returns an identifier byte, followed by 2 bytes indicating the status results of the last file command.
File System Function Read File command. All ASCII [ESC] [RS] R Hexadecimal 1BH 1EH 52H Decimal <27> <30> <82> Description The [ESC] [RS]R command requests that data be read from the file and returned to the host. The parameters specify the length of data that should be returned where LH * 256 + LL specifies the number of returned bytes. The data is treated as binary data with no translations.
File System Function Verify files. All ASCII [ESC] [RS] V Hexadecimal 1BH 1EH 56H Decimal <27> <30> <86> Description The [ESC] [RS]V opens and reads the VERIFY.CFG file. This file contains a list of all files that are to be validated in the printer and the expected CRC of the file. If all the files verify, this command will return VG followed by it’s 2 byte CRC. If any of the files do not verify, the command will return VB followed by it’s 2 byte CRC. For example the file might look like this: Por.
Chapter 12 Epic 880TM Extended Printer Control 100-88002 Rev B Page 227
This page intentionally left blank Page 228 100-88002 Rev B
Epic 880TM Extended Printer Control The Epic 880TM printer has a number of Extended Control commands that allow an application to better track and maintain the printer. These commands are part of each supported emulation17. The printer maintains a log of printer activity. This activity may be returned to the host with the [ESC]~ T command. This command returns a ~T followed by four binary bits that make up a 32 bit unsigned integer. The description of the command below describes the format in full.
Epic 880TM Extended Printer Control 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 Page 230 Power Up Resets Watchdog Resets Base Flash Erases Ext Flash Erases Auto Cutter Cycles Init Requests Error Vectors Auto Cutter Faults Power On Time (Min.) System Active Time (Min.
Epic 880TM Extended Printer Control Function Print Current Configuration and Totals ASCII [ESC] y <9> or [ESC] ~ <9> Hexadecimal 1BH 79H 09H Decimal <27> <121> <9> Description This command forces the printer to print the current configuration. To function correctly it must be issued with the printer in the proper emulation mode. It is intended to be printed in the default TransAct® configuration but will print in any configuration. Note: This command must be preceded with an ESC y <8>.
Epic 880TM Extended Printer Control Remote Printer Reset Reset in Serial Mode It is possible to generate a software printer reset in serial mode. The [ENQ] <10> command requests that the printer reset. (This is not a hardware reset). The reset completely initializes the hardware and software, but the printer does not recover from a loss of software control. Note: If the printer mode was changed by the [ESC] y <2> or <3> command, a soft reset will not return to the power on default.
Epic 880TM Extended Printer Control Miscellaneous Communication Features Power-cycle Recovery Sometimes the host needs to know if the printer was power cycled. An example would be after the receipt tape was changed. It is not necessary to turn off the printer to change the receipt. However, if the operator does, any information sent to the printer before the power cycle will be lost. The Epic 880TM Printer has a flag that is set after a reset. The flag stays set until the host requests a reset.
Epic 880TM Extended Printer Control Remote Boot Load Mode Remote boot load mode is entered by command. The boot image data format is preparatory to TransAct and is not documented here. There are however a few commands that are useful to determine if the printer is in the boot load mode and if a boot load has been successful.
Epic 880TM Extended Printer Control USB Recovery Watch Dog The USB link can be susceptible to various errors that can cause it to stop functioning. This typically happens when noise is introduced into the cable resulting in a buffer overrun at the host. This can cause a hub or a USB driver to suspend interaction with whatever device appeared to be the source of the problem. When this happens, the only way to recover the link is to disconnect from the device and then reconnect.
Epic 880TM Extended Printer Control Note that the ENQ 35 command will reset the count and will also reset the status reported by ENQ 20. ENQ 20 does not reset the count. It simply reports that it occurred. To keep track of how often this process is being used there is a printer statistics log entry that will be incremented when a USB watch dog disconnect actually occurs. This can be printed or reported to the host. Note: This total is not reset by the ENQ 35 command.
Epic 880TM Extended Printer Control Recovery from Mechanical Errors The TransAct Inquire commands and the Epson [DLE][ENQ] and [DLE][EOT] commands allow most printer error status to be read and in some cases recovery attempted. Paper jams and auto-cutter faults can be recovered, however, any data not previously printed will be lost. If the application is to support error recovery, the application should use the appropriate status request commands to query the printer periodically.
Chapter 13 Epic 880TM Programmers Notes 100-88002 Rev B Page 239
This page intentionally left blank Page 240 100-88002 Rev B
Epic 880TM Programmers Notes General Notes When the serial port is used, it is important that the output lines from the printer not be shorted or back driven. If the signals are not to be used, they should be left open. The best time to configure the printer from the host using remote configuration is during system setup or software update. What Drivers Are Needed Deciding what drivers are needed can be confusing. This section is included to make that process easier.
Epic 880TM Programmers Notes Windows and most other operating systems that support USB will recognize this class and provide a standard interface to the application. Do you want to use USB and simulate a communication port? The TransAct Virtual Serial (TVS) USB Driver allows your application to think that it is communicating with a serial port, but is actually using the USB link to communicate with the printer.
Epic 880TM Programmers Notes Windows Printer Driver A Windows printer driver is a Microsoft specific, Microsoft defined, type of driver that the OS uses to translate drawing commands by a Windows application to a specific printer’s command set. A window’s printer driver is a graphics page mode driver. It is not a POS (Point of Sale) driver.
Epic 880TM Programmers Notes OPOS driver An OPOS driver is an implementation of the UnifiedPOS (UPOS) specification. It provides an application interface for retail devices viz. POSPrinter, Scanner, Cash drawer, Pole Display, MICR, Scale etc. PC Hardware Windows Operating System POS Application OPOS POS Printer Driver OPOS Printer Control (ActiveX) Port Driver Port Hardware Serial Serial OR Parallel OR Parallel OR USB OR USB bus. OR Whatever OR Whatever.
Epic 880TM Programmers Notes USB driver: A USB driver is a low level device driver, required for USB communication with the printers. It is a plug and play driver and needs to be installed for USB printers, when the printer is initially plugged into the system. Windows Operating System USB Interface OPOS Driver USB Driver USB PRINTER USB Interface Windows Driver USB Interface Windows Print App.
Epic 880TM Programmers Notes POSPrinter Activex Control (POSPrinter OCX): This is not a driver; it is a software component that provides a connection from an application to a port driver. This allows an application to communicate “directly” with a printer. This approach allows an application to send the commands, it wants to, to the printer. This approach is similar to the “old DOS days” of talking to a POS printer. PC Hardware Windows Operating System POS Application POSPrinter.
Appendix A: Unicode Character Addresses Appendix A: Unicode Character Addresses Note: This information is based on the Unicode 3.0 Standard. For specific character locations see the Unicode standard. Note: The Epic 880TM does not contain all possible Unicode characters. The default character sets are defined by the WGL4 standard.
Appendix A: Unicode Character Addresses Page 248 0x2000 0x2070 0x20A0 0x20D0 0x2100 0x2150 0x2190 0x2200 0x2300 0x2400 0x2440 0x2460 0x2500 0x2580 0x25A0 0x2600 0x2700 0x27C0 0x2800 0x2900 0x3000 0x3040 0x30A0 0x3100 0x3130 0x3190 0x31A0 0x3200 0x3300 0x3400 0x206F 0x209F 0x20CF 0x20FF 0x214F 0x218F 0x21FF 0x22FF 0x23FF 0x243F 0x245F 0x24FF 0x257F 0x259F 0x25FF 0x26FF 0x27BF 0x27FF 0x28FF 0x2FFF 0x303F 0x309F 0x30FF 0x312F 0x318F 0x319F 0x31FF 0x32FF 0x33FF 0x4DFF 0x4E00 0x9FA6 0xAC00 0xD7A4 0xD800 0xDB
Appendix B: WGL4.0 Character Addresses Appendix B: WGL4.0 Character Addresses Note: This information is based on the Microsoft's Typography web page.
Appendix B: WGL4.
Appendix B: WGL4.
Appendix B: WGL4.
Appendix B: WGL4.
Appendix C: GB18030 Character Addresses Appendix C: GB18030 Character Addresses There are 28575 Characters in this set.
Appendix C: GB18030 Character Addresses 039F 03A0 03A1 03A3 03A4 03A5 03A6 03A7 03A8 03A9 03B1 03B2 03B3 03B4 03B5 03B6 03B7 03B8 03B9 03BA 03BB 03BC 03BD 03BE 03BF 03C0 03C1 03C3 03C4 03C5 03C6 03C7 03C8 03C9 0401 0410 0411 0412 0413 0414 0415 0416 0417 0418 0419 041A 041B 041C 041D 041E 041F 0420 0421 0422 0423 0424 0425 0426 0427 0428 0429 042A 042B 042C 042D 042E 042F 0430 0431 0432 0433 0434 0435 0436 0437 0438 0439 043A 043B 043C 043D 043E 043F 0440 0441 0442 0443 0444 GREEK CAPITAL LETTER OMICRON G
Appendix C: GB18030 Character Addresses 2252 2260 2261 2264 2265 2266 2267 226E 226F 2295 2299 22A5 22BF 2312 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2474 2475 2476 2477 2478 2479 247A 247B 247C 247D 247E 247F 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 248A 248B 248C 248D 248E 248F 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 249A 249B 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 250A 250B 250C 250D Page 256 APPROXIMATELY EQUAL TO OR THE IMAGE OF NOT EQUAL TO IDENTICAL TO LESS-
Appendix C: GB18030 Character Addresses 253D 253E 253F 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 254A 254B 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 255A 255B 255C 255D 255E 255F 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 256A 256B 256C 256D 256E 256F BOX DRAWINGS LEFT HEAVY AND RIGHT VERTICAL LIGHT BOX DRAWINGS RIGHT HEAVY AND LEFT VERTICAL LIGHT BOX DRAWINGS VERTICAL LIGHT AND HORIZONTAL HEAVY BOX DRAWINGS UP HEAVY AND DOWN HORIZONTAL LIGHT BOX DRAWINGS DOWN HEAVY AND UP HORIZONTA
Appendix C: GB18030 Character Addresses 3010 3011 3012 3013 3014 3015 3016 3017 301D 301E 3021 3022 3023 3024 3025 3026 3027 3028 3029 303E 3041 3042 3043 3044 3045 3046 3047 3048 3049 304A 304B 304C 304D 304E 304F 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 305A 305B 305C 305D 305E 305F 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 306A 306B 306C 306D 306E 306F 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 307A 307B 307C 307D 307E 307F 3080 3081 3082 3083 Page 258 LEFT BLACK LENTICULAR BRA
Appendix C: GB18030 Character Addresses 30E3 30E4 30E5 30E6 30E7 30E8 30E9 30EA 30EB 30EC 30ED 30EE 30EF 30F0 30F1 30F2 30F3 30F4 30F5 30F6 30FC 30FD 30FE 3105 3106 3107 3108 3109 310A 310B 310C 310D 310E 310F 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 311A 311B 311C 311D 311E 311F 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3231 32A3 338E 338F 339C 339D 339E 33A1 33C4 33CE 33D1 33D2 33D5 3400-4DB5 4E00-9FA5 E78D-E796 KATAKANA LETTER SMALL YA
Appendix C: GB18030 Character Addresses FE62 FE63 FE64 FE65 FE66 FE68 FE69 FE6A FE6B FF01 FF02 FF03 FF04 FF05 FF06 FF07 FF08 FF09 FF0A FF0B FF0C FF0D FF0E FF0F FF10 FF11 FF12 FF13 FF14 FF15 FF16 FF17 FF18 FF19 FF1A FF1B FF1C FF1D FF1E FF1F FF20 FF21 FF22 FF23 FF24 FF25 FF26 FF27 FF28 FF29 FF2A FF2B FF2C FF2D FF2E Page 260 SMALL PLUS SIGN SMALL HYPHEN-MINUS SMALL LESS-THAN SIGN SMALL GREATER-THAN SIGN SMALL EQUALS SIGN SMALL REVERSE SOLIDUS SMALL DOLLAR SIGN SMALL PERCENT SIGN SMALL COMMERCIAL AT FULLWIDT
Appendix D: Windows 1252 Latin 1 Appendix D: Typical Code Page Definition Windows 1252 Latin 1 to Unicode translation ASCII 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B 0x0C 0x0D 0x0E 0x0F 0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1A 0x1B 0x1C 0x1D 0x1E 0x1F 0x20 0x21 0x22 0x23 0x24 0x25 0x26 0x27 0x28 0x29 0x2A 0x2B 0x2C 0x2D 0x2E 0x2F 0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x3A 0x3B 0x3C 0x3D 0x3E 0x3F 0x40 0x41 0x42 0x43 Unicode 0x0000 0x0001 0x0002 0x0003 0x0004 0x0
Appendix D: Windows 1252 Latin 1 0x89 0x8A 0x8B 0x2030 0x0160 0x2039 0x8C 0x8D 0x8E 0x8F 0x90 0x91 0x92 0x93 0x94 0x95 0x96 0x97 0x98 0x99 0x9A 0x9B 0x0152 0x0000 0x017D 0x0000 0x0000 0x2018 0x2019 0x201C 0x201D 0x2022 0x2013 0x2014 0x02DC 0x2122 0x0161 0x203A 0x9C 0x9D 0x9E 0x9F 0x0153 0x0000 0x017E 0x0178 0xA0 0xA1 0xA2 0xA3 0xA4 0xA5 0xA6 0xA7 0xA8 0xA9 0xAA 0xAB 0x00A0 0x00A1 0x00A2 0x00A3 0x00A4 0x00A5 0x00A6 0x00A7 0x00A8 0x00A9 0x00AA 0x00AB 0xAC 0xAD 0xAE 0xAF 0xB0 0xB1 0xB2 0xB3 0xB4 0xB5
Appendix E: Internal Code Page Definitions Appendix E: Internal Code Pages Code Page Country Code/Language Set 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 437 737 850 852 855 857 858 866 1004 1250 1251 1252 1253 1254 1257 28591 28592 28593 28594 28595 28597 28599 28605 USA (Slashed 0) USA (Unslashed 0) British German French Swedish I Danish Norwegian Dutch Italian French Canadian Spanish Swedish II Swedish III Swedish IV Turkish Swiss I Swiss II USA Greek Multilingual East Europe Latin II-852 C
Appendix F: ASCII Code Table Appendix F: ASCII Code Table Hex Decimal ASCII Hex Decimal ASCII Hex Decimal ASCII Hex Decimal ASCII 32 (SP) 40 64 @ 60 96 ` 00 0 NULL 20 01 1 SOH 21 33 ! 41 65 A 61 97 a 34 " 42 66 B 62 98 b 35 # 43 67 C 63 99 c 02 2 STX 22 03 3 ETX 23 04 4 EOT 24 36 $ 44 68 D 64 100 d 37 % 45 69 E 65 101 e 05 5 ENQ 25 06 6 ACK 26 38 & 46 70 F 66 102 f 39 ' 47 71 G 67 103 g 40 ( 48 72 H
Appendix G: Ordering Supplies Appendix G: Ordering Supplies TransAct® supplies, cables and drivers can be ordered easily direct from the TransAct website (www.transact-tech.com) or our telephone number within the US toll free: (877) 7TransAct. (other inquires: (607) 257-8901). When calling by phone, please ask for the Sales Department.
Index Index [ [BEL] Audio alert, 155 [BS] Insert back space, 77 [CAN] Clear print buffer, 154 [CR] Set carriage return, 76 [DC2] Begin 10 cpi, 90 [DC4] End one-line double-wide print, 100 [ENQ] <10> Request printer reset, 164 [ENQ] <11> Request printer power cycle status, 165 [ENQ] <14> Inquire mechanical error status, 165 [ENQ] <15> Inquire printer state, 166 [ENQ] <20> Inquire all printer status, 166 [ENQ] <21> Inquire printer ID, 168 [ENQ] <22> Inquire Error Status, 169 [ENQ] <23> Inquire user-store sta
Index [ESC] U <0> Begin bi-directional print, 117 [ESC] U <1> Begin unidirectional print, 117 [ESC] V Set intercharacter spacing, 92 [ESC] W Double-wide, double-high mode, 101, 208 [ESC] X Set left/right print margin, 154 [ESC] y Set feature control, 158 [ESC] Y Print full-speed double-density graphics, 116 [ESC] Z Print quad-density graphics, 116 [FF] Set form feed, 83, 86 [HT] Set horizontal tab, 77 [LF] Set line feed, 76 [SI] Begin 17 cpi, 90 [SO] Begin one-line
Index Operational Procedures, 25 Output Paper end Signals, Selecting Paper Sensors, 156 Overview, 3 printing, 181 H Horizontal Motion Control, 77 Horizontal Position, Setting, 78 Horizontal Tab, 77 Horizontal tab Stops, Setting, 77 P I IEEE 1284 buffer, Clearing, 164 Indicator Lights, 25 Initialize the Printer, 155 Inquire Commands, 163 Intercharacter Spacing, Setting, 92 International Character Set, Selecting, 81, 88, 89, 97, 98, 152, 153, 189, 206, 207, 208, 209, 213, 214, 215, 216, 221, 222, 223, 22
Index Anti-Jam, 56 Paper Low, 55 Ticket Low, 55 Ticket Taken, 56, 57 Top of Form, 55 Top-of-Form, 55 Serial Communications PCB, 19, 61 Single Density Graphics, Printing, 115 Specifications, 18 Paper Roll, 18 Power Requirements, 15 Printing, 18 Radiated Emissions, 17 Reliability, 14 Specifications and Requirements, 11 Standard APA Graphics, 115 Standard Emulation, 68 Start up Macro, Flagging, 124 Status Inquire, 162 Status, Inquire Receipt Paper Low, 163 Superscript and Subscript, 105 T Technical Support,