Home
Series 80 Programmer`s Guide
Contents
1. Chapter 7 Printer Control Codes Print Paper Motion Low level Paper Motion Control Function Carriage return ASCII CR Hexadecimal ODH Decimal lt 13 gt IPCL amp CR Description This 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 was active The left margin is defined by the current print station print rotation direction and left margin command Function Line feed ASCII LF Hexadecimal OAH Decimal lt 10 gt IPCL amp LF Description This command prints the contents of the buffer if any and advances paper one line at the current default line spacing The next character print position is reset to the left margin Rev F Page 15 Control Codes PcOS Series 80PLUS Horizontal Motion Programmer s Guide Horizontal Motion Control There are several commands that can control the horizontal position of characters Many applications use space control to position fields However there is the ability to control character position with horizontal tab stops This is done by using the horizontal tab HT to move to those tab stops Function Horizontal tab ASCII HT Hexadecimal 09H Decimal lt 9 gt IPCL amp HT Description This command inserts spaces in the print buffer up to the next tab stop The default tab locations are every eight spaces Function Set horizontal tab stops ASCII E
2. Command Descriptions Define user defined characters EA ESC amp y cl c2 xl dl d y x x1 xk d1 d y x xk IBH 26H y cl c2 x dl d y x x1 xk d1 d y x xk lt 27 gt lt 38 gt y cl c2 xl dl d y x x1 xk dl d y x xk y 3 0 lt x lt 13 Font A 13 x 24 0 lt x lt 10 Font B 10 x 24 0 lt dl diy x xk lt 255 k c2 cl 1 32 lt cl lt c2 lt 254 32 lt cl lt c2 lt 126 This command defines user defined characters y specifies the number of bytes in the vertical direction cl specifies the beginning character code for the definition c2 specifies the final code x specifies the number of dots in the horizontal direction d is the dot data for the characters The dot pattern is in the horizontal direction from the left side Any remaining dots on the right side are blank The allowable character code range differs between Epson and Axiohm emulation See Range above The data to define a user defined character is y x x bytes Set a corresponding bit to 1 to print a dot or 0 to not print a dot In Epson emulation mode there is a unique user defined character set for each pitch In Axiohm emulation mode both pitches share the same user defined character set Cancel user defined characters E ESC n 1BH 3FH n lt 27 gt lt 63 gt n 32 lt n lt 254 32 lt n lt 126 This command cancels user defined characters Rev F Page 73 Epson Commands Command Descript
3. Initialize printer EA ESC 1BH 40H lt 27 gt lt 64 gt This command clears the data in the print buffer and resets the printer to the mode that was in effect when the power was turned on Clear printer A DLE 10H lt 16 gt Axiohm 7193 emulation mode only This command clears the print line buffer without printing and sets the printer to the following conditions Double wide 12 dec command is canceled Line spacing pitch and user defined character sets and bit images in RAM are unaffected Single wide single high nonrotated and left aligned characters are set The printer is restarted and error status is cleared in a fault condition This command also returns paper exhaust to the paper status if an alternate status has been requested using the ESC u command parallel interface only Rev F Page 97 Epson Commands Command Descriptions Page 98 Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Range Description PcOS Series 80PLUS Programmer s Guide Transmit printer ID E GS I n 1DH 49H lt 29 gt lt 73 gt n 1 lt n lt 3 49 lt n lt 51 This command transmits the printer ID specified by n as follows n Printer ID Specification 1D HEX 1 49 Printer model ID Epson TM T88 T88P 20 Epson TM T85 08 Axiohm 7193 71 2 50 Type ID See table below 3 51 ROM version ID Not implemente
4. NAK lt 1 gt 15H 01H Cash Drawer is open The cash drawer status is defined as open circuit being drawer closed Inquire Cash Drawer 2 status ENQ lt 2 gt 05H 02H lt 5 gt lt 2 gt Cash Drawer 2 status ACK lt 2 gt 06H 02H Cash Drawer 2 is closed NAK lt 2 gt 15H 02H Cash Drawer 2 is open The cash drawer status is defined as open circuit being drawer closed Rev F Function ASCII Hexadecimal Decimal Function Response Function ASCII Hexadecimal Decimal Function Response Function ASCII Hexadecimal Decimal Function Response Programmer s Guide PcOS Series 80PLUS Control Codes Printer Status Inquire receipt paper out ENQ lt 4 gt 05H 04H lt 5 gt lt 4 gt Is receipt paper out ACK lt 4 gt 06H 04H There is receipt paper NAK lt 4 gt 15H 04H The receipt paper is exhausted Inquire cover open status ENQ lt 8 gt 05H 08H lt 5 gt lt 8 gt Inquire whether the cover is closed ACK lt 8 gt 06H 08H The cover is closed NAK lt 8 gt 15H 08H The cover is open Is the buffer empty Clear IEEE 1284 buffer ENQ lt 9 gt 05H 09H lt 5 gt lt 9 gt This command allows the host to know when the print buffer is empty If IEEE 1284 is active this command also clears the response buffer ACK lt 9 gt 06H 09H The buffer is empty NAK lt 9 gt 15H 09H The buffer is not empty Rev F Page 49 Control Codes Printer Page 50
5. Status Function ASCII Hexadecimal Decimal Function Response Description PcOS Series 80PLUS Programmer s Guide Request printer reset ENQ lt 10 gt 05H OAH lt 5 gt lt 10 gt Reset printer ACK lt 10 gt 06H OAH The command was accepted NAK lt 10 gt 15H OAH The command was rejected The ENQ lt 10 gt EPOS DLE ENQ n commands and the INIT pin all have the same effect and are termed reset commands To prevent data loss the printer will try to complete printing of any buffered data This will fail if for any reason operator intervention with the printer is required The reset operation is saved until the printer goes idle In the case of the slip request command or any command that waits for the operator the printer is idle If the printer is idle and a reset is received or is pending the printer will reset and the buffer will be cleared If an operator intervention operation is reset by the host any remaining buffered data will be cleared When the printer receives a reset command the printer will go off line and or busy until the reset is completed In serial mode the printer can have information in its high speed buffer that was received after the reset but before the reset was processed 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 In parallel mode the printer will go busy after
6. Ground Logic ground 5 GND 6 Data set ready Input signal to float control the printer 4DTR 7 Request to send Output signal to float control the host 8 CTS 8 Clear to send Input signal to float control the printer 7 RTS 9 Ring indicator Not used Rev F Page 105 Appendix A PcOS Series 80PLUS Communications Nine pin Nine pin Female PN 10 2020 Female PC Printer DIR 4 es DTR 4 DSR 6 we DSR 6 DCD 1 DCD 1 TXD 3 p TXD 3 RXD 2 d RDU 2 GND 5 GND 5 RIS 7 RTS 7 CTS 8 a CTS 8 Twenty five pin Nine pin Female PN 10 2021 Female PC Printer DTR 20 lt r DTR 4 DSR 6 Pa DSR 6 DCD 8 DCD 1 TXD 2 TXD 3 RXD 3 ES RXD 2 GND 7 GND 5 RTS 4 RTS 7 CTS 5 RN CTS 8 Page 106 Rev F Programmer s Guide Programmer s Guide PcOS Series SOPLUS Appendix A Parallel Interface Parallel Interface Parallel Interface Specification IEEE 1284 Parallel Protocol The Series 80PLUS Printer uses a standard PC compatible IEEE 1284 parallel interface The following illustration shows the timing diagram for the interface protocol in compatibility mode Busy Acknowledge L Pin 10 Strobe Data Pins 9 2 Th Ts 0 5us min Ts 0 5us Th Figure 4 Timing diagram in compatibility mode de The host places its data on the data lines The host strobes the data into the printer latch using Strobe L The printer goes Busy H unt
7. Open the cover Power the printer on while holding down the FEED button Wait until the status LED blinks a cover open condition See Appendix B Release the FEED button Load the printer with paper 1f it is not already loaded Close the cover The Series SOPLUS Printer will print a few lines of instructions followed by Press PAPER FEED to begin If the FEED button is not pressed within five seconds the printer will exit the configuration mode without making any changes and reset 10 If the FEED button is pressed the printer will start the configuration mode by displaying the first option and its setting See Configuration Options for an ordered list of options and their associated settings 11 At this time you may A Press the FEED button to cycle through the choices for this option or B Wait five seconds to continue to the next option 12 Repeat Step 11 until the last option has been completed 13 The Series SOPLUS Printer will print a message indicating it is exiting the configuration mode and will save the settings exactly as they have been presented changed OOS Si o Se If the Series SOPLUS Printer is powered off at any time during the configuration mode no changes will be saved The initial setting displayed with each option reflects the current configuration If you do not wish to change a setting simply wait five seconds to continue to the next option The printer does not have to be hooked up to a host
8. 1BH 12H lt 27 gt lt 18 gt This command rotates characters 90 counterclockwise It remains in effect until the printer is reset or until a clear printer 10 set cancel upside down print 1B 7B or set cancel rotated print 1B 56 command is received This command is enabled only in standard mode In page mode an internal flag is activated and this command is enabled when the printer returns to standard mode Select character size GS 1DH 21 lt 29 gt lt 33 gt n 0 lt n lt 255 1 lt vertical number of times lt 8 1 lt horizontal number of times lt 8 El am This command selects the character height using Bits O to 2 and selects the character width using Bits 4 to 7 as follows Character Height Selection Hex Decimal Height 00 a O 1 normal 01 2 double high 02 3 03 4 04 5 05 6 ot a ae 7 07 3 Rev F Programmer s Guide Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Description Function ASCII Hexadecimal Decimal Description Function ASCII Hexadecimal Decimal Range Default Description PcOS Series 80PLUS Epson Commands Command Descriptions Character Width Selection Hex Decimal Width 00 NENA 1 normal 10 2 double wide 20 3 30 4 40 5 50 _ so 6 seo 7 70 8 Turn white black reverse printing mode on off E GS B n 1DH 42H n lt 29 gt lt 66 gt n 0 lt n lt 255 This com
9. Contents of the EEPROM save buffer bit image character set in Epson Axiohm Start up macro definition status YES NO Additional information Auto cutter Enabled Disabled Print Tickets The configuration ticket is followed by several print examples that test the various features of the printer Rev F Page 7 Configuration Mode PcOS Series SOPLUS Programmer s Guide Chapter 4 Configuration Mode Description The Series SOPLUS PcOS thermal printer has many options and features that are user configurable Unlike most printers that use dip switches to control these settings the Series SOPLUS Printer has been equipped with an automated configuration mode By powering the Series SOPLUS Printer in a special sequence it will enter configuration mode In this mode the printer s current settings are printed one at a time By pressing the FEED button the printer cycles through the remaining available settings for that option When the setting for the item you desire has been selected waiting five seconds will cause the printer to move on to the next option that you can change When all options have been exhausted the Series SOPLUS Printer writes them permanently to its nonvolatile EEPROM memory and resets itself See Configuration Options for an ordered list of options and their associated settings Entering Configuration Mode Follow the steps below to enter the configuration mode Power the printer off if it is not already off
10. Control Codes OVeryi W cccosiniio diiniita n Ee od enn dd KOS EEr ko Koos 13 Nomenclature iii 13 Emulation Modes and Available Commands ceesceesseceeecessseceeneecaeceneecsaeceeneecsaeceneecsaeceneeeeaeeesees 14 Standard Emula dia 14 ESCIPO usura ados eater E sb evulossn cae qe Ia decae pri de 14 IPCL Codes ct T E cta 14 Printer Control Codes tiara eiii E O ET Dos din Dead meusnees ies 15 Print Paper Moto suit iran dis 15 Low level Paper Motion ContrOl ooonncnnncnnccnoccconnconoconoconocononnnonnnonnnonnnnnn nro nnnn conc non non nn cone cnn cra ncnnncnnss 15 Horizontal Motion Control union ara eed ancev bee Dev E r 16 Vertical Motion Cotler noebinea soneonedcogeoeeeihs 18 International Character Sets and Code Pages oooooccccccocncoccoonconoconoconocnnocononononnnonn nro nnnn cnn ncn acc ne conc cn nora corno 21 Rev F Page v Table of Contents PcOS Series SOPLUS Programmer s Guide Character Print Control vicio iria sdk cosseeusdk sobcueivans cub pack sce cuceutys Danke rindan 25 Character Pitchie sss sess cos ck rane cove ba tak ccbestet rt 25 Rotated m0 tacita tt tad apnea soe dde ata cosida 27 Character Attribute Command Seii e a eve devedssseeecbuesac tacos tl eceds Seca Mies A EN RAT EN 28 Formatted Print Rotation Commands 0 ecceeceesseceeeceesseceeneessaeceeneecsaeceeneecsaeceeneecsaeceeneeeaeceeeeeesaeeesees 31 Graphics Modest ii ead 35 Standard APA Graphics comino ollo terca 35 Extended APA Gra
11. Receive technical support order documentation request additional information or send in a printer for service Sales Order supplies receive more product information or order product brochures TransAct Technologies Incorporated Ithaca Facility 20 Bomax Drive Ithaca NY 14850 USA TransAct Technologies World Gaming Headquarters amp Western Regional Repair Center 6700 Paradise Road Suite D Las Vegas NV 89119 USA Telephone 877 7 ITHACA or 607 257 8901 Main fax 607 257 8922 Sales fax 607 257 3868 Technical Support fax 607 257 3911 Web site http www transact tech com Rev F Page ix Programmer s Guide PcOS Series 80PLUS General Information General Description Features The Series 80PLUS Printer is a high quality POS printer that can print on a thermal paper roll The printer has the following features Printing High speed printing approximately 31 8 lines second 1 6 inch feed Low noise thermal printing 72 mm 2 83 inch print zone Dual cash draw drivers with status Centronics parallel IEEE 1284 nibble byte mode or RS 232C interface Configurable receive and image buffer areas Software Command protocol is based on the Ithaca PcOS Standard Characters can be scaled up to 8 times as large as the standard size Bar code printing is possible by using a command code Bar codes can be printed in the vertical direction Repeated operation and copy printing are possible by using graphic s
12. helpful How to Identify and Resolve Radio TV Interference Problems This booklet is available from the US Government Printing Office Washington DC 20402 Ask for stock number 004 000 00345 4 Canadian Department of Communications Radio Interference Statement The Series 80PLUS Printer does not exceed Class A limits for radio noise emissions from digital apparatus set out in the Radio Interference Regulations of the Canadian Department of Communications UL CSA VDE CE Statement TransAct Technologies Incorporated printers are UL and CSA Listed VDE Certified and carry the CE Mark Declaration of Conformity Product name Thermal Printer Type name Series 80PLUS These printers conform to the following directives and norms Directive 89 336 EEC EN 55022 1995 A1 1995 EN 50082 1 1992 IEC 801 2 1991 IEC 801 3 1984 IEC 801 4 1991 Directive 90 384 EEC EN 45501 1992 EMI and Safety Standards Applied Rev F Page iii PcOS Series 80PLUS Programmer s Guide The following standards are applied only to the printers that are so labeled EMC is tested using the Ithaca Bestec BPA 601 24 1984 Europe CE marking EN55022 1995 EN50082 1 1992 EN45501 1992 Safety standard TUV EN 60950 1992 North America EMI FFC Class A Safety Standards UL 1950 3 edition 1995 CAN CSA C22 2 No 950 95 3 edition 1995 WARNING Warnings must be carefully followed to avoid serious bodily injury C
13. lt ni gt lt n2 gt lt N1 gt lt n2 gt lt N3 gt 895 Kamenicky MJK 3 127 3H 07FH 0 8 9 5 55 1008 Greek 437 3 240 3H 0FOH 1 0 0 8 38 1009 Greek 928 3 241 3H 0F1H 1 0 0 9 39 1011 Greek 437 CYPRUS 3 243 3H 0F3H 1 0 1 1 41 1012 Turkey 3 244 3H 0F4H 1 0 1 2 29 1014 Polska Mazovia 3 246 3H OF6H 1 0 1 4 22 1015 ISO Latin 2 3 247 3H 0F7H 1 0 1 5 23 1016 Serbo Croatic 3 248 3H 0F8H 1 0 1 6 24 1017 Serbo Croatic Il 3 249 3H 0F9H 1 0 1 7 25 1018 ECMA 94 3 250 3H OFAH 1 0 1 8 42 1019 Windows East Europe 3 251 3H 0FBH 1 0 1 9 49 1020 Windows Greek 3 252 3H OFCH 1 0 2 1 50 1021 Latin 5 Windows Turkey 3 253 3H OFDH 1 0 2 2 51 1022 Windows Cyrillic 3 254 3H OFEH 1 0 2 4 52 1024 Hungarian CWI 4 0 4H 000H 1 0 2 5 54 1026 ISO Latin 4 4 2 4H 002H 1 0 2 6 56 1027 Ukrainian 4 3 4H 003H 1 0 2 7 66 1028 Roman 8 4 4 4H 004H 1 0 2 8 58 1029 ISO Latin 6 4 5 4H 005H 1 0 2 9 67 1031 Hebrew OC 4 7 4H 007H 1 0 3 0 61 1032 Windows Hebrew 4 8 4H 008H 1 0 3 2 62 1033 KBL Lithuanian 4 9 4H 009H 1 0 3 3 63 1034 Windows Baltic 4 10 4H 00AH 1 0 3 4 68 1035 Cyrillic Latvian 4 11 4H 00BH 1 0 3 5 69 1072 Bulgarian 4 48 4H 030H 1 0 7 2 72 NA French 1 NA Danish 4 NA Italian 6 NA Spanish 7 NA Japanese 8 NA Norwegian 9 NA Danish II 10 NA Spanish II 11 NA Latin American 12 Rev F Page 111 Appendix E PcOS Series SOPLUS Programmer s Guide Upgrading Changing Firmware Appendix E Upgrading Changing Printer Firmw
14. processed rotated and then printed This causes the print process to be delayed slightly as it takes some time to process the data before it is printed In 180 mode the print is simply inverted and mirrored Because the 90 and 270 rotated print buffer is limited the amount of rotated print is also limited The printer can support a limit of 23 lines of rotated print with a maximum line length of 128 characters The spacing between lines is controlled by a line spacing table This table is defined by the rotated print line spacing ESC u command or by inserting LF or ESC J lt n gt commands in the rotated data The ESC u command specifies the space to be added between each printed line Each line has an entry in the table There is room for 23 lines in the table The minimum spacing and default is 1 80 inch between lines If a LF is used to specify the line spacing it overrides the default table and sets spacing to 1 80 inch If ESC J lt n gt is used lt n gt specifies the spacing in n 216 inch including white space The intercharacter spacing is adjusted with the normal line spacing commands The ESC 3 lt n gt command is the most effective command for adjusting intercharacter spacing Specifying the line length is useful to determine where data is printed if line formatting is specified When rotated 90 and 270 the print field can be extended to print the complete line length specified This mode is called l
15. s Guide Chapter 1 General Information Warranty Information Warranty Options The PcOS Series 80PLUS Printer comes with a standard 24 month warranty covering both parts and labor An optional warranty covering both parts and labor for an additional 12 months may be purchased separately For more information concerning the warranty options please contact your dealer or the Sales Department at TransAct Technologies Incorporated Service Information TransAct Technologies Incorporated has a full service organization to meet your printer service and repair requirements If your printer needs service please contact your authorized printer service center If any problems still persist you can directly contact the Ithaca Facility s Technical Support Department at 607 257 8901 or 877 7 ITHACA for a return authorization International customers should contact your distributor for services TransAct offers the following service programs to meet your needs Extended Warranty Depot Repair Maintenance Contract Internet Support Please have the following information at hand The Model Number and Serial Number A list of any other peripheral devices attached to the same port as the printer The application software operating system and network you are using A copy of your printer s Configuration Settings What happened and what you were doing when the problem occurred How you tried to solve the problem DP RUNS What is in th
16. 0 Range lt name gt a 15 byte maximum alphanumeric name to identify the image Description GS 7 selects a previously saved user defined character set with the name lt name gt If the character set does not exist this command will be ignored Any characters referenced that are not defined in the set will be replaced as follows equivalent Code Page 437 character in Axiohm 7193 emulation and equivalent current code page character in Epson TM T8x emulation Rev F Programmer s Guide Function ASCII Hexadecimal Decimal Range Description PcOS Series 80PLUS Epson Commands Command Descriptions Query nonvolatile memory pool information GS 1DH lt 29 gt O lt n lt 5 n lt special gt 33H n lt special gt lt 51 gt n lt special gt For n 0 only lt special gt lt name gt 0 Command performs the functions specified by n Check for an entry Query total nonvolatile memory pool size Query remaining nonvolatile memory pool size Request the name of the first memory entry Request the name of the next memory entry Print the nonvolatile memory pool directory n 0 Check for an entry Checks the nonvolatile memory pool for an entry If the entry is found the printer transmits 81 HEX 129 DEC to the host If the entry is not found the printer transmits 80 HEX 128 DEC to the host n 1 Query total nonvolatile memory pool size Transmits the total amount of nonvolatile memory pool storage to
17. 00H lt 27 gt lt 43 gt lt 0 gt amp CU This command ends underline print mode Rev F Page 29 Control Codes Character Attributes Function ASCII Hexadecimal Decimal IPCL EPOS Description Function ASCII Hexadecimal Decimal IPCL EPOS Description Function ASCII Hexadecimal Decimal IPCL EPOS Description Function ASCII Hexadecimal Decimal IPCL EPOS Description Page 30 PcOS Series 80PLUS Programmer s Guide Begin enhanced print ESC G 1BH 47H lt 27 gt lt 71 gt amp ME ESC G lt 1 gt All subsequent text will be printed in an enhanced darker looking print mode End enhanced print ESC H 1BH 48H lt 27 gt lt 72 gt amp CE ESC G lt 0 gt This command cancels enhanced print mode and returns to the currently selected font Begin emphasized print ESC E 1BH 45H lt 27 gt lt 69 gt amp MM ESC E lt 1 gt This command is the same as enhanced print End emphasized print ESC F 1BH 46H lt 27 gt lt 70 gt amp CM ESC E lt 0 gt This command cancels emphasized print mode Rev F Programmer s Guide PcOS Series SOPLUS Control Codes Formatted Print Rotation Formatted Print Rotation Commands To provide flexibility in printing various sized forms rotated print capability is provided This mode will rotate the print in any of three 90 orientations In 90 and 270 rotated mode the print data is first buffered by the printer
18. 1 1 UPCE 11 lt k lt 12 48 lt d lt 57 y 2 JAN 13 EAN 13 12 lt k lt 13 48 lt d lt 57 3 JAN 8 EAN 8 7 lt k lt 8 48 lt d lt 57 i 4 Code 39 1 lt k 48 lt d lt 57 65 lt d lt 90 d 32 36 37 43 45 46 47 i 5 ITF 1 lt k even number 48 lt d lt 57 i 6 Codabar 1 lt k 48 lt d lt 57 65 lt d lt 68 d 32 36 37 43 45 46 47 58 a 65 UPCA 11 lt k lt 12 48 lt d lt 57 66 UPCE 11 lt k lt 12 48 lt d lt 57 a 67 JAN 13 EAN 13 12 lt k lt 13 48 lt d lt 57 a 68 JAN 8 EAN 8 7 lt k lt 8 48 lt d lt 57 E 69 Code 39 1 lt n lt 255 48 lt d lt 57 65 lt d lt 90 d 32 36 37 43 45 46 47 70 ITF 1 lt n lt 255 48 lt d lt 57 even number s 71 Codabar 1 lt n lt 255 48 lt d lt 57 65 lt d lt 68 d 32 36 37 43 45 46 47 58 72 Code 93 1 lt n lt 255 0 lt d lt 127 2 73 Code 128 2 lt n lt 255 0 lt d lt 127 Description for Description for 2 d indicates the character code to be printed A null 00 Hex character ends the bar code definition n indicates the number of bytes of bar code data to be processed immediately following n d indicates the character code to be printed The following apply to both GS k m d1 dk NUL and GS k m n dl dn 1 If the horizontal width exceeds the printing area the printer only feeds the paper 2 These commands feed as much paper as necessary to print the bar code according to the GS h command 3 These commands are enable
19. 66 B British 73 1 Italian 80 P Swiss I 67 C German 74 J French Canadian 81 Q Swiss H 68 D French 757K Spanish 90 Z Publisher 69E Swedish 76 L Swedish II 70 F Danish 77 M Swedish II Table 4 Language table ID s Rev F Page 21 Control Codes PcOS Series 80PLUS Programmer s Guide International Character Sets Function Select character code page ASCII ESC T lt np gt lt n gt Hexadecimal 1BH 5BH 54H lt np gt lt n gt Decimal lt 27 gt lt 91 gt lt 84 gt lt n gt lt np gt IPCL amp CP lt m gt lt m gt gt lt m3 gt lt m4 gt Description This command selects character code page lt np gt lt n gt The PcOS Series SOPLUS Printer supports many code pages The following code pages are supported Code Country Code Decimal Hex Code Country Code Decimal Hex Page Language Set lt nh gt lt nl gt lt np gt lt np gt Page Language Set lt nh gt lt nI gt lt np gt lt n gt 64 USA 0 64 0H 040H 866 Cyrillic 11 866 3 98 3H 062H Slashed 0 65 USA 0 65 0H 041H 869 Greek 869 3 101 3H 065H Unslashed 0 66 British 0 66 0H 042H 874 Thailand 3 106 3H 06AH 67 German 0 67 0H 043H 895 Kamenicky MJK 3 127 3H 07FH 68 French 0 68 0H 044H 1008 Greek 437 3 240 3H 0FOH 69 Swedish 0 69 0H 045H 1009 Greek 928 3 241 3H 0F1H 70 Danish 0 70 0H 046H 1011 Gre
20. Humidity Operating 10 to 90 RH noncondensing Page 12 Rev F Programmer s Guide PcOS Series 80PLUS Control Commands Overview Chapter 6 Control Commands Control Codes Overview This programmer s guide is designed to help users of the PcOS Series SOPLUS Printer develop applications The PcOS Series 80PLUS printers are specialized point of sale POS printers that have several features not normally found on general purpose printers Because of these features the PcOS Series 80PLUS printers have specialized codes to control these features This programmer s guide documents the control codes with an emphasis on those codes that are unique to the PcOS Series SOPLUS printer All PcOS Series 80PLUS printers are available with both a serial or parallel interface Both interfaces provide the same printer control and use the same control codes Nomenclature When describing control codes there is often confusion as to whether the description is decimal hex or ASCII To minimize this problem this programmer s guide will use the following nomenclature when describing control code sequences This encloses a control character and is a single 8 bit value as defined in the standard ASCII tables The ASCII table in Appendix C lists all the control codes An example would be ESC which would represent a 1BH or 26 Decimal lt gt This encloses an 8 bit value in decimal format The value will be from O to 255 An example would be lt
21. Norway 3 97 3H 061H Table 5 Code page definition table NOTE The code page field is a 16 bit field that is equivalent to the code page number For example 1 256 181 437 For the IPCL command the page is specified in ASCII as a 4 byte field Page 22 Rev F Programmer s Guide Function ASCII Hexadecimal Decimal IPCL Description Function ASCII Hexadecimal Decimal IPCL Description PcOS Series 80PLUS Control Codes International Character Sets Print control character ESC lt n gt 1BH 5EH lt n gt lt 27 gt lt 94 gt lt n gt amp CC lt m gt lt m gt 3 gt lt m3 gt This command allows characters from 0 to 31 codes to be printed During normal operation characters from 0 to 31 are control characters This command turns off control code translation for the following character lt n gt can be from 0 to 255 Redefine character set ESC S lt L gt lt Ly gt lt B gt lt T q gt lt T 11 gt lt T2q gt lt T 21 gt lt T3q gt lt T3L gt lt TyH gt lt T a gt 1BH 5BH 40H lt 27 gt lt 91 gt lt 64 gt none This command allows an application to replace or redefine the active character set mapping in the printer Where lt L gt lt Ly gt defines the total length of the following data lt L gt 256 lt Ly gt 1 2 is the total number of characters to be replaced lt B gt is the first character in the active map to be replaced lt T1y gt lt T gt
22. commands in effect The PcOS Series 80PLUS Printer supports international character sets as well as code pages However both methods are extended in the PcOS Series SOPLUS This is to allow the most flexibility for the application programmer The PcOS Series 80PLUS printer has extended the IBM code page selection command to allow character sets as well as normal IBM code pages to be selected All characters in code pages as well as character sets are addressed as 0 to 255 Characters below 32 must be addressed with the ESC lt n gt command Code pages may be changed at any time and are active for all features including rotated print As discussed above there are two commands for language selection in IBM mode The first is ESC which will select one of 19 international character sets This command will not select all the possible sets and is provided for compatibility with older programs The second is ESC T which will select any of the code pages Function Select international character table set ASCII ESC lt n gt Hexadecimal 1BH 21H Decimal lt 27 gt lt 33 gt IPCL amp CS lt n gt Description This command selects the international character set lt n gt In standard mode the value of lt n gt is as follows lt n gt Language lt n gt Language 64 ASCII Slashed zero 71 G __ Norwegian 78 N Swedish IV 65 A ASCII Unslashed zero 72H Dutch 790 Turkish
23. dot row n x vertical motion unit to the character height to increase space between print lines or decrease the number of lines per inch The table below shows the relationship between the number of lines per inch and each extra dot row added in Axiohm 7193 emulation mode with the vertical motion unit set to 1 152 inch Rev F Page 65 Epson Commands Command Descriptions Page 66 PcOS Series 80PLUS Programmer s Guide Extra Rows Lines per Inch Dot Row 0 8 5 18 1 8 0 19 2 7 6 20 3 7 2 21 4 7 0 22 5 6 6 23 6 6 3 24 7 6 1 25 8 5 9 26 9 5 6 27 10 5 4 28 11 5 2 29 12 5 1 30 User Defined Memory Commands Function ASCII Hexadecimal Decimal Range Description Define user definable bit image El GS lt name gt 0xydl d xx y x 8 1DH 2DH lt name gt 0xydl d xx y x 8 lt 29 gt lt 45 gt lt name gt 0xydl d xx yx 8 1 lt x lt 255 1 lt y lt 255 0 lt d lt 255 lt name gt a 15 byte maximum length name to identify the image GS defines a bit image for storage in the nonvolatile memory pool The printer maintains an area of memory specifically designated for multiple bit image storage This area can contain as many bit images as its size permits A printout of the amount of nonvolatile memory remaining can be obtained by performing a printer self test Each image is uniquely identified by the name given to it by the lt name gt parameter The na
24. dy dy lt 255 except for dx dxy 0 or dy dyy 0 Description ESC W sets the size and position of the printing area in page mode as follows Horizontal starting position x Xy x 256 x horizontal motion unit Vertical starting position yL yy x 256 x vertical motion unit Printing area width dx dxy x 256 x horizontal motion unit inches Printing area height dy dyy x 256 x vertical motion unit inches The default settings are as follows XL Xy Y Yu 0 and dx 0 dxy 2 dy 126 dyg 6 This command is enabled only in page mode If this command is entered in standard mode an internal flag is activated and the command is enabled when the printer selects page mode Function Set print direction in page mode E ASCII ESC T n Hexadecimal 1BH 54H n Decimal lt 27 gt lt 84 gt n Range 0 lt n lt 3 48 lt n lt 51 Description ESC T n sets the print direction and starting position in page mode specified by n as shown below The default setting is n 0 This command is enabled only in page mode If this command is entered in standard mode an internal flag 1s activated and the command is enabled when the printer returns to page mode n Print Direction Starting Position 0 48 Left to right Upper left A in figure 1 49 Bottom to top Lower left B in figure 2 50 Right to left Lower right C in figure 3 51 Top to bottom Upper right D in figure Rev F Page 83 Epso
25. ends macro definition Macro definition starts when this command is received during normal operation and ends when it is received during the macro definition The macro definition can contain up to 2048 bytes If the definition exceeds this value the excess data is not stored Page 94 Rev F Programmer s Guide Function ASCII Hexadecimal Decimal Range Description PcOS Series 80PLUS Epson Commands Command Descriptions Execute macro EI GS 7 r t m 1DH SEH r t m lt 29 gt lt 94 gt r t m 0O lt r lt 255 0 lt 1 lt 255 m See below This command executes a macro definition r specifies the number of times to execute the macro When Bit 1 of mis set r is ignored and the macro is executed infinitely t specifies the waiting time for executing the macro it is t x 100 msec for every macro execution m specifies macro executing mode When the LSB of m 0 the macro executes r times continuously with interval specified by t When the LSB of m 1 after waiting for the period specified by the printer remains idle and waits for the FEED button to be pressed After the button is pressed the printer executes the macro once The printer repeats this operation r times When Bit 5 of m is set the current macro definition is saved into the printer s nonvolatile EEPROM memory as a start up macro without executing it This macro definition will be executed upon power up using the parameters specified by this comm
26. for 0 5 second E LED is OFF for 0 1 second IN ORDER OR PRECEDENCE Error Condition Present Graphical Representation Verbal Description QSM RAM ERROR A A A A A A A 7 quick flashes RAM ERROR A A 2 quick flashes EEPROM VERIFY ERROR A A A A A A 6 quick flashes CHECKSUM VERIFY ERROR l l ra 5 quick flashes THERMAL HEAD OVERHEAT l l I rapid continuous CUTTER ERROR A A A 3 quick flashes COVER OPEN SERRE ESE continuous PAPER OUT Aaa AAA slow continuous Page 108 Rev F Programmer s Guide Appendix C ASCII Code Table A A E o mu eo 2 ses 00 01 02 03 04 05 06 07 08 09 OA 0B 0C 0D 0E OF 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F PcOS Series 80PLUS Appendix C ASCII Code Table a sob ae E see ee E aa pee fe e fe oe a exe e c fe a eo a s Je jos o ej Os pao pes jeje Jos 10 e e ack es es a e o o Cz feae peros e n efe 5 oe 2 507 is oca es sr ooa es s a nak s s 2 ES EA IE as ems 97 p24 can as as em as er esc as as Fs ac Rev F Page 109 Appendix D PcOS Series 80PLUS Programmer s Guide Language Table Appendix D Language Table Code Page Definitions Code Country Code Decimal Hex ASCII Epson ID Page Language Set lt n gt lt n2 gt lt ni gt lt n2 gt lt N1 gt lt n2 gt lt N3 gt 64 USA Slashed 0 0 64 0H 040H 0 0 6 4 NA 6
27. gt lt m gt lt n gt gt lt m gt lt n gt lt m gt lt 0 gt 1BH 75H lt n gt lt m gt lt n gt lt m gt lt n gt lt m gt 00H lt 27 gt lt 117 gt lt n gt lt m gt lt n gt lt m gt lt n gt lt m gt lt 0 gt none none This command adjusts line spacing for each rotated print line Where n is the line number m is the spacing in 1 80 inch from the previous line For the first print line the distance is calculated from the margin An n value of 0 is used to terminate the command Any unspecified spacing will be set to 1 These values will be used as a template for all subsequent rotated print On power up all spacing is preset to 1 80 inch for all lines This command is only effective in 90 and 270 rotation It will remain in effect until a new table is received or until the printer is power cycled An ESC u lt 0 gt will have the effect of setting all lines to 1 This table can be overridden by an LF or ESC J lt n gt command in the rotated print data The value of m can be from 1 to 127 n can be from 1 to 23 Edge Receipt Left Margin lt n l m lt First line Second Line n 2 m Third Line Rev F PcOS Series 80PLUS Control Codes Graphics Mode Programmer s Guide Graphics Mode The PcOS Series 80PLUS Printer conforms to the general definitions of IBM APA graphics The printer will only print graphics that are 2 83 inches wide This can make it difficul
28. gt lt 113 gt IPCL none Function Returns a status to the host when it is processed Response Serial IEEE 1284 Parallel non IEEE 1284 SOH lt n gt Not supported via PE Description This command can be placed in the print data and when processed by the printer will return a progress status marker The value of lt n gt can be any 8 bit value It is returned to the host unaltered The intent is for it to be a sequence number This command can be used to track the print progress of the printer or verify that the data has been printed NOTE This command is a line terminator and causes the printer to print all previous data If a normal line terminator like a CR is not supplied right justify and auto center will not function correctly All data will be left justified ESC q does not perform a CR or LF function Page 42 Rev F Programmer s Guide Function ASCII Hexadecimal Decimal IPCL IPCL Description Where lt n gt Function ASCII Hexadecimal Decimal IPCL EPOS Description PcOS Series 80PLUS Control Codes Printer Control Open cash drawer ESC x lt n gt 1BH 78H lt n gt lt 27 gt lt 120 gt lt n gt amp D1 for Cash Drawer 1 amp D2 for Cash Drawer 2 This command energizes cash drawer n for 150 ms lt 1 gt 01H or 1 31H Cash Drawer 1 lt 2 gt 02H or 2 32H Cash Drawer 2 The time period the drawer is activated can be changed in the configuration menu The activation time
29. is 1 double strike mode is turned on Turn upside down printing mode on off E ESC n 1BH 7BH n lt 27 gt lt 123 gt n O lt n lt 255 This command turns upside down printing mode on or off When the LSB is 0 upside down printing mode is turned off When the LSB is 1 upside down mode is turned on In Axiohm 7193 emulation mode counterclockwise rotation ESC DC2 is turned off when upside down printing mode is turned on In standard mode this command is enabled only when input at the beginning of a line In page mode an internal flag is activated and this command is enabled when the printer returns to standard mode Rev F Page 77 Epson Commands Command Descriptions Page 78 Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Description Function ASCII Hexadecimal Decimal Range Description PcOS Series 80PLUS Programmer s Guide Turn 90 rotation mode on off EAT ESC V n 1BH 56H n lt 27 gt lt 86 gt n n 0 1 2 48 49 50 This command turns 90 clockwise rotation mode on off and is enabled only in standard mode In page mode an internal flag is activated and this command is enabled when the printer returns to standard mode n Function 0 48 Turns off all rotation modes 1 49 Turns on 90 clockwise rotation mode 2 50 Turns on 90 counterclockwise rotation mode Turn 90 counterclockwise rotation mode on off A ESC DC2
30. is a way to return status information to the host After the host makes an ENQ request the host can activate IEEE 1284 Mode 0 reverse channel and wait for a response from the printer The response to the ENQ is identical to serial mode The printer will always accept IEEE 1284 reverse channel requests but will not accept ENQ commands when off line It is possible to obtain status when off line by placing the printer in dynamic response mode before the printer goes off line The IEEE 1284 reverse channel will then respond to status changes even if the printer is off line It is also possible to configure the printer so it will not go off line in most cases Power off paper out and faults will always generate off line status Rev F Page 47 Control Codes Printer Status PcOS Series 80PLUS Programmer s Guide Inquire Commands Function ASCII Hexadecimal Decimal IPCL EPOS Description Function ASCII Hexadecimal Decimal Function Response Function ASCII Hexadecimal Decimal Function Response Inquire printer status ENQ lt n gt 05H lt n gt lt 5 gt lt n gt none GS r or DLE ENQ or DLE EOT This command inquires printer status and returns the result The following ENQ s are defined NOTE If the printer is off line ENQ s may not be accepted Inquire Cash Drawer 1 status ENQ lt 1 gt 05H 01H lt 5 gt lt 1 gt Cash Drawer status ACK lt 1 gt 06H 01H Cash Drawer is closed
31. is the internal address of the replacement character image The mapping of a print pattern to each character address is referred to a code page or character set At any given time the printer character set is comprised of 256 characters Each character is addressed by an 8 bit value generally referred to as a character code For example if you want to print an A it would be addressed by sending a lt 65 gt decimal to the printer There are 65 predefined code pages or character maps that assign characters to a particular address built into the printer However there are times when an application would like to redefine a character or group of characters in a code page To allow this the Series 80PLUS Printer allows the map for any code page to be redefined or replaced The Define Character Set command allows any character or group of characters to be replaced with any other printable character There are over 500 printable master characters defined in the printer To redefine the character map for the 35 character and replace it with internal master character 346 the following redefine character set command is used ESC S lt 3 gt lt 0 gt lt 35 gt lt 90 gt lt 1 gt 346 Character in Master set 1 256 90 posan 35 Character 1 S2 2 gt 3 Bytes to follow 0 256 3 The new map will remain until the printer is power cycled or the character set is redefined The code page and character set comm
32. multilingual and the ODS5H character is to be the Euro character 1DH 23H will replace the character at ODSH with the Euro symbol Rev F Page 75 Epson Commands Command Descriptions PcOS Series 80PLUS Programmer s Guide Function Print control character ASCII ESC A Hexadecimal 1BH SEH Decimal lt 27 gt lt 94 gt n Range 0 lt n lt 255 Description This command allows characters from zero to 31 codes to be printed During normal operation characters from zero to 31 are control characters This command turns off control code translation for character n Function Select character code table El ASCII ESC t n Hexadecimal 1BH 74H n Decimal lt 27 gt lt 116 gt n Range 0 lt n lt 5 n 255 Default n 0 Description This command selects a page n from the character code table n Character Code Table 0 Page 0 PC437 U S A and Standard Europe 1 Page 1 PC850 Multilingual 2 Page 2 PC850 Multilingual 3 Page 3 PC860 Portuguese 4 Page 4 PC863 Canadian French 5 Page 5 PC865 Nordic 255 Page 255 Space page Function Select print mode s EA ASCII ESC Hexadecimal 1BH 21H Decimal lt 27 gt lt 33 gt n Range 0 lt n lt 255 Description This command selects print mode s using n as follows Bit Off On Hex Decimal Function 0 Off 00 0 Character Font A 13 x 24 On 01 1 Character Font B 10 x 24 1 2 a E z Undefined 3
33. nterface Se r cis 104 NEAPERO KTO EE E E EE 104 RTS CTS Protocol it EE A 104 DTR DSR Protocol emcoocoooscncinenos Hawetgecesecunsceonneuactcsuene du usedgsceseks coat OE A EEEO E A a EE aE eE 104 XON XOFE Protocol e a E R E EE De eee 105 RS 232C Technical Speciticattom seisne ra EE E ses EEr E EEE SEEE 105 Page vi Rev F Programmer s Guide PcOS Series SOPLUS Table of Contents Parallel A NN 107 Parallel Interface Specification IEEE 1284 ooonnocincccnoncccnoccnonnnonnnconnnnnoncconnonnnn ccoo nononncccnnnnnnnccnnns 107 Appendix Biei nia 108 Error Code Dia BM OSIS veis 108 Descriptioi cocooconeinecn iberia nadien sae veld evade scbsvtens creido ESVE SETON RE eroa E SS 108 Appendix Ci TH ee ea ee as dae ee ad os ea ae ta 109 ASCIELCOdE Table iiicincsi llo roof asias 109 ADpendi Dian dit iii 110 Language Table Code Page Definitions oooooccnoccconononconncononononanonnnconoconocn nooo nono nonnncnn crac nrnn rra nnnn nc nccnneo 110 Appendix Errr g nro pri E ET E EEE O EEE E OTE eee Mb acto Gm RRE 112 Upgrading Changing Printer Firmware sesessseseseeeseseeesssesrreresreeresrerrsrertentestentsseetsseerissestentesreeteseeees 112 O e e E iA a A S EE e AE ARE a E A RN 113 Ordering Paper and Supplies nsserereesererresseesersteresssrerererernenstsrenseretsrenerottsrerersreresrevtrsteresrensresereerers 113 Ordering Cables iii n E R R eet a soltar a 113 Rev F Page vii Table of Contents PcOS Series SOPLUS Programmer
34. of double density graphics 120 dpi at full speed no consecutive dots This mode is generally used to print 120h by 144v dpi resolutions in two passes Function Print quad density graphics 240h x 72v dpi ASCII ESC Z lt n gt lt n gt 2 Hexadecimal 1BH 5AH lt n gt lt n gt 2 Decimal lt 27 gt lt 90 gt lt n gt lt n gt 2 IPCL none Description This command prints nl 256 n2 bytes of quad density graphics 240 dpi at full speed with consecutive dots This mode is generally used to print 240h by 144v dpi resolutions in two passes Rev F Page 35 Control Codes PcOS Series 80PLUS Programmer s Guide Graphics Mode Extended APA Graphics Function Print graphics in mode lt n gt 60h 120h 240h x 72v dpi ASCII ESC lt m gt lt n gt lt n gt 2 Hexadecimal 1BH 2AH lt m gt lt n gt lt n gt 2 Decimal lt 27 gt lt 42 gt lt m gt lt n gt lt n gt 2 IPCL none Description This command selects one of the following graphic modes as specified by lt m gt Where lt m gt O 60 dpi 7 144 dpi 1 120 dpi 8 100 dpi 2 120 dpi 9 200 dpi 3 240 dpi 10 101 dpi 4 80 dpi 11 203 dpi 5 72 dpi 12 13 14 16 not supported 6 90 dpi Function Reassign graphic mode ASCII ESC lt m gt lt n gt Hexadecimal 1BH 3FH lt m gt lt n gt Decimal lt 27 gt lt 63 gt lt m gt lt n gt IPCL none Description This command reassigns graphic mode lt m gt to resolution lt n gt Possible values for lt m gt are K L Y or Z Resolution
35. the host in the format 31 24 d23 16 d15 8 d7 0 n 2 Query remaining nonvolatile memory pool size Transmits the remaining amount of nonvolatile memory pool storage to the host in the format d31 24 d23 16 d15 8 d7 0 n 3 Request the name of the first memory entry Transmits the NULL terminated name of the first memory entry to the host if it exists otherwise just returns NULL n 4 Request the name of the next memory entry Transmits the next NULL terminated memory entry name to the host if it exists otherwise just returns NULL Each call to this function returns the next name Use n 3 to reset the pointer n 5 Print the nonvolatile memory pool directory Causes the printer to print the nonvolatile memory pool directory when the printer is idle The directory prints all entry names and their associated types and sizes This directory is also displayed on the self test ticket Rev F Page 71 Epson Commands PcOS Series 80PLUS Programmer s Guide Command Descriptions Character Commands Function Set right side character spacing EA ASCII ESC SP n Hexadecimal 1BH 20H n Decimal lt 27 gt lt 32 gt n Range 0 lt n lt 255 Description This command sets the character spacing for the right side of the character to n x horizontal motion unit When standard mode is selected the vertical motion unit set by GS P is used When page mode is selected the vertical or horizontal m
36. to control data transmission to the printer It is driven high when the printer is ready to receive data and driven low when it cannot accept any more data The host will transmit data to the printer when it recognizes the state of the printer s DTR signal is high Page 104 Rev F Programmer s Guide XON XOFF Protocol ASCII characters coordinate the information transfer between the printer and the host system The printer sends an ASCII DC1 11 Hex XON character when it is ready to receive data and it sends an ASCII DC3 13 Hex XOFF character when it cannot accept any more data The host system must monitor the communication link in order to send data at the appropriate times PcOS Series 80PLUS RS 232C Technical Specification This section describes the pin settings for the connectors and the RS 232C interface parameters Connectors The following illustration shows the RS 232C communication connector and pin assignments The connector is a 9 pin male D shell connector and is located in the hollow cavity under the Appendix A Communications rinter Pin Signal Name Signal Function PC Host 9 pin Cross Connect Pin 1 Received line signal Not used detector 2 Serial receive Input signal to receive data from the host 3 Tx system 3 Serial transmit Output signal sending data to the host 2 Rx system 4 Dataterminal ready Output signal to float control the host 6 DSR 5
37. 1 62 63 64 66 67 68 69 72 73 74 Programmer s Guide PcOS Series 80PLUS Epson Commands Command Descriptions Function Select character code table EAT ASCII ESC F ny ny Hexadecimal 1BH 5BH 54H ny n Decimal lt 27 gt lt 91 gt lt 84 gt ny ny Default Ny 1 n 181 Code Page 437 Description This command selects a code page n from the character code table Code Country Decimal Hex Code Country Decimal Hex Page lt nh gt lt nl gt lt np gt lt nj gt Page lt nh gt lt nl gt lt Np gt lt n gt 64 USA Slashed 0 0 64 0H 040H 865 Norway 3 97 3H 061H 65 USA Unslashed 0 0 65 0H 041H 866 Cyrillic 11 866 3 98 3H 062H 66 British 0 66 0H 042H 869 Greek 869 3 101 3H 065H 67 German 0 67 0H 043H 874 Thailand 3 106 3H 06AH 68 French 0 68 0H 044H 895 Kamenicky MJK 3 127 3H 07FH 69 Swedish 0 69 0H 045H 1008 Greek 437 3 240 3H 0FOH 70 Danish 0 70 0H 046H 1009 Greek 928 3 241 3H 0F1H 71 Norwegian 0 71 0H 047H 1011 Greek 437 CYPRUS 3 243 3H 0F3H 72 Dutch 0 72 0H 048H 1012 Turkey 3 244 3H 0F4H 73 Italian 0 73 0H 049H 1013 Cyrillic 11 866 3 245 3H 0F5H 74 French Canadian 0 74 0H 04AH 1014 Polska Mazovia 3 246 3H 0F6H 75 Spanish 0 75 0H 04BH 1015 ISO Latin 2 3 247 3H 0F7H 76 Swedish II 0 76 0H 04CH 1016 Serbo Croatic 3 248 3H 0F8H 77 Swedish III 0 77 0H 04
38. 1BH 59H PcOS Series 80PLUS IPCL Equivalent Code amp MM amp CM amp ME amp CE amp FM lt m gt lt m gt lt m gt amp RI n 2 8 RF n 1 8 RN n 0 amp HV amp FS n 0 amp FD n 1 amp FH n 3 Rev F Description Set variable line spacing n 72 inch n 1 85 Enabled by ESC 2 Horizontal tab set Set tabs at columns n n2 nk 0 The maximum value of n depends on the station selected Begin emphasized print half speed End emphasized print Begin enhanced print double pass End enhanced print Do a fine line feed n 216 inch n 0 no line feed n 1 255 Single density graphics n1 0 255 n2 0 3 len n1 256 n2 Double density half speed graphics n1 0 255 n2 0 3 len n1 256 n2 Rotated font n 0 Normal n 1 Rotated 90 7 x 9 n 2 Rotated 270 7 x9 n 5 Rotated 90 5 x 7 n 7 Rotated 270 5 x 7 Reset horizontal tabs to defaults Set intercharacter spacing Multiline double wide double high sequence n 0 End all n 1 Begin double wide n 2 Double high n 3 Both Set left and right margin ni Left in characters n2 Right in characters Double density full speed graphics n1 0 255 n2 0 3 len n1 256 n2 Programmer s Guide Page e 30 wo wo ojojo wo al M wo wo 00 o N al O co 26 2 wo al Programmer s Guide Normal ASCII ESC ESC ESC ESC
39. 2 gt which would represent 02H or 2 Decimal lt n gt This indicates a variable parameter In this case a variable parameter n can have a value from 0 to 255 The meaning of n is described and defined in the description of the command lt n gt lt n gt gt This indicates that there are two parameters n and n where both have values from 0 to 255 lt m gt lt m gt This an IPCL parameter consisting of two digits where m and m are ASCII characters from 0 to 9 The values will be combined to form a value from 0 to 99 If m is included the parameter will be combined to form a value from 0 to 999 If two values are specified there must be two bytes added to the IPCL code In other words if the command specifies lt m gt lt m gt and the desired value is 5 the value must be specified as 05 x All other characters in control strings represent ASCII characters For example ESC 1 represents 1BH followed by 31H lThe serial and IEEE 1284 interfaces provide a few additional interface capabilities over a standard parallel interface The parallel M80PLUS supports the IEEE 1284 interface and provides a bidirectional data path Rev F Page 13 Control Commands PcOS Series 80PLUS Programmer s Guide Emulation Modes Emulation Modes and Available Commands The Series 80PLUS PcOS thermal printer is capable of emulating an Ithaca M50 Epson TM88 Epson TM85 and Axiohm 7193 series printer in addition to the native M80PLUS PcO
40. 253 9800007 25 pin male to 25 pin male parallel interconnect All of the above may be ordered by calling 877 748 4222 and asking for the Sales Department fax your order to 607 257 3868 or visit our website at www transact tech com You can also order by mail Send orders to Transact Technologies Inc 20 Bomax Drive Ithaca New York 14850 U S A Rev F Page 113
41. 5 CHR 255 CHR 255 REM data Function ASCII Hexadecimal Decimal Range Description Define user defined bit image from a PCX file E GS lt name gt 0 lt PCX graphics file gt 1DH 2EH lt name gt 0 lt PCX graphics file gt lt 29 gt lt 46 gt lt name gt 0 lt PCX graphics file gt lt name gt a 15 byte maximum length name to identify the image GS defines a bit image for storage in the nonvolatile memory pool See GS command for more information The source of the bit image is a PCX file GS will accept PCX file versions 2 5 2 8 and 3 0 If the PCX file contains an extended palette structure this command will be aborted any PCX file defined with more than 16 usable colors uses an extended palette structure All colors within a standard palette will be converted to either black or white when the bit image is stored using a best match algorithm The definition of the lt name gt parameter and the description of operation are identical to the GS command Rev F Page 67 Epson Commands Command Descriptions Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Description PcOS Series 80PLUS Programmer s Guide Print user defined bit image E GS 0 lt name gt 0 1DH 30H lt name gt 0 lt 29 gt lt 48 gt lt name gt 0 lt name gt a 15 byte maximum length name to identify the image G
42. 5 USA Unslashed 0 0 65 0H 041H 0 0 6 5 NA 66 British 0 66 0H 042H 0 0 6 6 3 67 German 0 67 0H 043H 0 0 6 7 2 68 French 0 68 0H 044H 0 0 6 8 NA 69 Swedish 0 69 0H 045H 0 0 6 9 5 70 Danish 0 70 0H 046H 0 0 7 0 NA 71 Norwegian 0 71 0H 047H 0 0 7 1 NA 72 Dutch 0 72 0H 048H 0 0 7 2 14 73 Italian 0 73 0H 049H 0 0 7 3 NA 74 French Canadian 0 74 0H 04AH 0 0 7 4 13 75 Spanish 0 75 0H 04BH 0 0 7 5 NA 76 Swedish II 0 76 0H 04CH 0 0 7 6 15 77 Swedish III 0 77 0H 04DH 0 0 7 7 16 78 Swedish IV 0 78 0H 04EH 0 0 7 8 17 79 Turkish 0 79 0H 04FH 0 0 7 9 18 80 Swiss 0 80 0H 050H 0 0 8 0 19 81 Swiss II 0 81 0H 051H 0 0 8 1 20 90 Publisher 0 90 0H 05AH 0 0 9 0 64 91 Welsh 0 91 0H 05BH 0 0 9 1 NA 437 USA 1 181 1H 0B5H 0 4 3 7 0 774 Baltic 3 6 3H 006H 0 7 7 4 74 850 Multilingual 3 82 3H 052H 0 8 5 0 26 852 East European Latin II 3 84 3H 054H 0 8 5 2 46 855 Cyrillic 3 87 3H 057H 0 8 5 5 44 857 Turkey 3 89 3H 059H 0 8 5 7 57 860 Portugal 3 92 3H 05CH 0 8 6 0 28 861 Icelandic 3 93 3H 05DH 0 8 6 1 73 862 Hebrew NC 3 94 3H 05EH 0 8 6 2 60 863 Canada French 3 95 3H 05FH 0 8 6 3 43 865 Norway 3 97 3H 061H 0 8 6 5 27 866 Cyrillic Il 3 98 3H 062H 0 8 6 6 45 869 Greek_869 3 101 3H 065H 0 8 6 9 47 874 Thailand 3 106 3H 06AH 0 8 6 4 NA Page 110 Rev F Programmer s Guide PcOS Series SOPLUS Appendix D Language Table Code Country Code Decimal Hex ASCII Epson ID Page Language Set lt n gt lt n2 gt
43. 80PLUS Epson Commands Supported Commands Supported Commands Print and Feed Commands Command Name Page LF OAH Print and line feed 63 ETB 17H Print 63 CR ODH Print and carriage return 63 ESC J 1BH 4AH Print and feed paper n vertical units 63 ESC d 1BH 64H Print and feed n lines 64 DC4 14H Feed n print lines 64 NAK 15H Feed n dot rows 64 FF OCH Print and return to standard mode in page mode 64 ESC FF 1BH OCH Print data in page mode 64 Line Spacing Commands Command Name Page ESC 2 1BH 32H Select default line spacing 1 6 Ipi 65 ESC 3 1BH 33H Set line spacing 65 SYN 16H Add n extra dot rows 65 User defined Memory Commands GS 1DH 2DH Define user defined bit image 66 GS 1DH 2EH Define user defined bit image from a PCX file 67 GS 0 1DH 30H Print user defined bit image 68 GS 1 1DH 31H Erase a single entry from the nonvolatile memory pool 68 GS 5 1DH 35H Erase all entries from the nonvolatile memory pool 68 GS 1DH 2AH Define single user defined bit image 69 GS 1DH 2FH Print single user defined bit image 70 GS 6 1DH 36H Save user definable character set 70 GS 7 1DH 37H Select user definable character set 70 GS 3 1DH 33H Query nonvolatile memory pool information 71 Character Commands Command Name Page ESC SP 1BH 20H Set right side character spacing 72 ESC 1BH 25H Select cancel user defined cha
44. 8x emulation mode the ESC command will reenable the panel buttons Paper Sensor Commands Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Range Description Select paper sensor s to output paper end signals E ESC c 3 n 1BH 63H 33H n lt 27 gt lt 99 gt lt 51 gt n 0 lt n lt 255 This command selects the paper sensor s to output paper end signals and is only available with a parallel interface It is ignored with a serial interface Each bit of n is used as follows Bit Off On Hex Decimal Function 0 Off 00 0 Ignored On 01 1 Ignored 1 Off 00 0 Ignored On 02 2 Ignored 2 Off 00 0 Paper roll end sensor disabled On 04 4 Paper roll end sensor enabled 3 Off 00 0 Paper roll end sensor disabled On 08 8 Paper roll end sensor enabled 4 7 Undefined Select paper sensor s to stop printing E ESC c 4 n 1B 63H 34H n lt 27 gt lt 99 gt lt 52 gt n 0 lt n lt 255 This command is not supported and is ignored if received Rev F Programmer s Guide PcOS Series 80PLUS Epson Commands Command Descriptions Print Position Commands Function ASCII Hexadecimal Decimal Range Description Epson TM T8x Axiohm 7193 Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Range Description Set absolute print position EA ESC nL nH 1BH 24H nL
45. 99 ESC 1BH 27H Copy user defined storage buffers 100 ESC L 1BH 4CH Select page mode 100 ESC S 1BH 53H Select standard mode 100 Page 62 Rev F Programmer s Guide PcOS Series 80PLUS Epson Commands Command Descriptions Command Descriptions Print and Feed Commands Function ASCII Hexadecimal Decimal Description Function ASCII Hexadecimal Decimal Description Function ASCII Hexadecimal Decimal Default Epson TM T8x Axiohm 7193 Description Function ASCII Hexadecimal Decimal Range Description Print and line feed EA LF OAH lt 10 gt This command prints the data in the print buffer and feeds one line based on the current line spacing Print A ETB 17H lt 23 gt This command prints one line from the buffer and feeds paper one line at the current line height functions same as a LF command Print and carriage return EA CR ODH lt 13 gt CR is ignored This command functions the same as LF The table below describes the operation of the LF command based upon its default setting in configuration mode Paper Automatic line feed Automatic line feed enabled disabled Paper roll Functions same as LF Ignored Print and feed paper EA ESC J n 1BH 4AH n lt 27 gt lt 74 gt n 0 lt n lt 255 This command prints the data in the print buffer and feeds the paper n x vertical motion unit When standard mode is selected the vertical motion unit set by G
46. AUTION Care must be taken to avoid minor injury to yourself or damage to your equipment NOTES Notes contain important information and useful tips on the operation of your printer Page iv Rev F Programmer s Guide PcOS Series SOPLUS Table of Contents Table of Contents Gnral Am fOr aes seh 555 es sche case losas tesoros viii Warranty Indo MONO deshe a ER ERR EEEE E A EA E RA EA E ARE A TREERE NETES viii Warranty Options ssec esoresrsisecirsereni ineine sin bei ene ER AR eet RAIN IA sbeveuesestenses viii Service INformations ree i ET E E E EE E R T fataid viii Whatis In this book A OO viii Who should read this Book h srei eiea aa viii Where can you find more information seeseeeseeesseseeessseseserssesstessteseseeertesrtrsstessresstesteesteseeeseenset ix Our Internet Support and Sales Services 00 0 0 eee eee eeseeeceeseeseceecesecsaecaecssecseecseeeaeseaeseeeeeeeeeeeeatens ix Contacting TransAct Technologies Incorporated 0000 00 cece cece cee cscecseeeeeeeeeeeeeeeeeseesecaecaeesaesneeeas ix Technical Uppsala ix A i aene e aa e S aa aa A VEE a Ee AE EEO A AEE ENE ETa E EEEE E E EEE ten ix TransAct Technologies Incorporated escesscecsseceeeeecssecesececaeceseeecaceeeeeecsaeceeaeecsaeeeeaeecsaeeesaees ix General Descrip OM sison er na SE E E TE EEEE E E E S EES 1 Feat A A ene 1 A cuts onen o tubes ets vancvacs sod dagescob seek Eio o lasuscusagellabiadeysuabbvicuseee 2 SOLA ii Saved eae hae EE VREO E lead E e
47. BH OCH lt 27 gt lt 12 gt ESC FF prints all buffered data in the printable area collectively in page mode This command is enabled only in page mode After printing the printer does not clear the buffered data or values set by other commands When the printer returns to standard mode FF or ESC S should be executed This command does not cut the paper Rev F Programmer s Guide PcOS Series 80PLUS Epson Commands Command Descriptions Line Spacing Commands Function ASCII Hexadecimal Decimal Description Function ASCII Hexadecimal Decimal Range Description Epson TM T8x Axiohm 7193 Function ASCII Hexadecimal Decimal Range Default TM T8x Axiohm Description Select default line spacing EA ESC 2 1BH 32H lt 27 gt lt 50 gt This command sets the line spacing to 1 6 inch Set line spacing EA ESC 3 n 1BH 33H lt 27 gt lt 51 gt n 0 lt n lt 255 This command sets the line spacing to n x vertical motion unit This command sets the line spacing to n x 1 360 When standard mode is selected the vertical motion unit set by GS P is used When page mode is selected the vertical or horizontal motion unit set by GS P is used for the print directions set by ESC T Add n extra dot rows A SYN n 16H n lt 22 gt n 0O lt n lt 12 n 23 6 lines inch with vertical motion unit 1 360 n 2 7 6 lines inch with vertical motion unit 1 152 This command adds n extra
48. Code C lt 137 gt The complete data field is printed Due to space limitations only ten characters can be printed The printer generates a check digit Code 128 Note With Code 128 the A space is defined as a lt 0 gt This makes programming difficult and causes control character conflicts for the printer To help solve these problems in Code 128 the PcOS Series SOPLUS Printer subtracts 32 from all characters that are to be included in the bar code In the Code 128 definition an A is lt 33 gt However the printer will convert an ASCII A lt 65 gt to a lt 33 gt internally which forces Code 128C and the start codes off by 32 Page 40 Rev F Programmer s Guide PcOS Series SOPLUS Control Codes UPC A UPCE EAN 13 EAN 8 Function ASCII Hexadecimal Decimal IPCL Description Bar Codes This is a fixed length numeric continuous code that employs four element widths The printer supports Universal Product Code Versions A E EAN 8 and EAN 13 Version A encodes 11 digits Typically the UPC A format starts with a number system digit 5 digit manufacturer s code 5 digit product code and a check digit The printer makes no assumptions about any of the codes except the check digit The printer will print a UPC bar code with the 11 digits sent to it and generate the check digit If fewer than 11 digits are sent the remaining digits will be 0 The printer will print a UPC that is about 130 the size of t
49. DH 1017 Serbo Croatic II 3 249 3H 0F9H 78 Swedish IV 0 78 0H 04EH 1018 ECMA 94 3 250 3H 0FAH 79 Turkish 0 79 0H 04FH 1019 Windows East Europe 3 251 3H 0FBH 80 Swiss 0 80 0H 050H 1020 Windows Greek 3 252 3H 0FCH 81 Swiss II 0 81 0H 051H 1021 Latin 5 Windows 3 253 3H 0FDH Turkey 90 Publisher 0 90 0H 05AH 1022 Windows Cyrillic 3 254 3H 0FEH 91 Welsh 0 91 0H 05BH 1024 Hungarian CWI 4 0 4H 000H 437 USA 1 181 1H 0B5H 1026 ISO Latin 4 8859 4 4 2 4H 002H 774 Baltic 774 3 6 3H 006H 1027 Ukrainian 4 3 4H 003H 850 Multilingual 3 82 3H 052H 1028 Roman 8 4 4 4H 004H 852 East Europe Latin Il 3 84 3H 054H 1029 ISO Latin 6 8859 10 4 5 4H 005H 852 855 Cyrillic 1 855 3 87 3H 057H 1030 Hebrew NC 862 4 6 4H 006H 857 Turkey 857 3 89 3H 059H 1031 Hebrew OC 4 7 4H 007H 858 Multilingual Euro 3 90 3H 05AH 1032 Windows Hebrew 4 8 4H 008H 860 Portugal 3 92 3H 05CH 1033 KBL Lithuanian 4 9 4H 009H 861 Icelandic 861 3 93 3H 05DH 1034 Windows Baltic 4 10 4H 00AH 862 Hebrew NC 862 3 94 3H 05EH 1035 Cyrillic Latvian 4 11 4H 00BH 863 Canada French 3 95 3H 05FH 1072 Bulgarian 4 48 4H 030H Function Insert Euro Character EA ASCII GS Hexadecimal 1DH 23H Decimal lt 29 gt lt 35 gt Description This command allows an application to replace any character in the currently active character set with the Euro character The character to be replaced is defined by n For example if the currently active character set is CP 850
50. ESC ESC ESC ESC ESC ESC ESC ESC ESC ESC GS Second ASCII Field Z lt n gt lt n gt 2 P lt n gt T lt n gt A lt n gt a lt n gt b lt n gt ETX d lt n gt g lt n gt q lt n gt r lt n gt x lt N gt y lt n gt Hex Code 1BH 5AH 1BH 5BH 40H 1BH 5BH 50H 1BH 5BH 54H 1BH 5EH 1BH 61H 1BH 62H 1BH 64H 1BH 67H 1BH 71H 1BH 72H 1BH 76H 1BH 78H 1BH 79H 1DH 7FH PcOS Series 80PLUS Control Codes Summary by Code IPCL Equivalent Code Description Page Quad density full speed graphics 35 n1 0 255 n2 0 3 len n1 256 n2 Set print style 29 See command description 8 F1 7 Set character pitch 25 amp CP Set character set by code page 22 amp CC Print control code 23 amp JIR Set justification to 17 amp IC n 0 Left amp IL n 1 Center n 2 Right amp 25 n 0 Print Bar code 40 amp 39 n 1 n 0 Interleave 2 of 5 amp 12 n 2 n 1 Code 39 amp UP n 3 n 2 Code 128 amp EA n 4 n 3UPCA n 4 EAN 13 amp FL Feed lt n gt lines at the current spacing 19 amp GP n 0 Graphic save buffer control where 39 amp GS n 1 n 0 Print buffer amp GE n 2 n 1 Clear and start save 8 GW n 3 n 2 End save n 3 End save and store to nonvolatile memory None Buffer marker query 42 amp RO n 0 Rotated print 32 amp R1 n 1 n 0End amp R2 n 2 n 1 Rotated
51. ESC P lt n gt Hexadecimal 1BH 5BH 50H lt n gt Decimal lt 27 gt lt 91 gt lt 80 gt lt n gt IPCL amp F lt n gt Description This command sets character per inch cpi print pitch to lt n gt Where n lt 10 gt selects 10 cpi 2 0F3 lt 12 gt selects 12 cpi 2 7 0F2 lt 15 gt selects 15 cpi 270 F6 lt 17 gt selects 17 cpi amp F1 lt 20 gt selects 20 cpi amp IES Rev F Page 25 Control Codes Character Print Page 26 Function Mode ASCII Hexadecimal Decimal IPCL Description Function ASCII Hexadecimal Decimal IPCL EPOS Description Where PcOS Series 80PLUS Programmer s Guide Set intercharacter spacing Global ESC V lt n gt 1BH 56H lt n gt lt 27 gt lt 86 gt lt n gt none This command sets intercharacter spacing by adding white space between characters The value of lt n gt sets the spacing and can range from 0 to 256 The normal pitch set commands set the intervalue to 0 Each value of n adds 1 180 inch to the space between characters Set left right print margin ESC X lt n1 gt lt n2 gt 1BH 58H lt n1 gt lt n2 gt lt 27 gt lt 88 gt lt n1 gt lt n2 gt none ESC l ESC Q This command sets left and right print margins in characters from the home position nl Left margin n2 Right margin The absolute position depends on the current print pitch This command should be issued at the start of a new line If it is not the previous data will be prin
52. In EPOS mode this command performs line feeds in n 144 inch increments Function Set variable line space to n 216 inch ASCII ESC 3 lt n gt Hexadecimal 1BH 33H lt n gt Decimal lt 27 gt lt 51 gt lt n gt IPCL amp SV lt m gt lt m gt gt lt m3 gt Description This command sets the default line spacing to n 216 inch Set n 1 to 255 This command sets the line feed spacing used by LF to values other than 1 8 or 7 72 inch This command takes effect immediately as opposed to the ESC A lt n gt command EPOS NOTE Line spacing of n 144 is used Function Set line space 27 216 inch ASCII ESC 0 Hexadecimal 1BH 30H Decimal lt 27 gt lt 48 gt IPCL amp ST Description This command sets the default line spacing to 1 8 inch 27 216 inch This is a standard 8 lines per inch line spacing This is the default text line spacing at initial power up EPOS NOTE In EPOS mode this command sets 1 6 inch spacing or 6 lines per inch Function Set line space 21 216 inch or 7 72 inch ASCII ESC 1 Hexadecimal 1BH 31H Decimal lt 27 gt lt 49 gt IPCL amp SG Description This command sets the default line spacing to 21 216 inch This line spacing is Page 18 for all points addressable APA graphics printing Rev F Programmer s Guide Function ASCII Hexadecimal Decimal IPCL Description Function ASCII Hexadecimal Decimal IPCL Description Function ASCII Hexadecimal Decimal IPCL Description Functi
53. L Hexadecimal 07H Decimal lt 7 gt Description This command opens Cash Drawer 2 Function Extended M50 cash drawer commands ASCII ESC Hexadecimal 1BH 2BH Decimal lt 27 gt lt 43 gt Description This command opens Cash Drawer 1 Function Extended M50 pass through ASCII ESC d or ESC RS and ESC Hexadecimal 1BH 23H or 1BH 64H or 1BH 1EH and 1BH 22H Decimal lt 27 gt lt 35 gt or lt 27 gt lt 100 gt or lt 27 gt lt 30 gt and lt 27 gt lt 34 gt Description These are Model 50 pass through commands Page 46 ESC d turns on pass through and ESC RS or ESC turns it off This command requires that the pass through function be enabled in the configuration menu NOTE ESC commands available in some versions of M50 printers are not available in this emulation Rev F Programmer s Guide _PcOS Series SOPLUS Control Codes Printer Status Printer Status Set Inquire The PcOS Series SOPLUS 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 The normal computer printer does not have cash drawers and slip stations As a result the standard printer protocol must be extended to deal with the additional features of a PcOS printer The PcOS Series 80PLUS Printer has de
54. Off 00 0 Emphasized mode not selected On 08 8 Emphasized mode selected 4 Off 00 0 Double height mode not selected On 10 16 Double height mode selected 5 Off 00 0 Double width mode not selected On 20 32 Double width mode selected 6 gt Undefined 7 Off 00 0 Underline mode not selected On 80 128 Underline mode selected Page 76 Rev F Programmer s Guide Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Range Description PcOS Series 80PLUS Epson Commands Command Descriptions Turn underline mode on off E ESC n 1BH 2DH n lt 27 gt lt 45 gt n 0 lt n lt 2 48 lt n lt 50 This command turns underline mode on or off based on the following values of n n Function 0 48 Turns off underline mode 1 49 Turns on underline mode 2 dots thick 2 50 Turns on underline mode 2 dots thick Turn emphasized mode on off E ESC E n 1BH 45H n lt 27 gt lt 69 gt n 0 lt n lt 255 This command turns emphasized mode on or off When the LSB is 0 emphasized mode is turned off When the LSB is 1 emphasized mode is turned on Turn double strike mode on off El ESC G n 1BH 47H n lt 27 gt lt 71 gt n 0 lt n lt 255 This command turns double strike mode on or off When the LSB is 0 double strike mode is turned off When the LSB
55. PcOS SERIES 80PLUS POS Thermal Printer PROGRAMMER S GUIDE Rev F Made To Order Built To Last ATRANSACT Technologies Inc company Programmer s Guide PcOS Series SOPLUS Change History Rev F Added Las Vegas address Rev E Removed ASB ASB is now a special order option Rev D Updated disclaimer Rev C Updated contact information Updated ordering paper section Rev B Clarified Table 1 Updated user defined memory commands Fixed bar code width table Rev A Initial Release Rev F Change History Page i PcOS Series 80PLUS Programmer s Guide 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 Recipient shall not disclose any portion of this document to any third party TRANSACT DOES NOT ASSUME ANY LIABILITY FOR DAMAGES INCURRED DIRECTLY OR INDIRECTLY FROM ANY ERRORS OMISSIONS OR DISCREPANCIES IN THE INFORMATION CONTAINED IN THIS DOCUMENT Some of the product names mentioned herein are used for identification purposes only and may be trademarks and or registered trademarks of their respe
56. S The Ithaca M90 PcOS and M150 PcOS products are supersets subsets of the M80PLUS The current emulation mode can be obtained at any time by performing a self test and may be changed at any time via the configuration mode Not all of the commands supported by the Series SOPLUS Printer are available at all times Standard Emulation The standard control codes for the PcOS Series 80PLUS printers are extensions and subsets of other Ithaca PcOS products In some cases an application designed for a Series 50 printer with IBM code sets will function with a PcOS Series 80PLUS Printer in M50 emulation There are however significant differences in the operation of the PcOS Series 80PLUS Printer that may impact existing applications ESC POS The Series 80PLUS printer supports an ESC POS emulation with Epson or Axiohm emulations These commands are different from the PcOS commands and are documented in the Epson Axiohm command section of this manual IPCL Codes IPCL Ithaca Printer Control Language codes are designed to control a printer without using control characters For example characters less than 20H Not all commands are supported by IPCL codes For the commands that are the IPCL code is listed In rare cases an IPCL code will interfere with the text that is to be printed The IPCL translator can be disabled with an ESC y lt 4 gt command Page 14 Rev F PcOS Series 80PLUS Control Codes Print Paper Motion Programmer s Guide
57. S 0 prints a bit image from storage in the nonvolatile memory pool The name of the bit image can be from one to 15 bytes long and contain any alphanumeric characters as well as spaces GS searches the nonvolatile memory pool for the first occurrence of the image identified by lt name gt If the image is found it will be printed If the image cannot be found this command will be ignored In standard mode this command must be entered at the beginning of a print line In page mode this command may be entered at any time The following basic example demonstrates how to print the stored bit image named MY IMAGE PRINT 1 CHR 29 CHR 48 PRINT 1 MY IMAGE CHR 0 REM Enter the GS 0 command REM Enter the image name Erase a single entry from the nonvolatile memory pool GS 1 lt name gt 0 1DH 31H lt name gt 0 lt 29 gt lt 49 gt lt name gt 0 lt name gt a 15 byte maximum alphanumeric name to identify the image GS 1 deletes a single entry bit image or character set from storage in the nonvolatile memory pool The printer will go off line before deleting the entry and will return on line when it is completed Please be sure to adhere to flow control provided by the communication interface Erase all entries from the nonvolatile memory pool GS 5 1DH 35H lt 29 gt lt 53 gt GS 5 erases the entire contents of the nonvolatile memory pool and frees up the memory for new entries The printer will go of
58. S P is used When page mode is selected the vertical or horizontal motion unit set by GS P is used for the print direction set by ESC T Rev F Page 63 Epson Commands Command Descriptions Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Description Function ASCII Hexadecimal Decimal Description PcOS Series 80PLUS Programmer s Guide Print and feed n lines ESC d 1BH 64H n lt 27 gt lt 100 gt n 0 lt n lt 255 This command prints the data in the print buffer and feeds n lines EA ES Feed n print lines DC4 n 14H n lt 20 gt n 0 lt n lt 255 This command feeds the paper n lines at the current line height without printing Feed n dot rows NAK n 15H n lt 21 gt n 0 lt n lt 255 This command feeds the paper n dot rows n x vertical motion unit inches without printing A Print and return to standard mode in page mode El FF OCH lt 12 gt FF prints the data in the print buffer collectively and returns to standard mode The buffer data is deleted after it is printed This command returns the values set by the ESC W command to the default values The value set by the ESC T command is maintained This command is enabled only in page mode This command does not cut the paper Print data in page mode E ESC FF 1
59. SC D lt n gt lt n gt lt n3 gt lt n gt 0 Hexadecimal 1BH 44H lt n gt lt n gt lt n3 gt lt n gt OOH Decimal lt 27 gt lt 68 gt lt n gt lt n gt lt n3 gt lt n gt lt 0 gt IPCL none Description This command sets tab stops at the character columns specified by lt n gt The end of the settings is specified by a lt 0 gt All previously set tabs will be cleared by this command There is no restore defaults procedure other than to respecify the tabs Column sizes are in accordance with the current character pitch Setting tabs that are beyond the station width is possible A CR will be inserted 1f the tab is used Printing will begin at the home position The power up default is every eight spaces i e 9 17 25 and so on Function Reset horizontal tab stops ASCII ESC R Hexadecimal 1BH 52H Decimal lt 27 gt lt 82 gt IPCL amp SHV Description This command resets horizontal and vertical tab stops to power up configuration Page 16 The power up horizontal default is every eight spaces i e 9 17 25 and so on The vertical default is every line Rev F Programmer s Guide PcOS Series 80PLUS Control Codes Function ASCII Hexadecimal Decimal IPCL Description Where lt n gt Horizontal Motion Set justification ESC a lt n gt 1BH 61H lt n gt lt 27 gt lt 97 gt lt n gt amp IL KPJC KPIR This command sets the horizontal justification The print format of the pri
60. and If the printer is powered up into self test mode the macro definition will not be executed A saved macro definition can be deleted with the GS _ command Bit orton Hex Decimal Function 0 Off 00 0 Macro executes rtimes continuously with the interval specified by t On 01 1 FEED button controlled operation with time interval t 1 4 Undefined 5 On 20 32 Value given by ris ignored and macro is run infinitely 6 On 40 64 Save start up macro definition to EEPROM memory without executing 7 7 5 Undefined Function Delete start up macro definition I ASCII GS z Hexadecimal 1DH SFH Decimal lt 29 gt lt 95 gt Description This command deletes a start up macro definition previously created by the GS command If a start up macro was not previously defined this command is ignored Rev F Page 95 Epson Commands PcOS Series 80PLUS Command Descriptions Programmer s Guide Mechanism Control Commands Function Select cut mode and cut paper E ASCII GS v m Hexadecimal 1DH 56H m Decimal lt 29 gt lt 86 gt m ASCII GS v m Hexadecimal 1DH 56H m Decimal lt 29 gt lt 86 gt m Range m 1 49 m 65 66 0 lt n lt 255 Description This command selects a mode for cutting paper and executes paper cutting The value of m selects the mode as follows Print mode Partial cut Feeds paper cutting position n x vertical motion unit and performs a partial cut F
61. ands completely redefine this table 2 The internal character map is provided in a separate document Rev F Page 23 Control Codes PcOS Series 80PLUS Programmer s Guide International Character Sets Function Insert Euro Character ASCII ESC C lt n gt Hexadecimal 1BH 5BH 43H Decimal lt 27 gt lt 91 gt lt 67 gt IPCL amp EU Description This command allows an application to replace any character in the currently active character set with the Euro character The character to be replaced is defined by lt n gt For example if the currently active character set is CP 850 multilingual and the ODSH character is to be the Euro character 1BH 5BH 43H 0D5H will replace the character at OD5H with the Euro symbol Page 24 Rev F Programmer s Guide PcOS Series 80PLUS Control Codes Character Print Character Print Control Character Pitch Function Begin 10 cpi character pitch ASCII DC2 Hexadecimal 12H Decimal lt 18 gt IPCL amp F3 Description This command sets 10 characters per inch cpi print pitch Function Begin 12 cpi character pitch ASCII ESC Hexadecimal 1BH 3AH Decimal lt 27 gt lt 58 gt IPCL amp F2 Description This command sets 12 characters per inch cpi print pitch Function Begin 17 cpi character pitch ASCII SI Hexadecimal OFH Decimal lt 15 gt IPCL amp F1 Description This command sets 17 characters per inch cpi print pitch Function Set specified character pitch ASCII
62. ands used by the host system to activate the cash drawers see Control Code Library later in this manual 1 Plug the cash drawer cables into the connectors on the printer The connectors are standard phone connectors 2 If only one cash drawer is used plug the cable into the connector labeled 1 NOTE The following illustration shows the pin outs for the cash drawer connectors as viewed from the rear of the unit Drawer 2 can be configured to be the same as 1 via jumper J 7 Drawer 2 Drawer 1 Power Connector 123456 123456 __ Figure 2 Pin outs for cash drawer connectors Page 4 Rev F Programmer s Guide PcOS Series 80PLUS Setting up the Printer Cash Drawer J7 3 4 Pin Epson Axiohm 1 1 Frame Ground 2 Drawer Drive Ground 3 Status Switch 4 Drawer Drive 24V Switched 5 Drawer Drive Ground No Connect 6 Status Switch Ground 2 1 Frame Ground 2 No Connect Drawer Drive Ground 3 Status Switch 4 Drawer Drive 24V Switched 5 Drawer Drive Ground 6 Status Switch Ground Table 1 This jumper is for compatibility with earlier Epson printers Pins 3 4 are the default configuration for these jumpers WARNING Use a drawer that matches the printer s specification Using an improper drawer may damage the drawer as well as the printer CAUTION Do not connect a tel
63. are The Series SOPLUS thermal printer s firmware is stored on a nonvolatile flash memory chip The flash chip in your printer can be reprogrammed at any time using software utilities supplied by TransAct Technologies Incorporated These utilities give you the ability to upgrade the capabilities of your printer when newer versions of firmware become available as well as load customized versions of it to meet your specific needs All the process requires is that the Series SOPLUS printer be connected to a host PC and the appropriate software utility then run the entire process takes less than five minutes Contact TransAct Technologies Incorporated or visit our web site for more information about obtaining updates Page 112 Rev F Appendix F Ordering Paper and Supplies Qualified Supplier for Thermal Paper and Supplies Thermal Paper part number 100 9109 TransAct Technologies Inc 20 Bomax Drive Ithaca NY 14850 P 877 748 4222 F 607 257 3868 You may order by calling 877 748 4222 and press option 4 for supplies fax your order to 607 257 3868 or visit our website at www transact tech com You can also order by mail Send orders to Transact Technologies Inc 20 Bomax Drive Ithaca NY 14850 Ordering Cables To order cables use the following part numbers 10 2020 9 pin female to 9 pin female serial interconnect 10 2021 9 pin female to 25 pin female serial interconnect 10 2022 9 pin female to 25 pin male serial interconnect
64. ave Character font size 13 x 24 font or 10 x 24 font is used to produce 10 12 15 17 and 20 cpi print All points addressable APA graphics are supported in ten different resolutions Custom graphic user save area is located in nonvolatile memory Self diagnostics are included Rev F Page 1 General Information PcOS Series 80PLUS Programmer s Guide Printer Handling e Paper roll loading is easy e An auto cutter is standard e The printer allows easy maintenance for tasks such as head cleaning e The built in interface provides control capability for two cash drawers Interface Specifications Page 2 Serial The serial interface is a standard RS 232 interface on a 9 pin D shell connector It is defined as a standard DTE device A null model cable is required to interface the printer to another DTE device a PC See the serial port description contained in the communications area later in this manual for more information Parallel The parallel port is a standard 25 pin D shell as defined in the IEEE 1284 A Standard See the parallel port description contained in the communications area later in this manual for more information Cash Drawer The Series SOPLUS printer supports dual cash drawers with status The interface will provide status and 24 VDC up to 1 25 amps to the cash drawer See the cash drawer interface description later in this manual Rev F Programmer s Guide PcOS Series 80PLUS Setting up the Pr
65. ble 2 Character Spacing in Epson and Axiohm Modes cpl characters per line Space between characters is not included Characters can be scaled up to 64 times as large as the standard sizes Rev F Page 11 Reference Information PcOS Series 80PLUS Programmer s Guide Selected cpi Actual cpi Fontused Cpl single wide Cpl double wide 10 10 1 A 28 14 15 15 6 A 44 22 a B Y 4 amp 8 17 16 9 24 20 20 3 28 Table 3 Character spacing in PCOS M80PLUS mode cpi characters per inch cpl characters per line Characters can be scaled double high double wide with normal PeOS commands Paper Specifications Paper roll single ply Maximum outside diameter 100 mm 4 0 in Paper roll spool diameter Inside 12 mm 0 47 in Outside 18 mm 0 71 in Note The paper must not be pasted to the paper roll spool Width 80 mm 0 0 1 0 mm 3 15 in 0 0 0 04 in Thermal sensitive layer faces outward on roll Electrical Characteristics Output power 48 watts maximum average Supply voltage 24 VDC 3 at 2 0 amp maximum average Amp maximum average 2 0 Peak current 45A Standby current 0 2 A Line and load regulation 3 to 5 at peak load Ripple 240 mV at full load Overvoltage protection 35 VDV maximum Reliability MTBF Mechanism 94 000 hours 12 5 ratio Print head life 100 km 100 million pulses Environmental Conditions Temperature Operating 0 to 40 C 32 to 104 F
66. by 90 amp R3 n 3 n 2 Rotate left 180 n 3 Rotate by 270 NOTE Other font and format options are available amp FC Cycle receipt cutter 43 amp D1 n 1 Open cash drawer 43 amp D2 n 2 n 1 Cash Drawer 1 n 2 Cash Drawer 2 amp Y0 9 Control diagnostics and extended 44 features See description Diagnostic commands 54 Rev F Page 57 Epson Commands PcOS Series 80PLUS Programmer s Guide Emulation Modes Chapter 8 Epson Axiohm Commands Emulation Modes The Series 80PLUS thermal printer is capable of emulating an Epson TM T8x series printer and Axiohm 7193 printer as well as its Ithaca modes Though the Epson TM 8x and Axiohm 7193 share many of the same commands they do not all produce the same results Therefore to ensure complete compatibility the Series 80PLUS must be configured specifically for either Epson TM T8x emulation or Axiohm 7193 emulation The current emulation mode can be obtained at any time by performing a self test and may be changed at any time via the Configuration Mode Command Name Origin Command Name is the name of the command Origin specifies which printer command set the command comes from Origin may take on any combination of the following values Epson TM T8x command set Axiohm 7193 command set Series 80PLUS command extension Command has different functions depending upon the current emulation mode Page 58 Rev F Programmer s Guide PcOS Series
67. can be set from 25 ms to 250 ms NOTES The open cash drawer commands are processed as part of the print data They are not processed until they are found in the input buffer by the print processor They are not immediate commands Cash Drawer 2 is factory configurable in one of two modes Either Pin 2 or 3 is active depending on an internal jumper setting The factory default is Pin 3 Cash Drawer 1 is always on Pin 2 The cash drawer status is defined as an open circuit for drawer closed Activate receipt cutter ESC v 1BH 76H lt 27 gt lt 118 gt amp FC Cut ESC m or ESC i This command cuts receipt tape and is only active in receipt mode It will cut the receipt tape above the current print line NOTE This command is only effective on printers with a knife Rev F Page 43 Control Codes Printer Control Function ASCII Hexadecimal Decimal IPCL Description Where Function ASCII Hexadecimal Decimal IPCL Where n Description Page 44 PcOS Series 80PLUS Programmer s Guide Print suppress and data pass through ESC lt lt n gt 1BH 3CH lt n gt lt 27 gt lt 60 gt lt n gt none This command provides print suppress and data pass through features Bit 0 Printer select Bit Pass through on Bits 2 7 Undefined If Bit 0 is clear the printer will stop processing data If Bit 1 is set the data will be passed through the printer and be sent out on the serial port NOTE The pass through com
68. character sets and images 20 KB default 1 KB 1024 bytes 26 KB 32 KB 38 KB Graphic Buffering Enabled default The printer will print multiple lines of graphics at the same time Start stop printing will be less noticeable during large images Disabled The printer will print graphics a line at a time Rev F Page 9 Configuration Mode PcOS Series 80PLUS Programmer s Guide For printers equipped with an RS 232 serial communications interface Baud Rate 38400 BPS 9600 BPS default 4800 BPS Data bits Parity Stop Bits 8 none 1 default 7 even 1 8 none 2 Flow Control XON XOFF DTR DSR CTS RTS CTS RTS and DTR DSR Data Receive Error Prints default Ignored Serial Plug and Play Enabled default Disabled For printers equipped with an IEEE 1284 parallel communications interface IEEE 1284 nINIT Line Reset Enabled default Disabled IEEE 1284 nACK Signal Operation Mode 1 Not BUSY precedes ACK low Mode 2 Not BUSY follows ACK low TABLE A Euro Character Substitution Matrix Name Epson IBM Code Page Insertion Point 850 26 OxD5 Turkey 857 57 OxD5 Win Cyrillic 52 0x88 Win Turkish 51 0x80 Win Greek 50 0x80 Win Hebrew 62 0x80 Win Baltic 68 0x80 Page 10 Rev F Programmer s Guide Chapter 5 Reference Information Printing Specifications PcOS Series 80PLUS Reference Information Printing method Dot density Printing direction Printing width Characters per line Print
69. computer to use the configuration mode Page 8 Rev F Programmer s Guide PcOS Series SOPLUS Configuration Mode Configuration Options The tables below depict the options in order presented by the configuration mode Each option shows the settings available as well as the default setting where applicable Hex Dump Mode Disabled default Enabled If hex dump is enabled the remainder of the configuration process will be skipped The printer will then enter hex dump mode The printer will remain in hex dump until it is reset or power cycled Emulation Mode PcOS M80PLUS Normal Ithaca M80PLUS Mode IBM like M50 Ithaca M50 Emulation Epson TM85 Epson TM85 Emulation Epson TM88 Epson TM88 Emulation Axiohm Axiohm 7193 Emulation Carriage Return CR Control Normal return default Perform a normal CR by returning the input pointer to the left margin overprint allowed Line feed Translate CR s into LF s Ignore carriage return Ignore all CR s only line feed operations result in print Language Set Code Page Selects the default language set code page depending upon the selected emulation mode EURO Substitution Enabled Enable Euro character substitution in select code pages See Table A below Disabled Auto Cutter Option Enabled Disabled Input Buffer Size 45 bytes 8192 bytes default 16384 bytes 24576 bytes 32768 bytes User Definable Buffer Size 14 KB RAM buffer storage for user definable
70. ctive companies TransAct PowerPocket Magnetec Insta Load POSjet Ithaca 50Plus and Made to Order Built to Last are registered trademarks and BANKjet is a trademark of TransAct Technologies Inc Copyright 2005 TransAct Technologies Inc All rights reserved Revision F February 2005 Printed in the USA Page ii Rev F Programmer s Guide PcOS Series SOPLUS Change History Federal Communications Commission Radio Frequency Interference Statement The Series 80PLUS Printer complies with the limits for a Class A computing device in accordance with the specifications in Part 15 of FCC rules which 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 If this equipment does cause interference to radio or television reception which can be determined by turning the equipment off and on while the radio or television is on the user is encouraged to try to correct the interference by one or more of the following measures e _Reorient the radio or television receiving antenna e Relocate the printer with respect to the receiver e Plug the printer and receiver into different circuits If necessary the user should consult their dealer or an experienced radio television technician for additional suggestions The user may find the following booklet prepared by the Federal Communications Commission
71. d Form feed Carriage return One line double wide Set 17 cpi Set 10 cpi Cancel one line double wide Clear print buffer Begin escape sequence Space character Printable characters Bar code height n 0 Restore Defaults n 1 to 9 Number of passes 0 11 per pass Print Epson 9 pin graphics in mode lt m gt Select International Character Set Underline n 0 End n 1 Begin Set 1 8 line space Set 7 72 line space Begin variable line spacing Enable ESC A n Set fine line space n 216 inch where n 1 255 defines feed used by line feed Set auto line feed n 0 End n 1 Begin Set 12 cpi Print suppress and pass through Reassign graphics mode Page A al 48 15 NO PO a 2 AJN M a wo o ine 2 o 18 o AJN A ak S al 00 co 00 x ajo o 3 Oo Page 55 Control Codes Summary by Code Normal Second ASCII ASCII Field ESC A lt n gt ESC D lt n gt lt n gt lt n gt lt n gt lt 0 gt ESC E ESC F ESC G ESC H ESC J lt n gt ESC k lt n gt lt n gt ESC L lt n gt 1 lt n gt 2 ESC P lt n gt ESC R ESC V lt n gt ESC W lt n gt ESC X lt N1 gt lt n2 gt ESC Y lt n gt lt n gt 2 Page 56 Hex Code 1BH 41H 1BH 44H 1BH 45H 1BH 46H 1BH 47H 1BH 48H 1BH 4AH 1BH 4BH 1BH 4CH 1BH 50H 1BH 52H 1BH 56H 1BH 57H 1BH 58H
72. d returns zero Bit Off On Hex Decimal Function 0 Off 00 0 Not used fixed to Off 1 On 02 2 Auto cutter equipped 2 3 Undefined 4 Off 00 0 Not used fixed to Off 5 6 5 Undefined 7 Off 00 0 Not used fixed to Off n 2 Type ID Generate pulse EA ESC p m tl t2 1BH 70H m tl t2 lt 27 gt lt 112 gt m tl t2 m 0 1 48 49 0 lt t lt 255 0 lt 12 lt 255 This command outputs the pulse specified by t and 12 to connector Pin m as follows Pulse ON time t 2 ms Pulse OFF time 12 2 ms m Connector pin 0 48 Drawer 1 kick out connector Pin 5 1 49 Drawer 2 kick out connector Pin 1 J9 2 3 configurable to Pin 5 via jumper J9 1 2 Rev F Programmer s Guide Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Range Usage Description PcOS Series 80PLUS Epson Commands Command Descriptions Set peripheral device EA ESC 1BH 3DH lt 27 gt lt 61 gt n 1 lt n lt 255 This command selects a device to which the host computer sends data using n as follows Bit Off On Hex Decimal Function 0 Off 00 0 Printer disabled On 01 1 Printer enabled 1 7 Undefined When the printer is disabled it ignores all received data with the exception of the ESC DLE ENQ 1 and DLE ENQ 2 commands If ASB is enabled when the printer is disabled by the ESC command the printer transmits a 4 byte status m
73. d mode this command is enabled only when input at the beginning of a line In page mode an internal flag is activated and this command is enabled when the printer returns to standard mode n Justification 0 48 Left 1 49 Center 2 50 Right Rev F Page 81 Epson Commands Command Descriptions Function ASCII Hexadecimal Decimal Description Function ASCII Hexadecimal Decimal Range Default Description Where Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Range Description Page 82 PcOS Series 80PLUS Programmer s Guide Horizontal tab HT 09H lt 9 gt This command moves the print position to the next horizontal tab position if that position exists EA Set horizontal tab positions EA ESC D nl nk NUL 1BH 44H nl nk 00 lt 27 gt lt 68 gt nl nk 0 1 lt n lt 255 0 lt k lt 32 Default is every eight characters for 13 x 24 font This command sets horizontal tab positions n specifies the column number for setting a horizontal tab position from the beginning of the line k indicates the total number of horizontal tab positions to be set Epson and Axiohm emulation modes treat tab positions differently depending upon factors such as character pitch expansion and rotation Set left margin E GS L nL nH 1DH 4CH nL nH lt 29 gt lt 76 gt nL nH 0 lt nL lt 255 0 lt nH lt 255 This com
74. d only when no data exists in the print buffer When data does exist in the print buffer the printer processes the data following m as normal data 4 After printing a bar code the print position is set at the beginning of the line 5 These commands are not effected by print modes emphasized underline character size except for upside down mode Rev F Page 93 Epson Commands Command Descriptions PcOS Series 80PLUS Programmer s Guide Function Select printing position of HRI characters EA ASCII GS H n Hexadecimal 1DH 48H n Decimal lt 29 gt lt 72 gt n Range 0 lt n lt 3 48 lt n lt 51 Description This command selects the printing position of HRI Human Readable Interpretation characters when printing a bar code n selects the printing position as follows __ n Printing position 0 48 Not printed 1 49 Above bar code 2 50 Below bar code 3 51 Both above and below the bar code Function Select font for HRI characters El ASCII GS f n Hexadecimal 1DH 66H n Decimal lt 29 gt lt 102 gt n Range n 0 1 48 49 Description This command selects a font for the HRI Human Readable Interpretation characters used when printing a bar code n selects a font from the following table n Font 0 48 Font A 13 x 24 1 49 Font B 10 x 24 Macro Function Commands Function Start end macro definition E ASCII GS Hexadecimal 1DH 3AH Decimal lt 29 gt lt 58 gt Description This command starts or
75. d then reprinted The print information in this buffer can be replaced at any time and then reprinted It does not need to be saved in the nonvolatile memory It is feasible for the buffer to be used to create a duplicate receipt Programming considerations This feature works by inserting the save graphic buffer into the printer data stream when the print graphic save command is encountered Some care should be taken when forming this buffer Because when this buffer is inserted any configuration commands like font or pitch changes will remain in effect after the buffer is complete and or printed The nonvolatile memory has a limited number of write cycle operations For this reason the number of saves should be limited The buffer should not be saved on a transaction by transaction basis Once a day should be the limit The buffer is 24K bytes long All commands and print data are placed in the buffer and both must be included in the 24K limit There is no indication by the printer when it is full The application must make sure that the buffer is not overfilled The printer will simply stop saving information in the buffer after 24K characters are received As the buffer is filled the input data is printed normally The effect of the graphic save start command is to start to save the input data The graphic save stop command stops saving data and initializes internal pointers for the next print The graphic save stop and save command s
76. e not effective in page mode ESC V ESC a ESC GS L and GS W If these commands are processed in page mode an internal flag is activated Select standard mode E ESC S 1BH 53H lt 27 gt lt 83 gt ESC S switches from page mode to standard mode This command is effective only in page mode Data buffered in page mode is cleared This command returns the values set by the ESC W command to the default values The value set by the ESC T command is maintained The printer returns to standard mode with ESC S FF and ESC This command sets the print position to the beginning of the line Rev F Programmer s Guide _PcOS Series SOPLUS Panel Controls Chapter 9 Operator Panel Controls Operator controls consist of one push button and one LED The location and functionality of these controls are as follows Paper Feed Power Error LED ob Cover Open Cover Open Button The release button on the front of the Series 80PLUS Printer that opens the cover exposes the printer s paper roll Paper Feed Button The small circular button located on the printer top cover has several functions Depending on the state of the printer and when the button is pressed the functions of the line feed button are as follows When the printer is in the normal operational state and the panel button is depressed for a short duration the printer will feed the paper to a point exposing the last printed line to
77. ek 437 Cyprus 3 243 3H 0F3H 71 Norwegian 0 71 0H 047H 1012 Turkey 3 244 3H 0F4H 72 Dutch 0 72 0H 048H 1013 Cyrillic 11 866 3 245 3H 0F5H 73 Italian 0 73 0H 049H 1014 Polska Mazovia 3 246 3H 0F6H 74 French 0 74 0H 04AH 1015 ISO Latin 2 3 247 3H 0F7H Canadian 75 Spanish 0 75 0H 04BH 1016 Serbo Croatic 3 248 3H 0F8H 76 Swedish II 0 76 0H 04CH 1017 Serbo Croatic II 3 249 3H 0F9H 77 Swedish III 0 77 0H 04DH 1018 ECMA 94 3 250 3H OFAH 78 Swedish IV 0 78 0H 04EH 1019 Windows East 3 251 3H 0FBH Europe 79 Turkish 0 79 0H 04FH 1020 Windows Greek 3 252 3H 0FCH 80 Swiss 0 80 0H 050H 1021 Latin 3 253 3H OFDH Windows Turkey 81 Swiss II 0 81 0H 051H 1022 Windows Cyrillic 3 254 3H 0FEH 90 Publisher 0 90 0H 05AH 1024 Hungarian CWI 4 0 4H 000H 91 Welsh 0 91 0H 05BH 1026 ISO Latin 4 4 2 4H 002H 8859 4 437 USA 1 181 1H 0B5H 1027 Ukrainian 4 3 4H 003H 774 Baltic 774 3 6 3H 006H 1028 Roman 8 4 4 4H 004H 850 Multilingual 3 82 3H 052H 1029 ISO Latin 6 4 5 4H 005H 8859 10 852 East Europe 3 84 3H 054H 1030 Hebrew NC 862 4 6 4H 006H Latin 11 852 855 Cyrillic 1 855 3 87 3H 057H 1031 Hebrew OC 4 7 4H 007H 857 Turkey 857 3 89 3H 059H 1032 Windows Hebrew 4 8 4H 008H 860 Portugal 3 92 3H 05CH 1033 KBL Lithuanian 4 9 4H 009H 861 Icelandic 861 3 93 3H 05DH 1034 Windows Baltic 4 10 4H 00AH 862 Hebrew NC 3 94 3H 05EH 1035 Cyrillic Latvian 4 11 4H 00BH 862 863 Canada French 3 95 3H 05FH 1072 Bulgarian 4 48 4H 030H 865
78. ephone line to the drawer kick out connector otherwise the printer and the telephone line may be damaged Rev F Page 5 Setting up the Printer PcOS Series 80PLUS Programmer s Guide Connecting the Power Supply Use the optional Ithaca Bestec BPA 601 24 1984 or equivalent power supply for your printer The following illustration shows the power cable connector and pin assignments The power cable connector is a 3 pin mini DIN plug and is located in the small cavity under the printer Earth Ground 24 Volt Supply 24 Volt Return SS Figure 3 Power cable connector WARNING Make sure that you use the Ithaca Bestec BPA 601 24 1984 power supply or equivalent Using an incorrect power supply may cause fire or electrical shock CAUTIONS If the power supply s rated voltage and your outlet s voltage do not match contact your dealer for assistance Do not plug in the power cord Otherwise you may damage the power supply or the printer Make sure that the power supply s power cord is unplugged from the electrical outlet Check the label on the power supply to make sure that the voltage required by the power supply matches that of your electrical outlet Plug in the power supply s cable as shown below Notice that the flat side of the plug faces up NOTE To remove the DC cable connector grasp the connector at the arrow and pull it straight out INSTALLING OR REPLACING THE PAPER ROLL NOTE Be sure to use paper ro
79. er status 90 ESC v 1BH 76H Transmit printer status Axiohm 91 ESC v 1BH 76H Transmit printer status Epson 91 Bar Code Commands Command Name Page GS h 1DH 68H Set bar code height 92 GS w 1DH 77H Set bar code width 92 GS k 1DH 6BH Print bar code 92 GSH 1DH 48H Select printing position of HRI characters 94 GS f 1DH 66H Select font HRI characters 94 Macro Function Commands Command Name Page GS 1DH 3AH Start end macro definition 94 GS 1DH 5EH Execute macro 95 GS _ 1DH 5FH Delete start up macro definition 95 Mechanism Control Commands Command Name Page GS V 1DH 56H Select cut mode and cut paper 96 ESC i 1BH 69H Partial knife cut 96 EM 19H Full knife cut 96 SUB 1AH Partial knife cut 96 BEL 07H Sound buzzer 96 ESC BEL 1BH 07H Sound buzzer 97 Miscellaneous Commands Command Name Page GS P 1DH 50H Set horizontal and vertical motion units 97 ESC 1BH 40H Initialize printer 97 DLE 10H Clear printer 97 GS 1DH 49H Transmit printer ID 98 4 The command has different functions depending upon the current emulation mode 5 The command has different functions depending upon the current emulation mode The command has different functions depending upon the current emulation mode Rev F Page 61 Epson Commands Supported Commands PcOS Series 80PLUS Programmer s Guide ESC p 1BH 70H Generate pulse 98 ESC 1BH 3DH Set peripheral device 99 DLE ENQ 10H 05H Real time request to printer
80. essage whenever the status changes Real time request to printer E DLE ENQ n 10H 05H n lt 16 gt lt 5 gt n 1 lt n lt 2 Epson TM T8x emulation mode only This command responds to a request from the host computer specified by n When an auto cutter error occurs the printer can attempt to recover from it by using this command without turning the printer off n Request 1 Recover from an error and restart printing from the line where the error occurred 2 Recover from an error after clearing the receive and print buffers Rev F Page 99 Epson Commands Command Descriptions Function ASCII Hexadecimal Decimal Description Function ASCII Hexadecimal Decimal Usage Description Function ASCII Hexadecimal Decimal Description Page 100 PcOS Series 80PLUS Programmer s Guide Copy user defined storage buffers I ESC n 1BH 27H n lt 27 gt lt 39 gt n The ESC command copies data between the user defined RAM buffer and the nonvolatile EEPROM buffer This command is not recommended for use instead use GS for image storage in the nonvolatile EEPROM buffer Select page mode E ESC L 1BH 4CH lt 27 gt lt 76 gt Epson TM 8x emulation ESC L switches from standard mode to page mode This command is enabled only when input at the beginning of a line in standard mode it has no effect in page mode Standard mode is selected as the default The following commands ar
81. et ee eben ee a ea ee 2 O a NS 2 Cash RN NN 2 Setting Up the Printer nisser sierras icon RONE Sse ias SEEE E ie te 3 Connecting the Printer and Computer o oooooccocccononononononnnonnnonnnonnnonnnnnn cone cn nono nooo conocio nn nc nan rnn nan nan non nro necnnecnneos 3 Connecting the Cash Dra Wet otr a E EE RE aE a EE E PEETERS e ESE 4 Connec ng th Power Supply viii iaa 6 Self test MOG ea cases ccicscevseccacs tn a ei Do E e pink E E a E KE Ee ds A 7 Descriptions Ei A ews ave Lee eee 7 Configuration Ticket contrata at isch Aiton eee 7 PHIN TACK atadas 7 Configur tion Mode sc sceccecesisseeecesectenscbunedaecsseueas roer eeens vot evedescbsotaos sbeuviiedsd evseusebuvede sobsetesbebentvedcpeghensesee 8 DGSCriptionis 233 352 A os A Sees ee ep ee 8 Entering Configuration Mode unirse erat ratita Dest E Sapte E TO EE aise siete 8 Confis raton Opos ui A did 9 Reference Information aiii ds ties ia dd dai 11 Printing Specifications 2 11 Paper Speci ICAtONS ei vicssce seth sstasb ay bhegseee sveasbaoubgasecisstsebustheg cash spvaesesdaasetissvasv pduedsvedsnceees 12 Paper roll Sin le ply vecssscesodecesacdesdevsveevacosensderns e e E a ERIR E E E ETER 12 Electrical Characteristics cisc vessscecessns oetsuvesecvscts cscvevssdecveces AEE E NE EAEE EAEKO EAE a E EAEE EEA 12 Reliability eana a eee niin eee sith Di T ain een eS 12 Environmental Conditions aereo a E EEE a E E aR a E E E EE EE EE i 12 Control Commands ii AE E E A A AE N NA 13
82. eturn power up status Inquire printer state ENQ lt 15 gt 05H 11H lt 5 gt lt 15 gt This command returns the current printer state ACK lt 15 gt lt n gt lt rl gt lt r2 gt lt 15 gt is the echo of command ID n is the number of return bytes 40 28H to prevent confusion with XON XOFF lt rl gt Bit 0 Form clamp is closed Bit 1 Cover is closed Bit 2 Receipt paper is out Bit 3 0 Bit 4 Printer is in error state waiting for error to be cleared Bit5 0 Bit 6 1 always Bit 7 0 always lt r2 gt Bit0 0 Bit1 0 Bit2 0 Bit3 0 Bit4 0 Bit5 0 Bit 6 1 always Bit 7 0 always Rev F Page 51 Control Codes Printer Status Function ASCII Hexadecimal Decimal Function Response Where Page 52 PcOS Series 80PLUS Programmer s Guide Inquire all printer status ENQ lt 20 gt 05H 14H lt 5 gt lt 20 gt This command returns all status flags ACK lt 20 gt lt n gt lt rl gt lt r2 gt lt 20 gt is the echo of command ID n is the number of return bytes 40 28H to prevent confusion with XON XOFP lt rl gt lt r2 gt lt r3 gt lt r4 gt Bit 0 Cash Drawer 1 is open Bit 1 Cash Drawer 2 is open Bit 2 Receipt paper is out Bit 3 0 Bit 4 Receipt paper error occurs Bit5 0 Bit 6 1 always Bit 7 0 always BitO 1 Bit 1 Cover is closed Bit 2 Buffer is empty Bit 3 Printer power has been cycled does not affect sta
83. f 1 Off 02 2 Not used fixed to On 2 Off 00 0 Drawer 1 or 2 kick out connector status is low On 04 4 Drawer 1 or 2 kick out connector status is high 3 Off 00 0 On line On 08 8 Off line 4 On 10 16 Not used fixed to On 5 6 E Undefined 7 Off 00 0 Not used fixed to Off Printer status n 1 Bit Off On Hex Decimal Status 0 Off 00 0 Not used fixed to Off 1 On 02 2 Not used fixed to On 2 Off 00 0 Cover is closed On 04 4 Cover is open 3 Off 00 0 Paper is not being fed by the FEED button On 08 8 Paper is being fed by the FEED button On 10 16 Not used fixed to On Off 00 0 No paper end stop On 20 32 Printing stops due to paper end 6 Off 00 0 No error On 40 64 Error occurred 7 Off 00 0 Not used fixed to Off Off line status n 2 Rev F Programmer s Guide PcOS Series 80PLUS Epson Commands Command Descriptions Bit Off On Hex Decimal Status 0 Off 00 0 Not used fixed to Off 1 On 02 2 Not used fixed to On 2 Undefined 3 Off 00 0 No auto cutter error On 08 8 Auto cutter error occurred 4 On 10 16 Not used fixed to On 5 Off 00 0 No unrecoverable error On 20 32 Unrecoverable error occurred 6 Off 00 0 No automatically recoverable error occurred On 40 64 Automatically recoverable error occurred 7 Off 00 0 Not used fixed to Off Error status n 3 Bit Off On Hex Decimal Status 0 Off 00 0 Not used fi
84. f line when this command is received and will return on line when it is completed Please be sure to adhere to flow control provided by the communication interface Rev F Programmer s Guide PcOS Series 80PLUS Epson Commands Function ASCII Hexadecimal Decimal Range Description Command Descriptions Define single user definable bit image EA GS x y dl d xx yx 8 1DH 2AH x y dl d x x yx 8 lt 29 gt lt 42 gt xX y dl d xx y x 8 1 lt x lt 255 1 lt y lt 48 0 lt d lt 255 This command defines a single downloaded bit image using the number of dots specified by x and y in the RAM buffer area volatile memory The number of dots in the horizontal direction is x x 8 The number of dots in the vertical direction is y x 8 If x x y x 8 exceeds the size of the buffer the image will be truncated d indicates bit image data Data d specifies a bit printed to 1 and not printed to 0 After a downloaded bit image is defined it may be saved to the nonvolatile EEPROM storage buffer using the ESC command where it will remain indefinitely Otherwise the image will remain in the RAM buffer where it is available until ESC or ESC amp is executed the printer is reset or the power is turned off A representation of the format of a downloaded bit image is depicted below Column one MSB LSB lt d xXyX8 Rev F Page 69 Epson Commands Command Descriptions PcOS Series 80PLUS Progra
85. fined a set of status inquiry commands that will allow the host to obtain information about the printer and devices connected to it The method chosen to interact with the computer is designed to allow a reasonable approach to the host application It will not always be possible for an existing application to use the ENQ commands unless the communication drivers are available to the programmer Serial Mode Inquire All ENQ commands require a response from the printer In serial operation all ENQ commands are responded to by ACK or NAK the command ID and in some cases status The serial ACK or NAK responses are always uniform and followed with a command ID This makes the design of the host application easier because the response can be identified and always follows the same format The printer will always accept serial data even if the printer is off line It is possible to send inquire commands to the printer even if it is off line Because ENQ commands are processed before they go in the buffer the printer will respond even if the printer is busy printing In serial mode it is desirable that the response to an ENQ be received by the host before another ENQ command is issued to the printer When the printer receives an ENQ it must generate a response If ENQ s are sent to the printer too fast the printer will spend all of its time responding to ENQ s and have no time to print IEEE 1284 Mode Inquire In parallel IEEE 1284 mode there
86. hat the host computer wished the printer to print This section describes the various interfaces that allow the transmission of data Interfaces In order for the printer to communicate with the host a communication link must be set up The Series 80PLUS supports the following two communication interfaces RS 232C and Parallel Each of these has a protocol associated with it that the host must adhere to and understand Only when the interface parameters are matched and the proper protocol is used will the host and the printer be able to communicate See the description of the protocol associated with each type of interface listed below RS 232C Interface The RS 232C interface uses the RTS CTS DTR DSR or XON XOFF protocol For RTS CTS changes in the RTS CTS signal coordinate the information flow For DTR DSR changes in the DTR DSR signal coordinate the information flow For XON XOFF data characters transmitted between the host computer control communication data flow The RS 232C version of the Series 80PLUS Printer offers the standard communication options that are configured in the flash RTS CTS Protocol The RTS signal is used to control data transmission to the printer It is driven high when the printer is ready to receive data and driven low when it cannot accept any more data The host will transmit data to the printer when it recognizes the state of the printer s RTS signal is high DTR DSR Protocol The DTR signal is used
87. he UPC nominal standard This provides optimal readability This is a zero suppression version of UPC The printer requires that the first digit be 0 for number system 0 If it is not zero the bar code is not printed The printer does the compression based on the compression rules for UPC E The printer will print a UPC bar code based on the 11 digits sent to it and generate the check digit If fewer than 11 digits are sent the remaining digits will be 0 The printer will print a UPC that is about 130 the size of the UPC nominal standard This provides optimal readability This is a fixed length numeric continuous code that employs four element widths The printer supports EAN 13 a superset of UPC that encodes 12 digits Typically the format starts with a number set digit which defines how the next 6 digits are encoded The next 5 digits have fixed encoding The last is a check digit The printer will print an EAN 13 bar code with the 12 digits sent to it and generate the check digit If fewer than 12 digits are sent the remaining digits will be 0 The printer will print an EAN 13 bar code that is about 130 the size of the nominal standard This provides optimal readability This is a fixed length numeric continuous code that employs four element widths The printer supports EAN 8 a superset of UPC that encodes 7 digits The printer will print an EAN 8 bar code with the 7 digits sent to it and generate the check digit If fewer than 7 digi
88. hnologies Incorporated to help adjust and test the printer There is no guarantee that these commands are valid and or stable They are not intended for use by the end user In no case should this command sequence be sent to the printer by an application Page 54 Rev F Programmer s Guide Control Codes Summary by Code Normal ASCII NUL SOH ENQ HT LF FF CR SO 4 SI DC2 DC4 CAN ESC SP 2 lt 32 gt lt 255 gt ESC ESC ESC ESC ESC ESC ESC ESC ESC ESC ESC ESC Second ASCII Field lt addr gt lt n gt EM B lt n gt lt m gt lt n gt 2 lt n gt lt n gt lt n gt e 3 lt n gt 5 lt n gt lt lt m gt lt n gt Hex Code 00 01H 05H 1BH 2AH 1BH 21H 1BH 2DH 1BH 30H 1BH 31H 1BH 32H 1BH 33H 1BH 35H 1BH 3AH 1BH 3CH 1BH 3FH PcOS Series 80PLUS IPCL Equivalent Code amp LF amp FF amp CR amp MW amp F 1 amp F3 amp MN amp RP amp amp BH lt m gt amp CS 1 2 3 lt m gt lt m gt lt m gt lt m gt amp CU n 0 amp MU n 1 amp ST amp SG amp SV E lt m gt lt m gt lt m gt 8 CA n 0 amp MA n 1 amp F2 amp PT Rev F Control Codes Summary by Code Description Null Multidrop control Inquire status Refer to command descriptions Horizontal tab Line fee
89. il the printer is ready to receive the next byte The printer acknowledges receipt of the data byte by Pulsing ACK L The printer removes Bush H to allow continuation of data flow NOTE Definition and timing of the parallel IEEE 1284 interface is beyond the scope of this manual For a complete description of this interface refer to the IEEE 1284 Specification This table describes the pin settings for the parallel interface Pin 1 Strobe Clock data to printer Host to Printer Pins 2 9 DO D7 Data Host to Printer Pin 10 ACK L Printer accepted data Printer to Host Pin 11 Busy Printer busy Printer to Host Pin 12 PE Paper out status Printer to Host Pin 13 SLCT Printer selected Printer to Host Pin 14 AUTOFD Auto feed paper Host to Printer Pin 15 ERR L Printer error Printer to Host Pin 16 INIT L Initialize the printer Host to Printer Pin 17 SLIN Select printer Host to Printer Pins 18 25 GND Ground Rev F Page 107 Appendix B PcOS Series SOPLUS Programmer s Guide Error Code Diagnosis Appendix B Error Code Diagnosis Description The Series 80PLUS PcOS thermal printer uses a single status LED to display on line and error conditions The tables below describe the types of error conditions possible and the patterns that the LED will flash for those conditions Key to Graphical Representation A LED is ON for 0 5 second LED is ON for 0 1 second E LED is OFF
90. image data Set a corresponding bit to to print a dot or to 0 to not print a dot Rev F MSB LSB dn Page 85 Epson Commands Command Descriptions Page 86 PcOS Series 80PLUS Programmer s Guide 24 dot single density mode representation is depicted below Top of bit image dl d4 d7 Function ASCII Hexadecimal Decimal Description Function ASCII Hexadecimal Decimal Usage Description Function ASCII Hexadecimal Decimal Description MSB LSB Select 8 dot single density bit image mode A ESC K nL nH dl k 1BH 4BH nL nH dl k lt 27 gt lt 75 gt nL nH dl k See ESC for a complete description of graphics mode commands Select 8 dot double density bit image mode A ESC L nL nH dl k 1BH 4CH nL nH dl k lt 27 gt lt 76 gt nL nH dl k Axiohm 7193 emulation mode See ESC for a complete description of graphics mode commands Select 8 dot double density bit image mode A ESC Y nL nH dl k 1BH 59H nL nH dl k lt 27 gt lt 89 gt nL nH dl k See ESC for a complete description of graphics mode commands Rev F Programmer s Guide Status Commands PcOS Series 80PLUS Epson Commands Command Descriptions Function Transmit status E ASCII GS r Hexadecimal 1DH 72H Decimal lt 29 gt lt 114 gt n Range 1 lt n lt 2 49 lt n lt 50 Description This command transm
91. ine formatted mode In line formatted mode the line length is set not by the longest line entered but by the set line length command The default line length is 80 characters However any value from 1 to 128 may be selected Anything past the selected length will be wrapped to the next line In rotated 180 mode all spacing commands are effective This mode of operation simply inverts and mirrors the print operation All line spacing and print features are available It should be noted that the feed direction is not effected by any of the rotate commands Rev F Page 31 Control Codes PcOS Series 80PLUS Programmer s Guide Formatted Print Rotation Function Begin rotated print ASCII ESC r lt X gt Hexadecimal 1BH 72H 0XH Decimal lt 27 gt lt 114 gt lt X gt IPCL amp IRK EPOS ESC T lt 3 gt Description This command starts rotated print mode where X defines the mode as follows n bits 76543210 Function xx00 End rotated print xx01 Rotate 90 0010 Rotate 180 xx1l1 Rotate 270 XL Xx Use line formatting If X 1 or 9 rotate print mode by 90 Print data is entered normally from left to right top to bottom When an End Rotated Print ESC r lt 0 gt command is received the printer will format and print the data If X 5 or 13 rotate print mode 90 with formatting This command differs from the ESC r lt 1 gt command in that the line length is determined not by the longest line ente
92. ing speed NOTES Thermal line printing 8 dots mm x 8 dots mm 203 dpi x 203 dpi Unidirectional with friction feed 72 mm 2 83 in 576 dot positions 28 to 57 depending on the selected pitch Approximately 31 8 lines second 1 6 inch feed at 24 V 20 C Approximately 135 mm second approximately 5 3 in second Print speed may be slower depending on the data transmission speed and the combination of control commands The printer switches the mode of the printing speed automatically There may be variations in printing after switching the mode of the printing speed Paper feed speed Line spacing default Number of characters Character structure Approximately 135 mm second approximately 5 3 in second continuous printing Mode 4 23 mm 1 6 in or 3 17 mm 1 8 in Programmable by control command Alphanumeric characters 255 per code page International characters 67 code pages Font A 13 x 24 including 2 dot spacing in horizontal Font B 10 x 24 including 2 dot spacing in horizontal Standard Double high Double wide Double wide Double S WxH Cpl WxH Cpl WxH WxH mm Max mm Max mm mm se Font A 1 38 x 3 00 44 1 63 x 6 00 44 2 75 x 3 00 a 75 x 6 00 22 13x 24 06 x 12 06 x 24 11 x 12 11 x 24 a FontB 1 00 x 3 00 57 1 00 x 6 00 57 2 00 x 3 00 28 00 x 6 00 28 10 x 24 04 x 12 04 x 24 08 x 12 08 x 24 Ta
93. inter Chapter 2 Setting up the Printer Up to four cables can be connected to the printer providing power host interface and cash drawer support They attach to the connector panel on the back of the printer as shown below Cash Drawer 1 Interface Cash Power Drawer 2 Figure 1 Connector Panel Connecting the Printer and Computer You need an appropriate interface cable The parallel interface requires a straight through 25 pin connector with male termination on the printer end see the interface section for complete pin definition details The serial interface requires a DB25 to DB9 pin or DB9 to DB9 pin null modem crossover cable with a DB9 pin female terminal on the printer end and the appropriate gender connector at the host computer end See the communication section for complete pin definition details 1 Plug the cable connector securely into the printer s interface connector 2 Tighten the screws on both sides of the cable connector 3 Attach the other end of the cable to the appropriate terminal on the computer Rev F Page 3 Setting up the Printer PcOS Series 80PLUS Programmer s Guide Connecting the Cash Drawer The cash drawer option allows up to two cash drawers to be connected to the printer in a system with a PC that has no connectors for the cash drawer cables The cash drawers are operated by software command from the host system through the printer For additional information on the printer comm
94. ions Function ASCII Hexadecimal Decimal Range Default Description French German British Danish Italian Japanese Danish II Latin French Dutch Swiss Page 74 Country ASCII Swedish Spanish Norwegian Spanish II American Canadian Swedish II Swedish III Swedish IV Turkish Epson ojo COIN Oa AJJI N s 2 aje 13 14 15 16 17 18 19 PcOS Series 80PLUS Select an international character set n n n Programmer s Guide E This command selects an international character set n from the following ESC R 1BH 52H lt 27 gt lt 82 gt O lt n lt 74 n 0 table Country Swiss II Cyrillic 11 866 Polska Mazovia ISO Latin 2 Serbo Croatic Serbo Croatic Il Multilingual Norway Portugal Turkey Greek 437 Greek 928 Greek 437 CYPRUS ECMA 94 Canada French Cyrillic 1 855 Cyrillic 11 866 East Europe Latin Il 852 Greek 869 Windows East Europe Rev F Epson ID 20 21 22 23 24 25 26 27 28 29 38 39 41 42 43 44 45 46 47 49 Country Windows Greek Latin 5 Windows Turkey Windows Cyrillic Hungarian CWI Kamenicky MJK ISO Latin 4 8859 4 Turkey_857 Roman 8 Hebrew NC 862 Hebrew OC Windows Hebrew KBL Lithuanian Publisher Ukrainian ISO Latin 6 8859 10 Windows Baltic Cyrillic Latvian Bulgarian Icelandic 861 Baltic 774 Epson ID 50 51 52 54 55 56 57 58 60 6
95. is book Who should read this book This book is intended for system engineers or system integrators It contains the information needed to integrate the Series 80PLUS Printer with a point of sale terminal and to program the terminal to communicate with the printer Page viii Rev F Programmer s Guide BANKjet 1500 General Information Where can you find more information Our Internet Support and Sales Services www transact tech com TransAct Technologies Inc maintains an Internet web site with content devoted to product support Within the Support Services section you can find the most current versions of the Operator s Guide and Programmer s Guide Upon entering our web site you will be brought to the Welcome to TransAct screen This intro page has the Ithaca Brand listed at the top right Click on the Ithaca logo Locate and click on the Technical Support button in the green area of the Welcome to Ithaca screen Use the bottom pulldown box to select the appropriate information for the printer model that you are using Contacting TransAct Technologies Incorporated Contact TransAct s Ithaca facility for information about the Series 80PLUS Printer and how it works with your system For information on international distribution visit our web site at www transact tech com Contact the TransAct s Sales and Technical Support Departments at the following address and telephone or fax numbers Technical Support
96. its the status specified by n as follows n Function 1 49 Transmits paper sensor status 2 50 Transmits drawer kick out connector status Bit Off On Hex Decimal Status 0 1 Not used fixed to Off 2 3 Off 00 0 Paper roll sensor paper present On 0c 12 Paper roll sensor paper not present 4 Off 00 0 Not used fixed to Off 5 6 E E Undefined 7 Off 00 0 Not used fixed to Off Paper sensor status n 1 49 Bit Off On Hex Decimal Status 0 Off 00 0 Drawer 1 or 2 connector status is low On 01 1 Drawer 1 or 2 connector status is high 1 3 Undefined 4 Off 00 0 Not used fixed to Off 5 6 Undefined 7 Off 00 0 Not used fixed to Off Drawer kick out connector status n 2 50 Rev F Page 87 Epson Commands Command Descriptions Page 88 Function ASCII Hexadecimal Decimal Range Usage Description PcOS Series 80PLUS Programmer s Guide Real time status transmission E DLE EOT n 10H 04H n lt 16 gt lt 4 gt n 1 lt n lt 4 Epson TM T8x emulation mode only This command transmits the selected printer status specified by n in real time according to the following parameters n Function 1 Transmit printer status 2 Transmit off line status 3 Transmit error status 4 Transmit paper roll sensor status Bit Off On Hex Decimal Status 0 Off 00 0 Not used fixed to Of
97. lls that meet specifications 1 Make sure that the printer is in the idle state 2 Open the paper roll cover by pressing the cover open button located in the forward corner of the printer cover 3 Remove the used paper roll core if there is one 4 Insert the paper roll with the shiny side facing down 5 Assure that a small amount of paper extends over the front side of the printer Then close the cover until it locks into place 6 Depress the paper feed button to activate the vertical motor and toss out the scrap paper Units with a cutter will automatically cut the paper off for you if your printer does not have a mechanical cutter simply tear the paper off by pulling it against the printer cover at an angle Page 6 Rev F Programmer s Guide _PcOS Series SOPLUS Self test Mode Chapter 3 Self test Mode Description The Series 80PLUS PcOS thermal printer has the ability to print self test tickets on power up upon command The self test prints a variety of information about the printer s operating settings and configuration The information provided by the self test is listed below Configuration Ticket Operating system type and version Current emulation mode M50 M80PLUS Epson TM T8x or Axiohm 7193 Interface configuration Hex dump mode status ON OFF Carriage return control Input buffer capacity Graphic save RAM buffer capacity Nonvolatile EEPROM buffer capacity bit image character set in Epson Axiohm
98. m the current position This command is effective only in page mode Use the complement of N for setting pitch movement upward N pitch 65536 N where N ny ny X 256 The horizontal and vertical motion units use the horizontal and vertical values set by the GS P command Rev F Programmer s Guide Bit Image Commands PcOS Series 80PLUS Epson Commands Command Descriptions Function Select bit image mode EA ASCII ESC m nL nH dl k Hexadecimal 1BH 2AH m nL nH dl k Decimal lt 27 gt lt 42 gt m nL nH dl k Range m Q 1 32 33 0 lt nL lt 255 0 lt nH lt 3 0 lt d lt 255 Description This command selects a bit image mode using m for the number of dots specified by nL and nH as follows Vertical Direction Horizontal Direction Number of Density Density m Mode Dots dpi dpi Amount of Data K O 8 dot single density 8 68 102 nL nH x 256 1 8 dot double density 8 68 203 nL nH x 256 32 24 dot single density 24 203 102 nL nH x 256 x 3 33 24 dot double density 24 203 203 nL nH x 256 x 3 8 dot single density mode representation is depicted below Top of bit image dl d2 d3 d4 The nL and nH indicate the number of dots of the bit image in the horizontal direction The number of dots is calculated by nL nH x 256 If the bit image data input exceeds the number of dots to be printed on a line the excess data is ignored d indicates the bit
99. mand is preprocessed and is not part of the print data It is processed immediately when it is found in the data stream The printer will continue to process and print data that was previously entered NOTE If the printer is configured for parallel operation the data will still be pass through on but on the IEEE 1284 return channel This is not very useful and should be avoided NOTE These commands do not function if M50 compatibility is turned on M50 pass through must be used Control feature commands ESC y lt n gt 1BH 79H lt n gt lt 27 gt lt 121 gt lt n gt amp Y0 through 9 0 restores configures emulation 1 forces Axiohm emulation 2 forces PcOS Ithaca emulation 3 forces Epson emulation 4 disables IPCL commands 5 enables IPCL commands 6 disables ENQ processing 7 enables ENQ processing 8 enables extended diagnostics 9 prints self test banner This command enables and disables command set features It is possible that the IPCL commands will interfere with print data If this is the case they can be disabled with an ESC y lt 4 gt Once disabled the IPCL command for reenablement will not function NOTES Once disabled the amp Y5 command will not be a valid IPCL code IPCL commands are not available in Epson and Axiohm modes ESC y lt 6 gt and lt 7 gt enable and disable the real time status inquire processing The ESC y control commands are not processed as they are received but are buffered then pr
100. mand sets the left margin using nL and nH The left margin is set to nL nH x 256 x horizontal motion unit from the beginning of the line In standard mode this command is enabled only when input at the beginning of a line In page mode an internal flag is activated and this command is enabled when the printer returns to standard mode Set printing area width E GS W nL nH 1DH 57H nL nH lt 29 gt lt 87 gt nL nH 0O lt nL lt 255 0 lt nH lt 255 The printing area width is set to nL nH x 256 x horizontal motion unit from the left margin In standard mode this command is enabled only when input at the beginning of a line In page mode an internal flag is activated and this command is enabled when the printer returns to standard mode Rev F Programmer s Guide PcOS Series 80PLUS Epson Commands Command Descriptions Function Set column A ASCII ESC DC4 Hexadecimal 1BH 14H n Decimal lt 27 gt lt 20 gt n Range 1 lt n lt 44 Standard pitch 1 lt n lt 57 Compressed pitch Description This command prints the first character of the next print line in column n It must be sent for each line not printed at column one The value of n is set to one after each line Function Set printing area in page mode E ASCII ESC W XLXHYLYHOXidxydy dyy Hexadecimal 1BH 57H XL Xy yudx dxpdy dyy Decimal lt 27 gt lt 87 gt XLXHYLYHOXidxydy_dyy Range 0 lt X Xu YL Yn dXL dxy
101. mand turns on or off white black reverse printing mode When the LSB is O white black reverse mode is turned off When the LSB is 1 white black reverse mode is turned on Select double wide characters A DC2 12H lt 18 gt This command prints double wide characters The printer is reset to single wide mode after a line has been printed or a Clear Printer 10 command is received Select single wide characters A DC3 13H lt 19 gt This command prints single wide characters Select pitch column width A ESC SYN n 1BH 16H n lt 27 gt lt 22 gt n 0 Standard 44 col 15 61 cpi 1 Compressed 57 col 20 3 cpi n 0 This command selects the character pitch for a print line See Appendix B for a description of both pitches Rev F Page 79 Epson Commands Command Descriptions Function ASCII Hexadecimal Decimal Description PcOS Series 80PLUS Programmer s Guide Cancel print data in page mode E CAN 18H lt 24 gt CAN deletes all the print data for the current print job in page mode This command is enabled only in page mode Panel Button Commands Function ASCII Hexadecimal Decimal Range Description Enable disable panel buttons EA ESC c 5 n 1BH 63H 35H n lt 27 gt lt 99 gt lt 53 gt n 0 lt n lt 255 This command enables or disables the panel buttons When the LSB is 0 the panel buttons are enabled When the LSB is 1 the panel buttons are disabled In Epson TM T
102. me of the bit image can be from one to 15 bytes long and contain any alphanumeric characters as well as the space The format of the bit image is identical to that defined by the GS command The GS command must be entered in standard mode only at the beginning of a print line If this command is entered in page mode it will be ignored If the size of the image is larger than the space remaining in the nonvolatile buffer the image will not be saved When the last byte of bit image data is received and there is ample space in the nonvolatile buffer for the bit image the bit image will be saved While the save is in process the printer will go off line and will not respond to or save any data it receives When the save is complete the printer will return on line Please be sure to adhere to flow control provided by the communications interface The following basic example demonstrates how to define an 8 bit x 8 bit block with the name MY IMAGE Rev F Programmer s Guide PcOS Series 80PLUS Epson Commands Command Descriptions A representation of the format of a downloaded bit image is depicted below Column one MSB LSB lt d xXyX8 PRINT 1 CHR 29 CHR 45 REM Enter the GS command PRINT 1 MY IMAGE CHRS 0 REM Define the image name PRINT 1 CHR 1 CHR 1 REM Image size 8 x 8 bits PRINT 1 CHR 255 CHR 255 CHR 255 CHR 255 REM Send 8 bytes of image PRINT 1 CHR 255 CHR 25
103. mmer s Guide Function Print single user definable bit image EAT ASCII GS m Hexadecimal 1DH 2FH m Decimal lt 29 gt lt 47 gt m Description This command prints a downloaded or stored bit image using the mode specified by m m selects a mode from the table below Mode Table Hex Decimal Mode Vertical Dot Density Horizontal Dot Density dpi dpi 00 0 Normal 203 203 01 1 Double width 203 101 02 2 Double height 101 203 03 3 Quadruple 101 101 Function Save user definable character set ASCII GS 6 lt name gt 0 Hexadecimal 1DH 36H lt name gt 0 Decimal lt 29 gt lt 54 gt lt name gt 0 Range lt name gt a 15 byte maximum alphanumeric name to identify the image Description GS 6 saves the current character set created by the ESC amp command to the nonvolatile memory pool If no character set has been defined this command will be ignored When saving an image the printer will go off line and will return on line when completed Please be sure to adhere to flow control provided by the communication interface Once a character set has been saved to the nonvolatile memory pool it is read only Any attempt to redefine a character when this set is selected will cause a new character set to be defined in RAM according to the ESC 2 command Function Select user definable character set ASCII GS T lt name gt 0 Hexadecimal 1DH 37H lt name gt 0 Decimal lt 29 gt lt 55 gt lt name gt
104. n Commands Command Descriptions Page 84 Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Range Description PcOS Series 80PLUS Programmer s Guide The parameters for the horizontal or vertical motion units x or y differ depending on the starting position of the printing area as follows If the starting position is the upper left or lower right of the printing area n 0 2 48 or 50 then these commands use 1 Horizontal motion units ESC SP ESC and ESC 2 Vertical motion units ESC 3 ESC J GS and GS If the starting position is the upper right or lower left of the printing area n 1 3 49 or 51 then these commands use 1 Horizontal motion units ESC 3 ESC J GS and GS 2 Vertical motion units ESC SP ESC and ESC Set absolute vertical print position in page mode E GS n ny 1DH 24H nL ny lt 29 gt lt 36 gt ny ny 0 lt n lt 255 0 lt np lt 255 GS ni ny sets the absolute vertical print starting position for buffer character data in page mode to ny Ny X 256 x vertical or horizontal motion unit inches This command is effective only in page mode Set absolute vertical print position in page mode E GS nL ny 1DH 5CH ny ny lt 29 gt lt 92 gt ny ny 0 lt n lt 255 0 lt ny lt 255 GS n ny moves the vertical print position in page mode to n ny X 256 X vertical or horizontal motion unit inches fro
105. nH lt 27 gt lt 36 gt nL nH 0 lt nL lt 255 0 lt nH lt 255 This command sets the print starting position from the beginning of the line The distance in dots from the beginning of the line to the print position is nL nH x 256 x horizontal motion unit When standard mode is selected the horizontal motion unit set by GS P is used When page mode is selected the horizontal or vertical motion unit set by GS P is used for the print direction set by ESC T If nongraphics follow this command the distance in dots from the beginning of the line to the print position is nL nH x 256 x horizontal motion unit If graphics follow this command the distance in dots from the beginning of the line to the print position is nL nHx256 x horizontal motion unit 2 Set relative print position EA ESC nL nH 1BH 5CH nL nH lt 27 gt lt 92 gt nL nH 0 lt nL lt 255 0 lt nH lt 255 This command sets the print starting position based on the current position and the distance from the current position to nL nH x 256 x horizontal unit When standard mode is selected the horizontal motion unit set by GS P is used When page mode is selected the horizontal or vertical motion unit set by GS P is used for the print direction set by ESC T Select justification EA ESC a 1BH 61H lt 27 gt lt 97 gt n 0 lt n lt 2 48 lt n lt 50 This command aligns all the data in one line to the specified position n In standar
106. nd save ESC g lt 3 gt 1BH 67H 03H lt 27 gt lt 103 gt lt 3 gt amp GW ESC g lt 3 gt This command stops recording graphic save information The buffer is saved into nonvolatile memory NOTE The printer will remain busy for about seven seconds after this command This time is required to erase and resave the graphic save buffer into the nonvolatile memory Rev F Page 39 Control Codes PcOS Series 80PLUS Bar Codes Programmer s Guide Bar codes The PcOS Series 80PLUS Printer supports the ability to print bar codes The printer will print one of five formats Interleaved 2 of 5 Code 39 Code 128 UPC A or EAN 13 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 will be generated Bar codes can be printed in a high resolution normal mode or a fast high speed mode The normal mode is more readable than the high speed mode See the ESC EM B command on the next page for setting the bar code height and print speed Function Print bar code ASCII ESC b lt n gt information ETX Hexadecimal 1BH 62H lt n gt 03H Decimal lt 27 gt lt 98 gt lt n gt lt 3 gt IPCL amp 25 CR Interleaved 2 of 5 amp 39 CR Code 39 amp 12 CR Code 128 amp UP CR UPC A amp UE CR UPCE amp EA CR EAN 13 amp E8 CR EAN 8 Description This command prints the information a
107. nter can be right center or left justified The value of lt n gt specifies the justification 0 Left justified amp IL 1 Center justified amp IC 2 Right justified amp IR 8 Left justified No LF None 9 Center justified No LF None 10 Right justified No LF None The power on default is left justified NOTE Lines that have mixed size characters within the line cannot be centered For example a line with mixed single and double high characters cannot be centered If a line of print is to be double high and centered the change to single high must be done after the line terminator for the double high line For example ESC W lt 3 gt Centered ESC W lt 0 gt CR will not print correctly because the printer assumes that more data will follow the ESC W lt 0 gt This should be ESC W lt 3 gt Centered CR ESC W lt 0 gt NOTE The justify commands also effect graphics Rev F Page 17 Control Codes PcOS Series 80PLUS Vertical Motion Programmer s Guide Vertical Motion Control Function Fine line feed ASCII ESC J lt n gt Hexadecimal 1BH 4AH lt n gt Decimal lt 27 gt lt 74 gt lt n gt IPCL amp I FM lt m gt lt m gt lt m3 gt Description This command prints the contents of the buffer if any and performs a line feed of n 216 inch This command does not change the default line spacing value The next character print position is reset to the left margin if the Auto CR mode is set EPOS NOTE
108. o the host system The printer will always respond with a NULL character 00 Hex indicating a no fault condition If the printer has one of the error conditions indicated in the table below it will go busy and not respond Bit Status 0 Signifies 0 Receipt paper Present 1 Receipt cover Closed 2 Receipt paper Present 3 Knife OK 4 Not used 5 Print head OK 6 Input voltage OK 7 Not used Transmit printer status E ESC v 1BH 76H lt 27 gt lt 118 gt This command transmits the status of the paper sensor as 1 byte of data When the paper roll end sensor detects a paper end the printer goes off line and does not execute this command until the paper end condition is corrected Bit Off On Hex Decimal Status 0 1 Not used fixed to Off 2 3 Off 00 Paper roll sensor paper present On 0c 12 Paper roll sensor paper not present 4 Off 00 Not used fixed to Off 5 6 E Undefined 7 Off 00 0 Not used fixed to Off Rev F Page 91 Epson Commands Function ASCII Hexadecimal Decimal Range Default Epson TM T8x Axiohm 7193 Description Function ASCII Hexadecimal Decimal Range Default Description Function ASCH Hexadecimal Decimal 2ASCH Hexadecimal Decimal Range Description Page 92 Module Width mm for Multilevel Bar Code Command Descriptions Bar code Commands PcOS Series 80PLUS Programmer s Guide Set ba
109. ocessed Because of this any ENQ commands sent after a disable may be answered In addition ENQ s sent after an enable may not be answered Rev F Programmer s Guide PcOS Series 80PLUS Control Codes Function ASCII Hexadecimal Decimal IPCL Printer Control Multidrop control SOH lt n gt 01H lt n gt lt 1 gt lt n gt none Where lt n gt is the printer address addresses of A B or C are configurable In multidrop mode the printer must be addressed This is the addressing command If the printer is configured with an address of A the printer will operate when addressed When any other address is sent to the printer it will enter print suppress mode An address of Z is a universal address and will always activate the printer Rev F Page 45 Control Codes PcOS Series 80PLUS M50 Compatibility Programmer s Guide M50 Compatibility Commands To allow the PcOS Series 80PLUS Printer to replace the M50 printer without effecting the M50 application several special M50 commands are available as M50 extensions Because these commands can have effects that PcOS Series 80PLUS applications may not want these commands must be enabled To enable these commands select the M50 emulation in the configuration Function Extended M50 cash drawer commands ASCII BS Hexadecimal 08H Decimal lt 8 gt Description This command opens Cash Drawer 1 Function Extended M50 cash drawer commands ASCII BE
110. ocnconononononccononononnnonnnonnnnnn nono non nono nene ne Dn neon een ere E EEE nE SECES VENSK Eiris s toy 80 Print Position Commands snoi e E A E E T E E E E REEE TRS 81 Bit Image Commands iss nye ereer capes eaves e E EE Re aE EEE PETTEE EEE Eos AE ESES 85 Status Commands uen a anna EE nuns E A EEE E A ie 87 Bar code COMME a a E E E EKO E E date KEN ds Aa 92 Macro AS AAA E E E r 94 Mechanism Control Commands aeaaaee aaa e e E ETE ERER RA EET AAR TEE a eSt 96 Miscellaneous Commands tiennie e nea en a a a E i R AA ENRI 97 Operator A vouuvesebevenesebevedassbsetaes sheuveusubovtecsebuvecescbsptesepeutvecsbogiees 101 Cover Open But uc Spee TH ki ee pd R R OET 101 Paper Feed Bulma rot raise E 101 Power Error LED sita 101 Printer State Control S wltchES cc cicocoocnoinncicosiocnotasd a aE a E bobeusttsuvses dada ada odia 102 Paper Out Switch oie 102 Cover Open SAYA C a EERE ie ETR teed coed soca sbboubbs sect aa vaet stbed capt TTET 102 Cutter Position S With c Jccccsssecsovedssacdeadedsvesvacosensdens vevevbeescondiyedavbeutioangeeyttetbententycuveds darse 102 Troubleshooting s sssc sc vec ssesceecscbuescneseecen np ebuetv scvugie ab eveunsteopevesnpedevenaseniven EOSED ESSEE e oree SE nE SNE CEE Rec 103 Hexadecimal DU aos ese eens seeds steed ees Roe essere eevee apes tata a 103 Append AA A ates Supa seusesoe R E Sued saves a seu onbedsebaahisues Sea RIAS 104 Communication ia O E N T eT NaN 104 OVERVIEW ie n a aa e casts cob O NN 104
111. on ASCII Hexadecimal Decimal IPCL Description Function ASCII Hexadecimal Decimal IPCL Description PcOS Series 80PLUS Control Codes Vertical Motion Set variable line space n 72 inch ESC A lt n gt 1BH 41H lt n gt lt 27 gt lt 65 gt lt n gt none This command sets default line spacing to n 72 inch Set n 1 to 85 This line spacing does not take effect until enabled by the ESC 2 command This command is provided to maintain backward compatibility with Series 50 OKIDATA IBM and other printers It can also be used to print on preprinted forms Enable ESC A lt n gt line spacing ESC 2 1BH 32H lt 27 gt lt 50 gt none ESC 2 enables ESC A lt n gt line spacing This is a companion to the ESC A lt n gt command and puts the specified line spacing into effect It will remain in effect until another line spacing command is issued Feed lt n gt lines at current spacing ESC d lt n gt 1BH 64H lt n gt lt 27 gt lt 100 gt lt n gt amp FL lt m gt lt m gt This command prints the contents of the buffer if any and performs lt n gt line feeds at the current line spacing This command does not change the default line spacing value The next character print position is reset to the left margin NOTE The IPCL command will print from 00 to 99 lines For example if you wish to feed 12 lines the IPCL command would be amp FL12 Form feed FF OCH lt 12 gt amp FF Thi
112. otion unit set by GS P is used for the print directions set by ESC T Function Select cancel user defined character sets EA ASCII ESC n Hexadecimal 1BH 25H n Decimal lt 27 gt lt 37 gt n Range See table below Description This command selects or cancels a user defined character set as defined below Table of n Hex Decimal Function 00 0 Selects Code Page 437 and turns off user defined set 01 1 Selects user defined character set in the RAM buffer 02 2 Selects Code Page 850 and turns off user defined set 41 65 Selects user defined character set in nonvolatile EEPROM buffer If the user defined character set in RAM is selected and the set does not exist an empty set will be created Any user defined bit image will be erased Any characters referenced that are not defined will be replaced as follows equivalent Code Page 437 character in Axiohm 7193 emulation and equivalent current code page character in Epson TM T8x emulation If the user defined character set in the nonvolatile EEPROM buffer is selected and the set does not exist this command will be ignored See the GS command for saving a user defined character set in the RAM buffer to the nonvolatile EEPROM buffer Rev F Programmer s Guide Function ASCII Hexadecimal Decimal Range Axiohm 7193 Epson TM T8x Description Function ASCII Hexadecimal Decimal Range Axiohm 7193 Epson TM T8x Description PcOS Series SOPLUS Epson Commands
113. phic vita i 36 Graphic Save O 38 Programming Considerations ooococoncconcnononononnnonnnonnnonnnnnnonn none cone cn neon nc nn nono reno cnn ERA E a 38 BA ti n 40 A NR 42 M50 Compatibility Commands c cococononcnonccnnnononononnnonnncn nono nocnno nono nn nono nrnn nro none none cnn cone cn neon neon nena near crac nrinenns 46 Printer Status Set Iquitos cto dde tarada 47 serial A dsasvees utes EE ENE EE E saga gee teas intes Sones ede E EES 47 IEEE 1284 Mode InqUite miis 47 Inquire Commands w osise rindo cocinada EEEO ES EV e KSEE SESSE Te ES Eie danna dsd 48 Extended Diagnostic Command 00 ee escesecesecssecscecseeeseseseeeeceseceecesecsecaecsaecsaecsaecaeesseseaeseeeeeeeeaeenes 54 Control Codes Summary by Code cios assi bapiagesent cach ies Eae dear ssseevtboviesseessteveds 55 Epson Ax10ht Comment A Ea AE ARA SESA IRS 58 Emulation Modes siiin o e aor E aE E E E E NEEE E TEO Ea EEE AEE ean 58 Supported Commands siias pa E E R A E A E T 59 Command DescripllONS ase e eE E rE E E EE AE E E EA tia 63 Pintand Feed Command Seenen a t E E N R A a e 63 Line Spacing Command AAA T suscessbsvbeudonsbecusebsvbeeses 65 User Defined Memory Commands 2 0 0 eeeecceesceescesecesecesecaecsaecaaecaeecaeseaeseeeseeeeesesseenseeeseenaees 66 Character Commands 03 05 socssc2 sic vesids cost secasvecancd a dochanssavenssun dasa geceebuskicesoebiaaoneoned EEA 72 Panel Button ComMandS ssrdsn ia i a iE EATR E R E NE R EREE 80 Paper Sensor Commands cocooocc
114. print mode Rev F Page 27 Control Codes PcOS Series 80PLUS Character Attributes Programmer s Guide Character Attribute Commands Function Begin one line double wide print ASCII SO Hexadecimal OEH Decimal lt 14 gt IPCL amp FMW Description This command causes subsequent characters to be printed at twice the currently selected character width For example 10 cpi becomes 5 cpi 17 cpi becomes 8 5 cpi and so on This command will remain in effect until A A valid line terminator is received CR LF or fine line feed B The command is canceled or C The maximum number of characters per line is reached and the printer performs an auto print Function Cancel one line double wide print ASCII DC4 Hexadecimal 14H Decimal lt 20 gt IPCL amp MN Description This command cancels one line double wide mode set by the SO command and allows single and double wide characters to be printed on the same line Function Multiline double wide and double high print ASCII ESC W lt n gt Hexadecimal 1BH 57H lt n gt Decimal lt 27 gt lt 87 gt lt n gt IPCL amp ED amp FS amp FH NOTE Single wide double high mode is not available in IPCL Description This command controls multiline double wide or double high mode Where n Specifies the mode 0 Standard single wide and single high amp IES 1 Begin double wide amp FD 2 Begin double high None 3 Begin double wide and double high amp FH Page 28 NOTE This command doe
115. r code height EA GS h n 1DH 68H n lt 29 gt lt 104 gt n 1 lt n lt 255 0 90 inches high 1 06 inches high This command sets the height of the bar code Bar code height is set to n 180 inches in Epson emulation mode Bar code height is set to n 152 inches in Axiohm emulation mode Set bar code width EA GS Ww 1DH 77H lt 29 gt lt 119 gt n 1 lt n lt 6 n 3 This command sets the horizontal size of the bar code n specifies the bar code width as follows Binary level Bar Code Thin element width mm Thick element width mm 0 125 0 125 0 375 0 250 0 250 0 625 0 375 0 375 1 000 0 500 0 500 1 250 0 625 0 625 1 625 0 750 0 750 2 000 Multilevel bar codes are UPC A UPC E JAN 13 EAN 13 JAN 8 EAN 8 Code 93 and Code 128 Binary level bar codes are Code 39 ITF and Codabar Print bar code EA GS k m dl dk NUL 1DH 6BH m dl dk 00 lt 29 gt lt 107 gt m dl dk 0 GS k m n dl dn 1DH 6BH m n dl dn lt 29 gt lt 107 gt m n dl dn 10 lt m lt 6 k and d depends on the bar code system used 265 lt m lt 73 n and d depends on the bar code system used This command selects a bar code system and prints the bar code m selects a bar code system as follows Rev F Programmer s Guide PcOS Series 80PLUS Epson Commands Command Descriptions m Bar Code System Number of Characters Remarks 1 0 UPCA 11 lt k lt 12 48 lt d lt 57
116. racter sets 72 ESC amp 1BH 26H Define user defined characters 73 ESC 1BH 3FH Cancel user defined characters 73 ESC R 1BH 52H Select an international character set 74 ESC T 1BH 5BH Select character code table 75 54H GS 1DH 23H Insert Euro 75 ESC 1BH 5EH Print control character 76 ESC t 1BH 74H Select character code table 76 ESC 1BH 21H Select print mode s 76 ESC 1BH 2DH Turn underline mode on off 77 Rev F Page 59 Epson Commands PcOS Series 80PLUS Programmer s Guide Supported Commands ESCE 1BH 45H Turn emphasized mode on off 77 ESC G 1BH 47H Turn double strike mode on off 77 ESC 1BH 7BH Turn upside down printing mode on off 77 ESC V 1BH 56H Turn 90 rotation mode on off 78 ESC DC2 1BH 12H Turn 90 counterclockwise rotation mode on off 78 GS 1DH 21H Select character size 78 GSB 1DH 42H Turn white black reverse printing mode on off 79 DC2 12H Select double wide characters 79 DC3 13H Select single wide characters 79 ESC SYN 1BH 16H Select pitch column width 79 CAN 18H Cancel print data in page mode 80 Panel Button Commands Command Name Page ESCc5 1BH 63H Enable disable panel buttons 80 35H Paper Sensor Commands Command Name Page ESCc3 1BH 63H Select paper sensor s to output paper end signals 80 33H ESC c4 1BH 63H Select paper sensor s to stop printing 80 34H P
117. red but by the line length set by the ESC s command If input extends past the end of a line the print will line wrap If X 3 or 11 270 rotated print mode is entered The print will be rotated 270 according to the currently stored format parameters If X 7 or 15 270 rotated print mode is entered The print will be rotated 270 according to the currently stored format parameters This command differs from the ESC r lt 3 gt command by spacing out the lines to the line length specified by the ESC s command If input extends past the end of a line the print will line wrap If X 2 180 rotated print mode is entered All subsequent lines will be rotated 180 and positioned at the opposite margin All normal fonts and modes are available in 180 rotated mode The format and font bits are ignored by this command This command will remain in effect until rotation is canceled with an End Rotated Print ESC r lt 0 gt command or a station select command is issued Page 32 Rev F Programmer s Guide PcOS Series 80PLUS Rotated Print Summary Function ASCII Hexadecimal Decimal IPCL Function ASCII Hexadecimal Decimal IPCL Function ASCII Hexadecimal Decimal IPCL Function ASCII Hexadecimal Decimal IPCL EPOS Function ASCII Hexadecimal Decimal IPCL Function ASCII Hexadecimal Decimal IPCL EPOS Description Begin 90 rotated print ESC r lt 1 gt 1BH 72H 01H lt 27 gt lt 114 g
118. rint Position Commands Command Name Page ESC 1BH 24H Set absolute print position 81 ESC 1BH 5CH Set relative print position 81 ESC a 1BH 61H Select justification 81 HT 09H Set horizontal tab positions 82 ESC D 1BH 44H Set horizontal tab positions 82 GS L 1DH 4CH Set left margin 82 GS W 1DH 57H Set printing area width 82 ESC DC4 1BH 14H Set column 83 ESC W 1BH 57H Set printing area in page mode 83 ESC T 1BH 54H Select print direction in page mode 83 GS 1DH 24H Set absolute vertical print position in page mode 84 GS 1DH 5CH Set absolute vertical print position in page mode 84 Bit image Commands Command Name Page ESC 1BH 2AH Select bit image mode 85 ESC K 1BH 4BH Select 8 dot single density bit image mode 86 ESC L 1BH 4CH Select 8 dot double density bit image mode 86 ESC Y 1BH 59H Select 8 dot double density bit image mode 86 Page 60 Rev F Programmer s Guide PcOS Series 80PLUS Epson Commands Supported Commands Status Commands Command Name Page GS a 1DH 61H Enable Disable Automatic Status Back ASB ASB is not in the standard product It is available by special order only GSr 1DH 72H Transmit status 87 DLE EOT 10H 04H Real time status transmission 88 ESC u4 1BH 75H Transmit peripheral device status 90 ESC u5 1BH 75H Request alternate status 90 ESC u 06 1BH 75H Transmit cash draw
119. s lt n gt are 0 to 7 as follows Where lt m gt O 60 dpi Default for K 7 144 dpi 1 120dpi Default for L 8 100 dpi 2 120dpi Default for Y 9 200 dpi 3 240dpi Default for Z 10 101 dpi 4 80 dpi 11 203 dpi 5 72 dpi 12 13 14 16 not supported 6 90 dpi Page 36 Rev F Programmer s Guide PcOS Series 80PLUS Control Codes Function ASCII Hexadecimal Decimal Description Where m Graphics Mode Print single density graphics ESC lt m gt lt n gt lt n gt 2 1BH 4BH lt n gt lt n gt 2 lt 27 gt lt 75 gt lt n gt lt n gt 2 This command prints nl 256 n2 bytes of graphics where m specifies the density O Single density graphics 60 dpi 1 Double density graphics 120 dpi 2 Double density half speed graphics 120 dpi 3 High density graphics 240 dpi 4 5 CRT II Screen 72 dpi 6 CRT I Screen 90 dpi 7 Dual plotter 144 dpi 8 100 dpi 9 200 dpi 10 101 dpi 11 203 dpi Rev F Page 37 Control Codes PcOS Series 80PLUS Programmer s Guide Graphic Save Graphic Save The PcOS Series 80PLUS Printer contains a graphic save buffer This buffer is 24K bytes long and can be saved in the printer s nonvolatile memory The nonvolatile memory is read at power up and is available to be printed with a single command The purpose of this feature is to allow a graphic logo to be stored in the printer and printed on command The buffer is intended to save a graphic image However any print information can be saved an
120. s a bar code The bar code will be centered on the print zone Where n O Interleaved 2 of 5 Numeric 0 9 only must be even number of digits 1 Code 39 26 uppercase letters A Z 10 digits 0 9 2 Code 128 Three sets of 106 different characters 3 UPCA Numeric 0 9 only 11 digits 4 EAN 13 Numeric 0 9 only 12 digits 5 UPCE Numeric 0 9 only 11 digits 6 EAN 8 Numeric 0 9 only 6 digits Interleaved 2 of 5 This 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 PcOS Series SOPLUS Printer it will be zero padded Due to space limitations only 20 characters can be printed NOTE Interleaved 2 of 5 does not read well in fast mode Code 39 This is an alphanumeric bar code It is a discrete self checking variable length code The complete data field is printed Due to space limitations only 10 characters can be printed If illegal characters are passed to the printer they are converted to legal codes For example a gt A Code 128 This is an alphanumeric bar code It is a high density variable length continuous code that employs multiple element widths Code 128 has three possible start codes The start code defines the code set A B or C The first character in the data field defines the Code Set Start Code A lt 135 gt Code B lt 136 gt and
121. s command performs a form feed to cut Begin auto line feed ESC 5 lt 01 gt 1BH 35H Olh lt 27 gt lt 53 gt lt 01 gt amp FMA This command sets auto line feed mode NOTE This overrides the configuration setting Rev F Page 19 Control Codes PcOS Series 80PLUS Programmer s Guide Vertical Motion Function End auto line feed ASCII ESC 5 lt 0 gt Hexadecimal 1BH 35H 00H Decimal lt 27 gt lt 53 gt lt 0 gt IPCL amp CA Description This command ends auto line feed mode NOTE This command overrides the configuration setting Page 20 Rev F Programmer s Guide PcOS Series 80PLUS Control Codes International Character Sets International Character Sets and Code Pages The PcOS Series 80PLUS Printer supports 65 different international character sets In IBM and EPOS printers there have historically been two ways of selecting a character set The oldest way is by use of character sets This mode substituted international characters in the upper 128 characters of the standard character set to support different countries As time passed this approach became difficult to support It became a problem for the application to match the characters displayed and the characters printed To solve this problem code pages were developed The printer and display would use the same code page and the application would then display and print the same characters IBM and EPOS defined new commands to select code pages and left the old
122. s not affect line spacing Rev F Programmer s Guide Function ASCII Hexadecimal Decimal IPCL Description Function ASCII Hexadecimal Decimal IPCL Description Function ASCII Hexadecimal Decimal IPCL Description PcOS Series 80PLUS Control Codes Character Attributes Set print style double wide double high ESC E EOT NUL lt k gt NUL lt n gt lt m gt 1BH 5BH 40H 04H 00H lt k gt 00H lt n gt lt m gt lt 27 gt lt 91 gt lt 64 gt lt 04 gt lt 0 gt lt K gt lt 0 gt lt n gt lt m gt amp DH Double high double wide and double space amp SH Single high single wide and single space Also see ESC W above This command sets double wide and double high print mode Where k bits 76543210 0 0000 No change Where n bits 76543210 XXXX Height multiplier 0 0000 No change 1 0001 Single high 2 0010 Double high XXXX Line spacing 0 0000 No change 16 0001 Single line feed 32 0010 Double line feed Where m bits 76543210 XXXX Width multiplier 0 0000 No change 1 0001 Single wide 2 0010 Double wide Begin underline ESC lt 1 gt 1BH 2DH 01H lt 27 gt lt 45 gt lt 1 gt S Y MU This command begins underline print mode All subsequent text and leading spaces will be underlined Trailing spaces are also underlined NOTE Underline is not available in High Speed Draft mode End underline ESC lt 0 gt 1BH 2DH
123. s to see exactly what data the printer is receiving This can be useful in finding software problems When you turn on the hex dump function the printer prints all commands and other data in hexadecimal format along with a guide section to help you find specific commands To use the hex dump feature follow these steps 1 2 3 Enter the printer s remote configuration and turn the hex dump option ON See Chapter 4 for information on using the remote configuration Upon exiting remote configuration or subsequently powering the unit on off the printer will print the following HEXADECIMAL DUMP Run any software program that sends data to the printer The printer will print all the codes it receives in a two column format The first column contains the hexadecimal codes and the second column gives the ASCII characters that correspond to the codes HEXADECIMAL DUMP IB 21 00 IB 26 02 40 4 amp IB 25 01 IB 63 34 00 1B c4 41 42 43 44 45 46 47 48 ABCDEFGH A period is printed for each code that has no ASCII equivalent During hex dump all commands are disabled The printer will remain in this state until the hex dump mode is turned off in the Remote Configuration Rev F Page 103 Appendix A PcOS Series 80PLUS Programmer s Guide Communications Appendix A Communications Overview In order for a receipt to be printed a computer must be able to accept a data stream containing characters and commands t
124. t lt 1 gt amp R1 Begin 90 rotated print with line formatting ESC r lt 5 gt 1BH 72H 05H lt 27 gt lt 114 gt lt 5 gt amp IRS Begin 270 rotated print ESC r lt 3 gt 1BH 72H 03H lt 27 gt lt 114 gt lt 3 gt amp R3 Begin 270 rotated print with line formatting ESC r lt 7 gt 1BH 72H 07H lt 27 gt lt 114 gt lt 7 gt amp R7 ESC T lt 1 gt Begin 180 rotated print ESC r lt 2 gt 1BH 72H 02H lt 27 gt lt 114 gt lt 2 gt amp PR2 End rotated print ESC r lt 0 gt 1BH 72H 00H lt 27 gt lt 114 gt lt 0 gt amp RO ESC lt 0 gt Control Codes Formatted Print Rotation This command prints the contents of the rotated print buffer if 90 or 270 mode and returns to normal print orientation In 180 mode the printer will return to normal mode Rev F Page 33 Control Codes Formatted Print Rotation Function ASCII Hexadecimal Decimal IPCL EPOS Description Function ASCII Hexadecimal Decimal IPCL EPOS Description Page 34 PcOS Series 80PLUS Programmer s Guide Set rotated print line length ESC s lt n gt 1BH 73H lt n gt lt 27 gt lt 115 gt lt n gt amp RL lt m gt lt m gt lt m3 gt none This command sets the print line length to be used in auto format rotated print mode The maximum number of characters is 128 per line The power on default line length is 80 characters Set rotated print line spacing ESC u lt n
125. t to use off the shelf graphic generation programs If the PcOS Series 80PLUS Printer is used with programs that convert text to graphics the printer will be slower than if the printer is sent ASCII text The PcOS Series 80PLUS Printer is supported by a Windows print driver that will allow applications to select fonts that are supported by the printer The Series SOPLUS Printer maps all APA graphic modes to the native 200 dpi resolution of the printer These commands are provided to allow existing applications to print graphics Standard APA Graphics Function Print single density graphics 60h x 72v dpi ASCII ESC K lt n gt lt n gt 2 Hexadecimal 1BH 4BH lt n gt lt n gt 2 Decimal lt 27 gt lt 75 gt lt n gt lt n gt IPCL none Description This command prints nl 256 n2 bytes of single density graphics 60 dpi Function Print half speed double density graphics 120h x 72v dpi ASCII ESC L lt n gt lt n gt 2 Hexadecimal 1BH 4CH lt n gt lt n gt 2 Decimal lt 27 gt lt 76 gt lt n gt lt n gt 2 IPCL none Description This command prints nl 256 n2 bytes of double density graphics 120 dpi at half speed allowing full and half dots to be printed Function Print full speed double density graphics 120h x 72v dpi ASCII ESC Y lt n gt lt n gt 2 Hexadecimal 1BH 59H lt n gt lt n gt 2 Decimal lt 27 gt lt 89 gt lt n gt lt n gt IPCL none Description This command prints nl 256 n2 bytes
126. te of power cycled flag Use ENQ lt 11 gt to reset Bit 4 Printer is waiting in error mode Bit5 0 Bit 6 1 always Bit 7 0 always Bit 0 1 Receipt station is selected Bit 1 0 Bit 2 0 Bit 3 0 Bit 4 Undefined Bit 5 Printer is blocking print The cover is open or out of paper Bit 6 1 always Bit 7 0 always Bit 0 1 Printer supports receipt Bit 1 0 Printer does not support inserted forms Bit 2 Undefined Bit 3 Printer supports cutter Bit 4 Printer supports partial cuts Bit 5 0 Printer does not support MICR Bit 6 1 always Bit 7 0 always Rev F Programmer s Guide PcOS Series 80PLUS Control Codes Function ASCII Hexadecimal Decimal Function Response Where Printer Status Inquire printer ID ENQ lt 21 gt 05H 15H lt 5 gt lt 21 gt This command returns printer IEEE 1284 ID string ACK lt 21 gt lt n gt ID string lt 21 gt is the echo of command ID lt n gt is the number of return bytes in the ID string ID string is the IEEE ID return string that follows MFG Ithaca Periph CMD M80CL IPCL MDL 80 PcOS DES Ithaca Peripherals Series 80 CLS PRINTER Rev F Page 53 Control Codes PcOS Series 80PLUS Programmer s Guide Extended Diagnostics Extended Diagnostic Commands Function Extended diagnostics ASCII GS 7FH Hexadecimal 1DH 7FH Decimal lt 29 gt lt 127 gt IPCL none Description These commands are used by TransAct Tec
127. ted and this command will take effect on the next line Rev F Programmer s Guide Rotated Fonts Function ASCII Hexadecimal Decimal IPCL Description Where Function ASCII Hexadecimal Decimal IPCL Description PcOS Series 80 Control Codes Rotated Fonts Begin 90 or 270 rotated font ESC P lt n gt 1BH 50H nH lt 27 gt lt 80 gt lt n gt amp MRI n 2 amp RE n 1 amp RN n 0 This command sets the print font to a rotated 90 or 270 font n 0 Normal n 1 Rotate 90 n 2 Rotate 270 n 5 Rotate 90 n 6 Rotate 270 The rotated print font is a 1 pass 7 x 9 or 5 x 7 font Enhanced emphasized subscript superscript and underline character attributes are not available in this mode Double wide and double high fonts are available However because the font is rotated double wide font will make the characters taller and double high font will make the characters wider The current pitch sets the spacing between lines If 8 cpi is set the printer will produce the equivalent of 8 lines per inch rotated print Print pitches greater than 15 cpi are very small and difficult to read This mode prints faster than the formatted rotated print mode However no formatting is available in this mode End 90 rotated font ESC P lt 0 gt 1BH 50H 0H lt 27 gt lt 80 gt lt 0 gt amp I7RN This command returns the print font to normal nonrotated mode NOTE This command leaves the printer in utility
128. ter requires status but is not capable of IEEE 1284 bidirectional communications When this command is sent to the printer the printer waits until all the data in the input buffer has been processed The paper exhaust line then shows the status for the cash drawer or receipt paper as follows n Function Description 00 Drawer 1 High Open Low Closed or not present 01 Drawer 2 High Open Low Closed or not present 02 Paper low not implemented High Paper low Low Not used 03 Paper out High Paper out default Low Not used gt 03 Ignored no change Printer does not stay BUSY Paper exhaust line is valid to indicate previously requested status Rev F Programmer s Guide Function ASCII Hexadecimal Decimal Usage Description Function ASCII Hexadecimal Decimal Description Function ASCII Hexadecimal Decimal Description PcOS Series 80PLUS Epson Commands Command Descriptions Transmit cash drawer status A ESC u 0 1BH 75H 0 lt 27 gt lt 117 gt 0 Axiohm 7193 mode definition serial printer This command transmits current status of the cash drawers One byte is sent to the host system If a drawer is not connected the status will indicate closed 0 Drawer 1 closed Drawer 1 open 1 Drawer 2 closed Drawer 2 open Transmit printer status A ESC v 1BH 76H lt 27 gt lt 118 gt This command sends one byte of status data t
129. the reset is received but before the next byte is accepted The printer will accept an ENQ lt 10 gt in parallel mode It will not be acknowledged however If both the serial and parallel ports are active the serial reset will not be acknowledged either This is because the reset operation will remove the parallel response In IEEE 1284 mode the response buffer is cleared by a reset command This prevents responses in IEEE 1284 mode as well NOTE There is a menu selection that will block this command If reset inhibit is set in the configuration menu this command will be ignored Rev F Function ASCII Hexadecimal Decimal Function Response Description Function ASCII Hexadecimal Decimal Function Response Where Programmer s Guide PcOS Series 80PLUS Control Codes Printer Status Inquire power cycle status ENQ lt 11 gt 05H OBH lt 5 gt lt 11 gt Has the printer been power cycled since the last request ACK lt 11 gt 06H 0BH Printer power has been cycled since last ENQ lt 11 gt NAK lt 5 gt 15H 0BH Printer has not power cycled since last ENQ lt 11 gt The first time after a reset this command will return ACK lt 11 gt after that the command will return NAK lt 11 gt This command allows the application to determine if the printer has been power cycled and needs to be reinitialized The ENQ lt 10 gt command and the INIT signal on the parallel port will both cause the printer to r
130. the user Further depression of the button will result in the activation of the 5 3 inches per second slew mode in the printer until the button is released If the button is depressed during the printer reset cycle its operation will vary Depending on what operating mode you wish to enter into reference the section on Self test or configuring the printer for more details Power Error LED The power error LED indicates a power on state during normal operation The LED will flash when the printer enters any error state See Appendix B for the printer flash code definitions Rev F Page 101 Control Switches PcOS Series SOPLUS Programmer s Guide Chapter 10 Printer State Control Switches The Series 80PLUS Printer controller monitors the state of the printer based on the position of several switches housed in the mechanism The switches monitor the printer with respect to the availability of paper and the position of the cover and cutter mechanism Cutter Switch Paper Out Switch Cover Open Switch Paper Out Switch Mechanical switch used to indicate the presence of paper Cover Open Switch Mechanical switch used to indicate a closed or opened cover Cutter Position Switch Mechanical switch used to indicate proper homing of the cutter mechanism Page 102 Rev F Programmer s Guide PcOS Series SOPLUS Troubleshooting Chapter 11 Troubleshooting Hexadecimal Dump The hex dump feature allows experienced user
131. tops the save writes the buffer to the nonvolatile memory and then initializes the internal pointers for the next print The graphic save print command inserts the buffer into the print stream after the graphic save print command 3 IPCL commands are converted by the printer into an equivalent ESC code and then placed in the save buffer The equivalent ESC code should be used to calculate the size of the save buffer data Page 38 Rev F Programmer s Guide Function ASCII Hexadecimal Decimal IPCL EPOS Description Function ASCII Hexadecimal Decimal IPCL EPOS Description Function ASCII Hexadecimal Decimal IPCL EPOS Description Function ASCII Hexadecimal Decimal IPCL EPOS Description PcOS Series 80PLUS Control Codes Graphic Save Graphic save print ESC g lt 0 gt 1BH 67H 00H lt 27 gt lt 103 gt lt 0 gt SGP ESC g lt 0 gt This command prints the graphic save buffer Start graphic save record ESC g lt 1 gt 1BH 67H 01H lt 27 gt lt 103 gt lt 1 gt amp GS ESC g lt 1 gt This command clears the graphic save buffer and starts recording data The next 24K bytes including characters and commands will be recorded Stop graphic save record ESC g lt 2 gt 1BH 67H 02H lt 27 gt lt 103 gt lt 2 gt amp GE ESC g lt 2 gt This command stops recording graphic save information The buffer is not saved into nonvolatile memory Stop graphic save record a
132. ts are sent the remaining digits will be 0 The printer will print an EAN 8 bar code that is about 130 the size of the nominal standard This provides optimal readability NOTES A CR may also be used in place of the ETX to end the bar code data field Only information that is usable in a particular bar code will be printed Bar code height ESC EM B lt n gt 1BH 19H 42H lt n gt lt 27 gt lt 25 gt lt 66 gt lt n gt amp BH lt m gt lt m gt This command sets the bar code height and speed where lt n gt is the number of print passes and lt m gt is the speed Each pass is about 0 11 inch high If n lt 0 gt the printer returns to the default values of four passes for all except UPC which is seven Any value from 0 to 9 may be specified Rev F Page 41 Control Codes PcOS Series 80PLUS Programmer s Guide Printer Control Printer Control Function Clear print buffer ASCII CAN Hexadecimal 18H Decimal lt 24 gt IPCL amp RP Description This command clears the print buffer and any unprinted information in the printer received before the CAN If the input buffer is not being processed because the printer is out of paper or a form has not been inserted the CAN command will not be processed until after the error is cleared The CAN command does not restore default conditions It only clears the print buffers Function Query marker ASCII ESC q lt n gt Hexadecimal 1BH 71H lt n gt Decimal lt 27
133. unction Partial knife cut EA ASCII ESC i Hexadecimal 1BH 69H Decimal lt 27 gt lt 105 gt Description This command performs a partial knife cut Function Full knife cut EA ASCII EM Hexadecimal 19H Decimal lt 25 gt Description This command is implemented the same as partial knife cut ESC i Function Partial knife cut A ASCII SUB Hexadecimal 1AH Decimal lt 26 gt Description This command performs a partial knife cut Function Sound buzzer EAT ASCII BEL Hexadecimal 07H Decimal lt 07 gt Description This command sounds the internal buzzer if equipped for 550 milliseconds Rev F Programmer s Guide Function ASCII Hexadecimal Decimal Description PcOS Series 80PLUS Epson Commands Command Descriptions Sound buzzer EA ESC BEL 1BH 07H lt 27 gt lt 07 gt This command sounds the internal buzzer if equipped for 550 milliseconds Miscellaneous Commands Function ASCII Hexadecimal Decimal Range Default Epson TM T8x Axiohm 7193 Description Function ASCII Hexadecimal Decimal Description Function ASCII Hexadecimal Decimal Usage Description Set horizontal and vertical motion units E GS P x y 1DH 50H x y lt 29 gt lt 80 gt x y 0 lt x lt 255 0 lt y lt 255 x 180 y 360 x 152 y 152 This command sets the horizontal and vertical motion units to 1 x inches and 1 y inches respectively When x and y are set to 0 the default setting of each value is used
134. xed to Off 1 On 02 2 Not used fixed to On 2 3 Off 00 0 Paper roll near end sensor paper adequate On 0c 12 Paper roll near end sensor paper near end 4 On 10 16 Not used fixed to On 5 6 Off 00 0 Paper roll end sensor paper present On 60 96 Paper roll end sensor paper not present 7 Off 00 0 Not used fixed to Off Paper roll sensor status n 4 Rev F Page 89 Epson Commands PcOS Series 80PLUS Programmer s Guide Command Descriptions Function Transmit peripheral device status E ASCII ESC u n Hexadecimal 1BH 75H n Decimal lt 27 gt lt 117 gt n Range n 0 48 Usage Epson TM T8x emulation mode definition Description This command transmits the status of the drawer kick out connector as a byte when n 0 or 48 This command allows the host to determine the status of a peripheral device Bit Off On Hex Decimal Status 0 Off 00 0 Drawer 1 or 2 connector status is low On 01 1 Drawer 1 or 2 connector status is high 1 3 Undefined 4 Off 00 0 Not used fixed to Off 5 6 Undefined 7 Off 00 0 Not used fixed to Off Function Request alternate status A ASCII ESC u Hexadecimal 1BH 75H Decimal lt 27 gt lt 117 gt n Range See table below Usage Axiohm 7193 emulation mode definition parallel printer Description This command sends status data to the host system and is available only on parallel printers It is intended for situations when the host compu
Download Pdf Manuals
Related Search
Related Contents
PS2000-3500 Manual Rev2s Manuel d`installation et de configuration - Alcatel-Lucent Eye OdoBan 913761-H Instructions / Assembly Cambridge Audio 640C CD Player User Manual 地上デジタルテレビ(北区3) (PDF:638KB) S.H.Figuarts 仮面ライダー龍玄・黄泉 ヨモツヘグリアームズ 取扱説明書 Bras de perfusion IV multi Samsung Samsung S5611 Инструкция по использованию Heat Source Model User Guide - Department of Environmental Quality G-Note - Genius Copyright © All rights reserved.
Failed to retrieve file