Programmer's Manual
Total Page:16
File Type:pdf, Size:1020Kb
MMooddeell 33885500 PPrrooggrraammmmeerr''ss MMaannuuaall GEK-01003 Table of Contents Table of Contents Table of Contents ................................................. ii Vertical Movements ............................................................... 135 Interface Control..................................................................... 142 Commands........................................................... .1 Operating System Control ..................................................... 145 General Overview ............................................................... 1 Paper Path Selection............................................................. 152 Command Summary in Alphabetical Order ...................... 2 User Defined Character Substitution .................................... 154 EPSON Emulation Commands................................................. 2 Graphics Control Functions................................................... 155 IBM Emulation Commands........................................................ 4 Barcode Functions................................................................. 158 ANSI Emulation Commands ................................................... 7 Basic Program Sample.......................................................... 161 Basic Program Printed Output .............................................. 162 EPSON Emulation Commands ........................... .9 EPSON Command Descriptions........................................ 9 Tables ................................................................163 Setting Form Length .................................................................. 9 Character Sets ................................................................163 Setting Character and Line Spacings ..................................... 12 Character Set 1 (CS1) ........................................................... 163 Setting Print Attributes ............................................................. 17 Character Set 2 (CS2) ........................................................... 164 Bar Codes Selection ................................................................ 26 IBM – All Character Sets ....................................................... 165 Character Set Selection........................................................... 29 EPSON Italic Character Set .................................................. 166 Dot Graphics ............................................................................ 37 ANSI Emulation - Character Set 1 Enabled (8 Bit Control Horizontal Movements ............................................................. 41 Disabled) ................................................................................ 167 Vertical Movements ................................................................. 46 ANSI Emulation - Character Set 1 Enabled (8 Bit Control Miscellaneous........................................................................... 49 Enabled) ................................................................................. 168 Basic Program Sample............................................................ 65 ANSI Emulation - Character Set 2 Enabled ....................... 169 Basic Program Printed Output................................................. 66 Character Code Tables...................................................170 IBM Emulation Commands. ............................... 67 CP 437 (USA/Western Europe)............................................ 170 CP 850 (Multilingual).............................................................. 171 IBM Command Descriptions ............................................67 CP 851 (Greek)...................................................................... 172 Setting Form Length ................................................................ 67 CP 852 (Eastern Europe) ...................................................... 173 Setting Character and Line Spacing ....................................... 69 CP 853 (Turkish).................................................................... 174 Setting Print Attributes ............................................................. 75 CP 855 (Russian)................................................................... 175 BarCode Selection ................................................................... 83 CP 858 (Euro PC Multilingual) .............................................. 176 Character Set Selection........................................................... 86 CP 860 (Portugal) .................................................................. 177 Dot Graphics ............................................................................ 94 CP 863 (Canada/France) ...................................................... 178 Horizontal Movements ........................................................... 100 CP 864 (Arabic)...................................................................... 179 Vertical Movements ............................................................... 104 CP 864E (Arabic)................................................................... 180 Miscellaneous......................................................................... 109 CP 865 (Denmark/Norway) ................................................... 181 Native Extension Escape Sequences................................... 122 CP 866 (Cyrillic) ..................................................................... 182 ANSI Emulation Commands ........................... .124 CP 867 (Turkish 2)................................................................. 183 ANSI Command Descriptions ........................................125 Mazowia (Polish).................................................................... 184 Character Set Control ............................................................ 125 Turkish.................................................................................... 185 Character Pitch and Print Modes .......................................... 127 Greek...................................................................................... 186 Horizontal Movements ........................................................... 132 Kamenicky.............................................................................. 187 CWI......................................................................................... 188 Roman-8................................................................................. 189 IN2........................................................................................... 190 ISO 8859-1 (USA/Western Europe)...................................... 191 ISO 8859-2 (Eastern Europe)................................................ 192 ISO 8859-3 (Southern Europe) ............................................. 193 ISO 8859-4 (Northern Europe).............................................. 194 ISO 8859-5 (Cyrillic)............................................................... 195 ISO 8859-6 (Arabic) ............................................................... 196 ISO 8859-7 (Greek) ............................................................... 197 ISO 8859-8 (Hebrew)............................................................. 198 ISO 8859-9 (Western Europe 2) ........................................... 199 ISO 8859-15 (Western Europe) ............................................ 200 National Variations..........................................................201 Epson National Variations ..................................................... 201 ANSI National Variations ....................................................... 202 Character Generator Tables ..........................................203 Character Generator Table (1/4)........................................... 203 Character Generator Table (2/4)........................................... 204 Character Generator Table (3/4)........................................... 205 Character Generator Table (4/4)........................................... 206 Hexadecimal to Decimal Table ......................................207 Interfaces .......................................................... 208 The Parallel Interface......................................................208 The Serial Interface.........................................................211 Commands This section provides information about the commands supported by the printer . The commands are organized by function groups. Each command has both a brief and a detailed description. General Overview This appendix provides information about the commands supported by the printer . The commands are organized by function groups. Each command has both a brief and a detailed description. Each command has the following structure: • Name and function description. Information about protocol • The hexadecimal and decimal codes for the command: n represents variable parameters of the command. The functions of these parameters are explained in its corresponding command description. Commands Command Summary in Alphabetical Order EPSON Emulation Commands ACK Acknowledge. 55 BEL Sounds the buzzer. 50 BS BACK SPACE. 41 CAN Cancels data. 53 CR Carriage return. 44 DC1 Selects printer or XON. 54 DC2 Cancels the compressed printing. 13 DC3 Deselects printer or XOFF. 57 DC4 Cancels double width printing. 17 DEL Deletes character. 53 ESC Escape (control sequence introducer). 49 ESC – n Selects or cancels underlined printing. 22 ESC # Cancels MSB control. 58 ESC $ n1 n2 Absolute dot position.