Digital PDFs
Documents
Guest
Register
Log In
EK-0LA50-RM-2
March 1983
76 pages
Original
18MB
view
download
OCR Version
9.5MB
view
download
Document:
LA50 Printer
Programmer Reference Manual
Order Number:
EK-0LA50-RM
Revision:
2
Pages:
76
Original Filename:
OCR Text
EK-OLAS0-RM-002 LASO Printer Programmer Reference Manual Prepared by Educational Services of Digital Equipment Corporation 1st Edition, August 1982 2nd Edition, March 1983 Copyright © 1982, 1983 by Digital Equipment Corporation All Rights Reserved The reproduction of this material, in part or whole, is strictly prohibited. For copy information, contact the Educational Services Department, Digital Equipment Corperatiqn,‘ Maynard, Massachusetts 01754. The information inthis document is subject to change without notice. Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document. Notice: This equipment generates and uses radio frequency energy. It has been type tested and found to comply with the limits for a Class B computing device in accordance with the specifications in Subpart J of Part 15 of FCC Rules, which are designed to provide reasonable protection against radio and television interference in a residential installation. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause interference toradioortelevisionreception, the useris encouraged to try to correct the interference. Printed in U.S.A The following are trademarks of Digital Equipment Corporation, Maynard, Massachusetts. | DEC DECnet IAS DECUS DECsystem-10 MASSBUS DIGITAL DECSYSTEM-20 PDT Digital Logo PDP UNIBUS DECwriter DIBOL EduSystem RSTS RSX VMS VAX OMNIBUS 0S/8 | VT CONTENTS CHAPTER1 1.1 1.1.1 1.1.2 1.1.3 1.2 CHAPTER2 2.1 2.1.1 2.1.1.1 2.1.1.2 2.1.1.3 2.1.1.4 2115 2.1.1.6 2.1.1.7 2.2 2.2.1 2.2.2 2.2.3 2.3 FEATURES (CT=Y 2 7=) - | HE A Text MOAe ..ot i et e GraphicMode ...t iiiiiii it eiierinenanes LASO Features ......coviii . Specifications .. 1 2 2 2 2 COMMUNICATIONS Datalnterface .....oooiiiiiiiii it Interface Signals ... Receive Data ........oovviiiiiiniiiiiiannnns ee Send Data ...ttt iiiiiiiiiiiin.., ........covviiii Ready Terminal RequesttoSend ..., Ready/BUSY .....coiiiiiiiiiii i i i iiicanens Protective Ground . .......ovviiiiii .t Signal Ground .. Data Synchronization .............cccoiiiiiiiiiiiin Input Buffer ... XON/XOFF Protocol ....covvveniiiiiiiiiiinnnns Ready/Busy Protocol ............ ...t it iiee i iiianenns Data TranSmiSSiON ....vviiii 5 5 5 6 6 6 6 6 6 6 7 [ 8 8 iii iv. CONTENTS CHAPTER3 PRINTER CONFIGURATION 3.1 General ... e 11 3.2 Front Panel Indicators and Switches ................. 11 3.2.1 Ready Indicator........... ... .. o, 12 3.2.2 FAULT Indicator ..., 12 3.2.3 POWER INdicator .......cooviiii 3.24 READY Switch ... 12 3.2.5 LINE EEED SWitCh . .......uuuiiiiiiiiiiieeens. 12 3.2.6 3.3 FORM FEED SWitCh . ..oviit i 12 e 12 Configuration Switches ..., 12 3.3.1 National Character Set Switches .................. 14 3.3.2 Graphics Aspect Ratio Switch SW1-5 .............. 14 3.3.3 XON/XOFF and Ready/Busy Protocol Switches SW1-6 and SW1-7 .........ciiiiii... 14 3.3.4 3.3.5 Right Margin Switch SW1-8 Baud Rate Select Switches SW2-1, 3.3.6 ....................... 16 SW2-2, SW2-3 .. .. i 16 Data Format Switches SW2-4, SW2-5, SW2-6 .......ociiiiiiiiiiiiennnn. 17 CHAPTER4 4.1 4.1.1 TEXT MODE CHARACTER PROCESSING Text Mode Character Processing ..................... 19 Active Column and Active Line .................... 19 4.1.2 Horizontal Advance Increment ..................... 21 4.1.3 Vertical Advance Increment ........................ 21 4.2 Printable Characters ............c.coiiiiiiininnnn. 21 4.3 Control Characters .........oiiiiii CHAPTERS5 i 21 ESCAPE AND CONTROL SEQUENCES 5.1 General ... e 27 5.2 Escape and Control Sequences ...................... 28 5.2.1 Partial Line Paper Motidn 5.2.2 Horizontal Pitch Selection ......................... 29 ......................... 29 5.2.3 Vertical Pitch Selection ............. i 32 5.2.4 Page Length Selection ............................ 34 5.2.5 Character Set Selection ......... i 35 5.2.6 Printing Density Selection ......................... 36 CONTENTS 5.2.7 v Selection of Bold and Underlined Printing ......... 38 5.2.8 Product ldentification .....................ooii.... 40 5.2.9 Printer Status Request .................. . ... ..., 41 5.2.10 Printer Status Report .............................. 42 5.2.11 Escape Sequences with 8-bit Equivalents ......... 44 5212 5.3 Entering and Exiting Graphic and Text Mode ...... 44 GraphicMode ... 45 5.3.1 Graphic Control Characters ........................ 46 5.3.2 Graphic Carriage Return ..., 46 5.3.3 - Graphic New Line ....................c.oolL 46 5.3.4 Repeat Sequence ..., 46 5.3.5 Graphic Substitute ......... ... .. . 47 5.3.6 State After Exiting Graphic Mode .................. 47 APPENDIXA CHARACTER SET CHARTS APPENDIX B ESCAPE SEQUENCE SUMMARY FIGURES 2-1 Serial Character Format ...............ccciiieiuunnn.. 9 3-1 Front Panel Controls and Indicators .................. 11 3-2 LA50 Printer Configuration Switches ................. 13 3-3 Changing Switch Positions ........................... 13 4-1 ASCII Chart ... 5-1 Changing Horizontal Pitch ........................... 30 5-2 Changing Vertical Pitch .............................. 33 20 TABLES 2-1 Printer Interface Signals .............. 3-1 Character Set Selection ............... .. ... i ... 15 ... ... ... ..... 5 3-2 Character Set Switch Positions ...................... 15 4-1 Text Mode ANSI Control Characters ................. 22 4-2 Text Mode ANSI Control Characters ................. 23 5-1 Active Character Set Selection ....................... 37 5-2 Character Set Selection ............. . i ... 38 A-1 ASCIll Character Set ...........c ... 50 A-2 VT100 Special Graphic CharacterSet ................ 51 A-3 Finnish Character Set .............. .. . i . 52 vi CONTENTS A-4 French Character Set ..., 53 A-5 French Canadian CharacterSet ...................... 54 A-6 German Character Set ..., 55 A-7 Italian Character Set ......... £k A-8 Japanese (JIS Roman) CharacterSet ................ 57 A-9 Katakana CharacterSet ............ccciiiiiiiiinn.. 58 A-10 Multinational CharacterSet .......................... 59 deaeseteeseraeren 56 A-11 Norwegian/Danish Character Set .................... 60 A-12 Spanish.Character Set ...................ooooini, 61 A-13 Swedish CharacterSet ..., 62 A-14 United Kingdom CharacterSet ....................... 63 FEATURES 1.1 GENERAL The LAS50 is a compact, dot matrix, serial printer. It was designed for use in personal computer systems, office workstations, and small-sized business computer systems. The printer is available in four models. LA50-RA - 120 V LAS0-RB - 220 V LAS0-RC - 240 V - LAS0-RD - 100 V The printer has an input buffer capacity of 2047 characters. The LASO receives characters and commands through an asynchronous serial interface. The interface operates at any of several selectable baud rates up to 4800 baud. The paper feed mechanism is able to move paper both forward and reverse. The printhead is mounted on a carriage that scans horizontally across the paper. The printer is capable of bidirectional printing with automatic print direc- tion determination. The ribbon is in a disposable cartridge. The printer operates in either of two fundamental modes: text mode or graphic mode. In text mode, characters define the functions and character symbols usually associated with alphanumeric printers. In graphic mode, characters define a single column of 6 dots to be printed, not an entire character image as in text mode. 2 FEATURES 1.1.1 Text Mode In text mode, the printer uses a 9-element impact dot matrix printhead to print characters in an 8-dot character cell at 100 characters per second. Lines of 80, 96, or 132 characters can be selected to print in the 8-inch wide print region. An enhanced printing mode is available that allows more fully formed characters to be printed in a 16-dot character cell at 50 characters per second. 1.1.2 Graphic Mode In graphic mode the LA50 allows the programmer to print graphic images by sending data that controls the dot printing elements individually. 1.1.3 LAS50 Features The following are the main features of the LA50. Compact size suitable for desk-top location ASCII and multinational character set VT100 special graphics character set Katakana character set for Japan Standard escape and control sequences Graphic image printing Enhanced printing High reliability Light weight Low cost 1.2 SPECIFICATIONS The following are the specifications for the LA50. Print method Incremental with bidirectional lookahead Print speed 100 characters/second (8 X 9 matrix printing) 44 lines/minute (80 columns printed per line) Character format (including intercharacter space) | 8 X 9 matrix at full speed 16 X 9 matrix at half speed FEATURES Horizontal pitch of 10, Bold, underline, or enhanced 12, 5, 6 characters/inch density with the following restrictions: 1. No enhanced printing when using VT100 or Katakana character sets 2. Bold and enhanced density cannot be used at the same time Horizontal pitch of 8.25 Bold, underline (no enhanced characters/inch density) Horizontal pitch of Underline (no bold, no enhanced 16.5 characters/inch density) Graphic mode 144 or 180 dots/inch horizontal 72 dots/inch vertical 2to 1 or2-1/2to 1 aspect ratio Characters 94 ASCII 81 multinational 63 JIS Katakana 27 VT100 special graphics 1 error indicator Character pitch Compressed font - 16.5 characters/inch, 132 characters/line Double width - 8.25 characters/inch, 66 characters/line Elite pitch - 12 characters/inch, 96 characters/line Double width - 6 characters/inch, 48 characters/line Pica pitch - 10 characters/inch, 80 characters/line 3 4 FEATURES Double width - 5 characters/inch, 40 characters/line Line spacing 12, 8,6, 4, 3, or 2lines/inch Partial line up and down, 1/12 inch Line feed speed 6 lines/inch at 100 ms/line Form dimensions Single sheets: 3 to 9 inches wide Form thickness Up to 0.011 inches, up to 3-part form Paper feed method Friction feed and sprocket/pin feed Form loading From rear-top Ribbon cassette Operator installable Power requirements LA50-RA 120 (104 - 128) Vac LA50-RB 220 (191 - 235) Vac LAS0-RC 240 (208 - 256) Vac LAS0-RD 100(90-110) Vac 47 to 63 Hz Power consumption Less than 180 W Weight 8.5 Kg (18.7 Ib) Dimensions 400 mm (W) X 295 mm (D) X 142 mm (H) (16inx11.8inx5.6in) Data interface Serial RS232-C and RS423 EIA Standard - COMMUNICATION 2.1 DATA INTERFACE The LA50 data interface is RS-232C and RS-423 compatible. It does not include an interface cable but does include a 25-position plug mounted on the rear of the cabinet. The printer contains the following interface signals listed in Table 2-1 for connection to an interface cable. 2.1.1 Interface Signals The following paragraphs describe these interface signals. 2.1.1.1 line. Receive Data - The printer receives serial encoded characters on this Table 2-1 | Printer Interface Signals Function Direction Pin RS-232 Mnemonic Receive data To printer 3 BB Send data From printer 2 BA Terminal ready From printer 20 CD Request to send From printer 4 CA Busy or ready From printer 11 - Protective ground From printer 1 - Signal ground Common 7 AB 6 COMMUNICATION 2.1.1.2 Send Data - The printer sends serial encoded characters on this line. Although the bit rate within a character may be up to 4800 bits per second, the character transmission rate from printer to host for any two characters does not exceed 100 characters per second. The printer, when transmitting to the host, always includes one stop bit with each character. | 2.1.1.3 Terminal Ready - The printer sends signals on the Terminal Ready line which indicate the readiness of the printer to send and receive data. When this signal is ON the printer is capable of sending and receiving data. When this signal is OFF the printer is not ready for communication. The terminal is ready to send and receive data after it completes its power-up initializations, and remains ready to communicate indefinitely. 2.1.1.4 Request to Send - The printer maintains the Request to Send line in the ON condition indefinitely. 2.1.1.5 Ready/Busy - This line carries the Busy/Ready signal, depending on the setting of the Ready/Busy Polarity switch. The printer is unable to receive characters if this signal is in the ‘Busy’ state and is able to receive characters if this signal is in the ‘Ready’ state. 2.1.1.6 Protective Ground - This line is connected via removable jumper into the chassis ground of the printer. The chassis is further connected to external grounds through the third wire of the power line cord. 2.1.1.7 Signal Ground - This line establishes the common ground reference potential for all other interface circuits. 2.2 DATA SYNCHRONIZATION Data synchronization with the printer is attained by an input buffer used in conjunction with either the XON/XOFF protocol or the Ready/Busy protocol, depending on the position of the protocol switch. COMMUNICATION 2.2.1 Input Buffer 7 | All characters received, except nulls and deletes, are temporarily stored in an input buffer before further processing. Nulls and deletes are ignored and do not occupy space in the input buffer. The input buffer has a 2047 character capacity. If the printer falls too far behind the incoming data, the input buffer overflows and data is lost. If characters are lost due to input buffer overflow, a single substitute control character (octal 032) is placed in the input buffer at the point of loss. If a character is received with a parity error, the character is replaced in the input buffer by the substitute control character (octal 032) thus causing the error character (reverse question mark) to be printed. The 032 control character, thus indicates loss of characters, or a character received with parity error. When the printer is capable of printing, characters are fetched from the input buffer and printed or otherwise processed as required. When the printer is incapable of printing, the printer scans the input buffer for printer status request control sequences even if the input buffer is full. 2.2.2 XON/XOFF Protocol Using the XON/XOFF protocol, the data source becomes synchronized with the printer as described below. After successfully powering up and becoming enabled to send, the printer sends an XON control character and constantly monitors the number of empty character positions in the input buffer. When the number is less than 128, the printer sends an XOFF control character, signaling the data source to temporarily stop sending data. Meanwhile, the printer continues to take characters from the input buffer and print or otherwise process them. When the number of empty positions in the buffer exceeds 224, the printer sends an XON control character, thus signaling that transmission may resume. The printer also sends an XOFF control character when it is not ready due to error conditions or operator actions. Running out of paper or detecting a printhead position failure causes an XOFF control character to be sent. The operator actions of opening the cover or placing the printer off-line also cause an XOFF control character to be sent. 8 COMMUNICATION The printer sends an XON control character whenever an XOFF state is present, and all of the following conditions are true. e The printer is ready. e All fault conditions are cleared. ¢ There are more than 224 empty positions for characters in the input buffer. NOTE: At power up, an XOFF’ state is assumed. The printer sends an XOFF control character whenever an XON state is present, and any of the following conditions is true. ¢ The printer is not ready. e A fault condition occurs. e There are less than 128 empty positions fer characters in the input buffer. The printer sends an extra XOFF control character if more than 64 characters have been received since the first XOFF control character has been sent. 2.2.3 Ready/Busy Protocol The Ready/Busy protocol is functionally the same as the XON/XOFF protocol. However, instead of sending an XOFF control character, the printer places the Ready/Busy signal in the Busy state, and instead of sending an XON control character, the printer places the Ready/Busy signal in the Ready state. 2.3 DATA TRANSMISSION The LAS0 printer communicates using serial characters. The serial character format used must be the same character format used by the computer. Serial characters are transmitted using a start bit, 7 or 8 data bits, an optional parity bit and 1 or more stop bits (Figure 2-1). The number of bits and the polarity of the parity (even or old) is switch selectable. Parity errors can be detected for either polarity. COMMUNICATION START BIT OF STATE OF NEW CHARACTER LINE 70R 8 DATA BITS SPACE + “"MARK" | o e e ‘A‘fl ‘Lsslcnlezlezlsalcsiss;Mggl S START SN S S ONE 81T N BAUD RATE R T WHEN Wi Sfi";?" ‘ OPTIONAL RETURN TO IDLE PARITY 8BIT BIT CHARACTERS STATE OF LINE ARE USED gth BIT=0 MA-7815A Figure 2-1 Serial Character Format 9 PRINTER CONFIGURATION 3.1 GENERAL This chapter describes the LA50 configuration switches located in the front of the printer under the access cover. There are two switch packs with eight slide switches in each pack. The switches are used to configure the: ¢ National character sets e Graphics aspect ratio XON/XOFF and RDY/BUSY protocol Right margin Baud rate Data format. Additional information regarding these items is included in subsequent chapters. 3.2 FRONT PANEL INDICATORS AND SWITCHES The following indicators and switches are on the front panel of the LA50 (Figure 3-1). 080020 READY [] rauLT[] rower[] READY LINE FEED FORM FEED MA-10,017 Figure 3-1 Front Panel Controls and Indicators 11 12 PRINTER CONFIGURATION 3.2.1 READY Indicator | The green READY light indicates the operating state of the printer. The light is on when the printer is ready to print or is printing. The light is off when the printer is not ready and will not start. 3.2.2 FAULT Indicator The red FAULT light blinks when the printer detects an electronic fault. It stays on when the printer is out of paper. 3.2.3 POWER Indicator 3.2.4 READY Switch The green POWER light is on when power is applied to the printer. The READY switch controls the operating state of the printer. Pressing the switch alternately puts the printer in the Ready or Not Ready state. Observe the READY light to determine the state of operation. 3.2.5 LINE FEED Switch Pressing the LINE FEED switch advances the paper one line. 3.2.6 FORM FEED Switch Pressing the FORM FEED switch advances the paper one full sheet. 3.3 CONFIGURATION SWITCHES The configuration switches are set for printer use with DIGITAL systemsinthe United States. They are located under the access cover (Figure 3-2). The switch positions can be changed by sliding the tab with a ballpoint pen or | equivalent (Figure 3-3). The rest of this chapter describes the switch positions for the system configurations. PRINTER CONFIGURATION B;QQ?QBi N3dO 8 L 9 § ¢ € ¢ | Pl CONFIGURATION SWITCHES MA-10,0274 Figure 3-3 Changing Switch Positions 13 14 PRINTER CONFIGURATION 3.3.1 National Character Set Switches The national character set switches are designated SW1-1 through SW1-4. These switches are initially set to the United States position (all four switches open). The United States positionis correctfor many DIGITAL systems around the world, since it makes the ASCII, VT1 00 special graphics, and the multinational character sets available. In an 8-bit environment, no change in | switch settings is necessary. set For those systems that do mi have multinational capability, the character . switches may be set to match the national character set of the system Table 3-1 shows the character sets associated with GO through G3 for each country. Table 3-2 shows the associated switch positions for that country. For example, if Britain is selected, SW1-1 is closed, and SW1-2, SW1-3, and SW1-4 are open. With this switch selection, GO is the British character set, G1 is the VT100 character set, G2 is the multinational character set and G3 is the ASCII character set. With four switch settings, there are 16 possible combinations. Only 11 are shown in Tables 3-1 and 3-2. The remaining combinations of switch settings are equivalent to the United States position. 3.3.2 Graphics Aspect Ratio Switch SW1-5 Switch SW1-5 changes the horizontal to vertical dot ratio in graphic mode byis changing the number of horizontal dots per inch. The number of vertical dots kept constant at 72 dots per inch. Ratio 2to 1" 2.5t0 1 Horizontal Dots/Inch 144 180 SW1-5 Switch Position Open Closed 3.3.3 XON/XOFF and Ready/Busy Protocol Switches SW1-6 and SW1-7 DIGITAL systems use the XON/XOFF protocol. Other systems may require the Ready/Busy protocol. Switch SW1-6 selects the XON/XOFF or Ready/Busy protocol as shown in the SW1-6 chart below. If the Ready/Busy protocol is selected the polarity of the Busy or Ready signal is shown in the SW1-7 chart below. SW1-6 Position Open* Closed * Initial setting Protocol XON/XOFF Ready/Busy PRINTER CONFIGURATION Table 3-1 15 Character Set Selection Nation GO G1 United States ASCII Britain British Finland France G2 G3 vT100 Multinational ASCII VT100 Multinational ASCII Finnish VT100 Multinational ASCII French vT100 Multinational ASCII ASCII French Canada French Canadian VT100 Multinational Germany German VvT100 Multinational ASCII Italy Italian VT100 Multinational ASCII Japan JIS Roman Katakana Katakana ASCII ASCII Norway/Denmark Norwegian/Danish VT100 Multinational Spain- Spanish VvT100 Multinational ASCII Sweden Swedish VT100 Multinational ASCII Table 3-2 Character Set Switch Positions Switch Positions Nation SW1-1 SW1-2 SW1-3 SwW14 United States Open Open Open Open Britain Closed Open Open Open Finland Open Closed Open Open France Closed Closed Open Open Fench Canada Open Open Closed Open Germany Closed Open Closed Open Italy Open Closed Closed Open Japan Closed Closed Closed Open Norway/Denmark Open Open Open Closed Spain Closed Open Open Closed Sweden Open Closed Open Closed Factory Setting 16 PRINTER CONFIGURATION SW1-7 Position Signal Condition Open* Busy = high Ready = low Closed Busy = low Ready = high 3.3.4 Right Margin Switch SW1-8 Switch SW1-8 selects the method of controlling a line of characters that exceed the 8-inch line of print. If set to truncate, the printer is limited to printing the first 8 inches of characters. It drops the remaining characters. If set to wrap, the printer prints the remaining characters on the next line. Selection Truncate* Wrap 3.3.5 Baud Rate Select Switches SW2-1, SW2-2, SW2-3 These switches select the speed (bits per second) at which the printer communicates with the computer. Switch Positions Baud Rate SW2-1 Sw2-2 SW2-3 4800* Open Open Open 2400 1200 600 300 200 110 * Initial setting Open Closed Open Closed Closed Closed Closed Open Open Closed Open Closed Open Closed Open Closed Closed Closed PRINTER CONFIGURATION 17 3.3.6 Data Format Switches SW2-4, SW2-5, SW2-6 These switches select the data format to enable communication with the computer. Switch Position Data Format SW2-4 SW2-5 SW2-6 7 bits plus odd parity Open Closed Closed 7 bits plus even parity Closed Closed Closed 7 bits plus 8th bit mark Open Open Closed 7 bits plus 8th bit space Closed Open Closed 8 bits plus odd parity Open Closed Open 8 bits plus even parity Closed Closed Open Open Open Open 8 bits, no parity* * Initial setting TEXT MODE CHARACTER PROCESSING 4.1 TEXT MODE CHARACTER PROCESSING This chapter describes the terminal’s response to characters received while: the printer is operating in text mode. The terminal processes characters in accordance with the American National Standards Institute (ANSI) standards X3.4-1977. The ANSI system of character processing is based on the category (printable or control) of a character in the American National Standard Code for Information Interchange (ASCII) chart (Figure 4-1). The category of a character is determined by the character’s posi- tion in the ASCII chart. In the eight column chart, columns 0 and 1 contain the control characters while the rest of the chart contains printable characters (except for SP and DEL). The printer is capable of printing from 14 different character sets which are described in Chapter 5. SP and DEL are always the same control characters regardless of the character set selected. NOTE: The space character can be considered either an information separator control character or a printable character. It can be considered a printable character because it takes up space in the terminal memory and on the paper when printed. The following paragraphs describe the terminal response to both printable characters and control characters while operating in text mode. 4.1.1 Active Column and Active Line Active column is the column where the next character is to be printed. Active line is the line where the next character is to be printed. Column and line numbers begin with one, not zero. Printed characters usually increment the active column. Linefeeds, vertical tabs, and form feeds increment the active line. 19 20 TEXT MODE CHARACTER PROCESSING 87 g8 it BWS;__‘M 0 0001} O0 1} 00 v 0 Z 001 1]3 0 0 0 0 0 i 0 1 ) - NUL 0 DLE 16 1 21 ) SOH 1 1 2 STX 2 ETX 3 Z 10 g(}cu‘;‘ 17 ! 22 i 11 Dcz 18 ~ 32 20 41 33 21 | 42 34 12 22 23 43 3 (XQFF) | 19 4 24 3 SP 13 # 35 23 44 3 36 o 1011s |ENQ| 5 NAK | 5 25 % a5 4 ¢ 14 5 15 01101l 8 ACK 6 6 SYN 22 & 7 ETB 23 27 ’ 6 7 BEL 7 1 00 0] 8 10 1t o1 1 7 26 16 8 30 CAN 24 HT 11 EM N LF 12 UB | 22 A 1A BS 8 18 |, g 10 su 3 1 {ESC| ( ) 26 * 3] + 39 50 40 28 51 2 3 4 S 8 9 42 . 53 . FF FS 34 28 ’ 44 < vhor || CR|G|GS 35 - s| 55 1 1 1 o4 SG . 16 14 RS 36 30 * 56 1t 11 1 Si 17 us a1 37 / 47 14 c 15 D ASCII CHARACTER| ESC E 15 F 1C |5 1E 1F 52 34 65 53 66 A B c D £ 54 F 87 G 55 37 70 56 38 71 H 120 140 40 50 80 66 121 41 81 141 51 102 122 142 64 101 66 42 103 81 a8 82 87 83 104 124 144 43 68 44 105 69 45 106 70 46 107 53 84 54 125 99 63 100 64 145 q 161 r s 70 113 71 162 114 72 163 115 73 164 t 116 74 165 u 126 146 v 166 ~ 167 55 86 56 65 102 66 87 147 110 130 150 72 112 101 127 47 160 P 85 7 57 103 67 o 75 118 76 w 19 77 170 88 104 73 131 89 151 74 132 4A 90 152 5A 6A 7A 113 133 153 173 48 58 88 a8 1 58 J 112 73 52 87 143 57 72 g2 96 123 111 39 80 49 58 120 ws] ¥ 171 wel % 69 121 79 122 172 L 114 76 134 154 ac 92 5C 108 l 124 = 75 || M| 115 5 135 155 175 4D 50 } 46 > 82 76 N 1186 136 57 ? 77 o 2D 2E 2F 3c 3D 3E 63 aF 78 93 1078 78 74 2C 91 X 68 60 38 75 58 K 54 i @ 100 59 2B 1D 51 33 64 3A 1 1.0 0112 12 43 ] 32 63 36 7 2A 18 31 35 6 a1 29 52 61 49 26 47 48 30 82 vT B8 27 38 27 25 18 46 60 1 25 17 - 24 37 o In |18 1 7 40 DC4 20 to 1 oj10 1 1 2 | 20 EOT 4 1 oo011}o9 i 0 01001 4 0o 1 1 1] 1 COLUMN 84 83 B2 B |ROW 0 00 0 B85 8C 109 6D 123 78 156 174 7C 126 70 176 a4 110 117 137 157 177 aF 5F 6F IF 4E 79 5E 95 8E 111 DEL 128 7E 127 33 | OCTAL DECIMAL A O Figure 4-1 O X HE ASCII Chart Mo 7748 g TEXT MODE CHARACTER PROCESSING 21 The active column and active line are collectively known as active position. Active position is only loosely linked to the physical position of the printer carriage and paper mechanism. In general, the active column is only recorded when a character is actually printed. Any previous history of active column val- ues is insignificant. 4.1.2 Horizontal Advance Increment Horizontal advance increment (HAI) is a unit equal to the width of a column. The printer allows HAI values of 1/5 inch, 1/6 inch, 1/8.25 inch, 1/10 inch, 1/12 inch, and 1/16.5 inch. Column numbers begin with one and are measured in units of HAI. Column numbers do not have fractional components. 4.1.3 Vertical Advance Iincrement The vertical advance increment (VA) is the unit of distance between lines. The printer allows VAl values of 1/2 inch, 1/3 inch, 1/4 inch, 1/6 inch, 1/8 inch, and 1/12 inch. Line numbers begin with one and are measured in units of VAI. Line numbers may have fractionalcomponents if the vertical pitch changes withina page. 4.2 PRINTABLE CHARACTERS In text mode, printable ASCII characters are printed as they are received by the terminal. If the active column is not greater than the right margin, each received character is printed and the active column is incremented. NOTE: The actual characters printed depend on the printable character set designated. Refer to the printable character sets in Chapter 5 and Appendix A for more detail. Each printable or space character increases the active column by one unit of HAI. Characters in the octal range of 041 - 176 are normally interpreted as printable characters. If the active position is within the printable region, each printable character or space character prints and the active column increases as required. If the previous character was printed at the rightmost position and a printable or space character is received, one of two actions occurs, depending on the setting of the right margin switch. If the right margin switch is set to truncate, the character is ignored. If the right margin switch is set to wrap, an automatic carriage return and line feed occurs before printing the character. 4.3 CONTROL CHARACTERS A control character is a single character function whose occurrence in a particular context starts, modifies, or stops a control function. Control functions are characters that provide control of the printing and processing of characters. Control functions are not printed. 22 TEXT MODE CHARACTER PROCESSING Tables 4-1 and 4-2 list the control characters recognized by the terminal and the mnemonic and the function performed by the control character when operating in text mode. All other control characters received by the terminal cause no action. NOTE: | Each control function listed in this chapter is assigned a mnemonic. The mnemonic is an abbreviation of the control function name. Table 4-1 Text Mode ANS! Control Characters Printer Control Functions Octal Code Mnemonic Function 010 BS Backspace 011 HT Horizontal tab 012 LF Line feed 013 VT Vertical tab 014 FF Form feed 015 CR Carriage return Character Set Control Functions Octal Code Mnemonic Function 016 SO Shift out 017 Sl Shiftin Communication Control Functions Octal Code Mnemonic Function 000 NUL Null 030 CAN Cancel 032 SuB Substitute 033 ESC Escape 177 DEL Delete . The printer ignores all other ASCII control characters. TEXT MODE CHARACTER PROCESSING Table 4-2 Text Mode ANSI Control Characters Octal Name Mnemonic Code Backspace BS 010 Function Backspace decreases active column by one unit of HAI. If the active column is at the leftmost position, the backspace character is ignored. l Horizonta tabs- HT 011 A horizontal tab is a preselected pointon a line to which the printhead advances when a horizontal tab (HT) control character is received. The printer has fixed horizontal tab stops every eight units of HAI. Tab stops are associated with column numbers, not physical positions on the paper. Thus, changing horizontal pitch also changes the physical position of tab stops. When no tab exists to the right of the active column, the right margin switch setting takes precedence. If this switch is set to wrap, the printer executes an automatic carriage return and a line feed. If the switch is set to truncate, the active column is set to beyond the rightmost print column. This causes the printer to ignore characters until the active column returns to within the printable region. 23 24 TEXT MODE CHARACTER PROCESSING Table 4-2 Text Mode ANSI Control Characters (Cont) Mnemonic Code Line feed LF 012 g Pe AA Octal Name Function Line feed advances active line by one unit of VAL If less than one unit of VAI remains S unprinted on the page before A A o execution of the Line Feed, b then the line feed character el sets the active line to the S i m“%m%we uppermost position on the next page. Vertical VT 013 tab Form feed Vertical tab functions the same as line feed. FF 014 Form feed advances the active line to the uppermost position on the next page. Carriage CR 015 return Carriage return returns the active column to the leftmost position. Shift out SO 016 Shift out selects the G1 character set as the active character set. For additional information, refer to Chapter 5. Shift in Si 017 Shift in selects the GO character set as the active characer set. For additional information, refer to Chapter 5. TEXT MODE CHARACTER PROCESSING Table 4-2 Text Mode ANSI Control Characters (Cont) Octal Name Mnemonic Code Function Null NUL 000 The null and delete Delete DEL 177 characters may be used for timing. They cause no operation in the printer, and are different from ignored characters in that they are stripped from the data stream upon reception without occupying space in the input buffer. Cancel CAN 030 Cancel immediately ends any escape or control sequence. Substitute SUB 032 Substitute immediately ends any escape or control sequence. The character is interpreted as being in place of a character or characters received in error. In text mode, the substitute character is printed as the error character (reverse question mark). Escape ESC 033 Escape introduces an escape sequence. Refer to Chapter 5. 25 ESCAPE AND CONTROL SEQUENCES 5.1 GENERAL The LA50 uses escape sequences standardized by the American National Standards Institute (ANSI) to control many of its features. For the LAS0 features that lack an ANSI standard escape sequence, additional escape sequences have been defined and are within the extensions permitted by the ANSI system. ANSI has established a flexible and comprehensive system for transmitting format and editing information. The system can be used with printing terminals like the LA5S0 as well as with video terminals and printers. The system has the fol‘lowing important advantages. 1. Itis well defined and well documented. This greatly decreases the chances of incompatible implementations and aids in achieving device independence in output. 2. It has ample provisions for future extensions without sacrificing compati- bility with older programs. The syntax used in ANSI controls allows a large number of new controls to be added with little difficulty. 3. It is compatible with all the frequently used communication protocols. In contrast, many other systems use control codes that are reserved for communication functions. In these other systems, codes used for line turnaround, disconnect and synchronization get confused with those used to send parameter values. 27 ESCAPE AND CONTROL SEQUENCES 28 4. It has a flexible parameter passing convention that allows single parameters, multiple parameters, and default parameters. For example, in the graphic rendition escape sequence, the single parameter ESC [ 0 m causes bold and underline to be disabled; the multiple parameter ESC [ 1 ; 4 m causes bold and underline to be enabled; and ESC [ n (no parameter included) uses the default parameter of 0 which is understood. 5.2 ESCAPE AND CONTROL SEQUENCES Using the escape sequences described in this chapter, the programmer can o o Horizontal pitch selection Vertical pitch selection Page length selection Character set selection Printing density selection Bold and underline selection Product identification © Printer status request Printer status report ® & ©® & & o o Partial line paper motion & control the following LAS0 features. Graphic mode The escape sequences allow expansion of the control functions beyond the current limit of the 32 control characters. For compatibility, certain control character positions are left blank where the LA50 does not perform the function associated with that control character. Control functions that require parameters are always invoked by control sequences. For example, setting horizontal pitch is invoked by a control sequence since the pitch can be set to 5, 6, 8.25, 10, 12, or 16.5, characters per inch. The escape and control sequences are described in the following paragraphs. A summary of these sequences is provided in Appendix B. Examples of the escape sequences use the ASCII character and the octal equivalent. For example, in the partial line down escape sequence ESC K (033 113), the K is the ASCII character and the 033 113 is the octal code for the ESC and K, respectively. | ESCAPE AND CONTROL SEQUENCES 5.2.1 29 Partial Line Paper Motion The following sequences cause partial line paper motion. Partial Line Down (PLD) ESC K 033 113 The above sequence moves paper forward (upward) 1/12 inch. Partial Line Up (PLU) ESC L 033 114 The above sequence moves paper reverse (downward) 1/12 inch. The PLD and PLU sequences do not modify active line. Unless an equal number of PLU and PLD sequences are sent to the printer, the page boundary reference will have changed. Thus, PLD and PLU sequences may be used for remote adjustment of the form position, such as for modifying the top-of-form position. 5.2.2 Horizontal Pitch Selection When the horizontal pitch changes, the printer converts the active column to the new horizontal pitch. The computation may yield a fractional component that is rounded up to the next integer so that all printing is on the column grid for the selected pitch. A variable amount of white space is included in the line at the point of horizontal pitch change. As an example, consider a horizontal pitch of 10 characters per inch in a line that is to be converted to a horizontal pitch of 12 characters per inch. The pitch is to be changed after the third character is printed (Figure 5-1). ESCAPE AND CONTROL SEQUENCES 30 . 1 INCH e 123456789 alelel | | ]| | 10 CHARACTERS/INCH 1 z | i i AR I | | | |olelr]|e]n|1]s]k| 12 cHARACTERS/INCH R FRACTIONAL COMPONENT NEW ACTIVE COLUMN Figure 5-1 MA-10,085 Changing Horizontal Pitch The following formula determines the precise location of active column when the horizontal pitch is changed. Newcol = 1 + ( Newpitch X (Oldcol-1) ) - Oldpitch where Newcol Newpitch Oldcol Oldpitch = the new active column = the new pitch in characters/inch = the old active column = the old pitch in characters/inch The division performed above is integer division wherein any non-zero remainder rounds the quotient up to the next higher integer. Changing horizontal pitch sets the rightmost position for printing to the specified maximum column and sets the single- or double- width attribute of characters as follows. ESCAPE AND CONTROL SEQUENCES Horizontal Pitch Maximum Column Width 10 12 16.5 5 6 8.25 80 96 132 40 48 66 Single Single Single Double 31 Double Double Double-width characters are considered to be one column wide, not two columns wide. Therefore, tab stops are every eight double-width columns in double-width pitches, and double-width characters are printed on a doublewidth grid. The following sequences select single-width printing and set the horizontal pitch. Set Horizontal Pitch (DECSHORP) ESC[ 0 w 033 133 060 167 or ESC[ 1 w 033 133 061 167 Either of the above sequences sets horizontal pitch to 10 characters/inch (HAI = 1/10 inch). ESC[ 2 w 033 133 062 167 This sequence sets horizontal pitch to 12 characters/inch (HAl=1/12 inch). ESC [ 4 w 033 133 064 167 This sequence sets horizontal pitch to 16.5 characters/inch (HAI = 1/1 6.5 inch). 32 ESCAPE AND CONTROL SEQUENCES The following sequences select double-width printing and set the horizontal pitch. Set Horizontal Pitch (DECSHORP) ESC[ 5 w 033 133 065 167 The above sequence sets horizontal pitch to 5 characters/inch (HAl=1/5 inch). ESC[ 6 w 033 133 066 167 The above sequence sets horizontal pitch to 6 characters/inch (HAlI = 1/6 inch). ESC[ 8 w 033 133 070 167 The above sequence sets horizontal pitch to 8.25 characters/inch (HAl = 1/8.25 inch). 5.2.3 Vertical Pitch Selection | When the vertical pitch changes, no paper motion occurs, and the printer converts the active line to the new vertical pitch. The computation may yield a fractional component which is retained. For example, assume a vertical pitch of 5 lines per inch is to be changed to a vertical pitch of 6 lines per inch as shown in Figure 5-2. Note that the fractional component of vertical pitch occurs at the end of the page because there is no paper motion during change of vertical pitch. This is unlike the change of horizontal pitch where the fractional component occurs at the point where the pitch is changed. ESCAPE AND CONTROL SEQUENCES 5 LINES 6 LINES PER INCH 1 INCH =" - S A ' B8 —_—2 o AN PER INCH - T 'y 33 1 3 2 e — 4 — D — - . E FRACTIONAL COMPONENT MaA-10.088 Figure 5-2 Changing Vertical Pitch The following sequences set the vertical pitch. Set Vertical Pitch (DECVERP) ESC|[ 0 =z or 033 133061 172 ESC[ 1 2z 033 133 061 172 Either of the above sequences sets vertical pitch to 6 lines/inch (VAI=1/6 inch). ESC[ 2 z 033 133 062 172 The above sequence sets vertical pitch to 8 lines/inch (VAI = 1/8 inch). ESC[ 3 =z 033 133 063 172 The above sequences sets vertical pitch to 12 lines/inch (VAI = 1/12 inch). 34 ESCAPE AND CONTROL SEQUENCES ESC [ 4 =z 033 133 064 172 The above sequence sets vertical pitch to 2 lines/inch (VAI = 1/2 inch). ESC [ 5 =z 033 133 065 172 The above sequence sets vertical pitch to 3 lines/inch (VAI = 1/3 inch). ESC[ 6 =z 033 133 066 172 The above sequence sets vertical pitch to 4 lines/inch (VAI = 1/4 inch). 5.2.4 Page Length Selection At power-up time, the page length is set to 11 inches, corresponding to 66 lines with the default vertical spacing. The page length command sets the page length in inches. This is accomplished by providing a parameter representing the number of lines per page from 0 to 252. To calculate the desired parameter, (Pn) use the following equation. Parameter (lines/page) = desired page length (inch/page) X current vertical pitch (lines/inch) | f The following chart gives the required parameter values for a small selection of f% Length Vertical Pitch Selected | Inches 2 3 4 6 8 12 §%§ 1 22 33 44 66 88 132 fi; i Bs s i e o et e A SR A A BA R KOTSRS | page lengths as a function of vertical pitch. 14 28 42 56 84 112 168 ESCAPE AND CONTROL SEQUENCES 35 The page length can be set to any length from 1/12 inch per page to 21 inches per page in VAI units at the current vertical pitch. Or, if the page length is set to zero, the printer has no paging - all form feed characters are equivalent to line feed characters. If the desired page length exceeds 21 inches then the printer sets the page length to 21 inches. The following sequence sets the page length. Set Page Length (DECSLPP) "ESC [ Pn t The above sequence sets active line to top-of-form position and sets page length to Pn units of current VAL 5.2.5 Character Set Selection The normal mode of the printer is text mode. In text mode, the printer is capable of printing the 94 printable characters of the ASCII character set, the 81 additional characters of the multinational character set, the 63 additional characters of the JIS Katakana character set, the 27 additional characters of the VT100 special graphic character set, and the error character, which is a reverse question mark. The 266 different characters are grouped into the 14 character sets in Appendix A. Each character set contains 94 characters. Many of the 266 characters appear in several character sets. The printer is considered to be in 7-bit mode if the number of data bits has been set to 7 (refer to Chapter 3). In 7-bit mode, all characters are printed from the GL character set. The printer is considered to be in 8-bit mode if the number of data bits has been set to 8 (refer to Chapter 3). In 8-bit mode all characters are printed from the GL character set if the eighth bit is 0 or from the GR set if the eighth bit is 1. The advantage of 8-bit mode is that two character sets (one in GL and one in GR) can be resident simaltaneously. 36 ESCAPE AND CONTROL SEQUENCES A set of commands cause the GL and GR sets to select one of four intermediate pointers, GO through G3. These pointers can be set to provide access to any of the 14 available character sets. Table 5-1 lists the commands and designate how the pointers select the GL or GR set. For example, the LS2 command causes the GL set to select the character set assigned to G2 and the LSR1 command causes the GR set to select the character set assigned to G1. The character set escape sequences assign the character sets to the pointers as shown in Table 5-2. 5.2.6 Printing Density Selection The following sequences select the printing density. Select Density (DECDEN) ESC|[ 0 " z 033 133 060 042 172 or ESC|[ 1 " 2z 033 133 061 042 172 Either of the above sequences selects normal density printing. ese 2 " z 033 133 062 042 172 The above sequence selects enhanced density printing. — G vse OO PSE RN ARSI o Rb e g At ALt st o o ettt o g e e o et ESC|[ Enhanced density and bold printing cannot be performed at the same time. If both are specified, enhanced density takes precedence. Exceptions to this are as follows. 1. 16.5 characters/inch - Neither enhanced density nor bold can be printed. 2. 8.25 characters/inch - Bold printing prints and enhanced density does not. 3. VT100 - Bold printing prints and enhanced density does not. 4. Katakana - Bold printing prints and enhanced density does not. 5. Graphics - Neither enhanced density nor bold printing print. ESCAPE AND CONTROL SEQUENCES Table 5-1 37 Active Character Set Selection Escape Command Mnemonic Sequence GL Set GR Set Shift in GO - G1 - G2* - G3* - G2 - G3 - - G1 = G2 - G3 Si CTRL/O (017 octai) Shiftout SO | Single (016 octal) SS2 shift 2 Single SS3 LS2 ESC n 1 033 156 LS3 shift 3 Locking ESC O 033 117 shift2 Locking ESC N 033116 shift 3 Locking CTRL/N ESC o 033 157 LS1R - shift 1 ESC ~ 033 176 right Locking LS2R shift 2 ESC | 033175 right Locking shift 3 LS3R ESC | 033174 right * A special case is the SS2 (single shift 2) and SS3 (single shift 3) commands. When these commands are given, the next character printed is selected from the G2 or G3 set respectively, regardless of the setting of the eighth bit. After this single character, printing continues from the GL or GR set. The locking shift commands (LS2, LS3, LS1R, LS2R, or LS3R) remain in effect until another locking shift is received. 38 ESCAPE AND CONTROL SEQUENCES Table 5-2 Character Set Selection GO G1 G2 G3 Character Set ESC (B ESC)B ESC*'B ESC+B ASCII ESC (A ESC)A ESC*A ESC+A Britain ESC (5 ESC)5 ESC*5 ESC+5 Finland ESC(C ESC)C ESC*C ESC+C Finland France ESC (R ESC)R ESC*R ESC+R ESC (9 ESC)9 ESC*9 ESC+9 French Canada ESC (Q ESC)Q ESC*Q ESC+Q French Canada ESC (K ESC)K ESC*K ESC +K Germany ESC(Y ESC)Y ESC*Y ESC+Y Italy ESC (J ESC)J ESC*J ESC +J JIS Roman ESC (I ESC)I ESC*I ESC +1 JIS Katakana "ESC (6 ESC)6 ESC*6 ESC+6 Norway/Denmark ESC (E ESC)E ESC*E ESC+E Norway/Denmark ESC(Z ESC)Z ESC*Z ESC+Z Spain ESC (7 ESC)7 ESC*7 ESC+7 Sweden Sweden ESC (H ESC)H ESC*H ESC+H ESC (< ESC) < ESC* < ESC + < Multinational ESC(0 ESC)0 ESC*0 ESC+0 VT100 Special Graphics If enhanced density is in effect or is selected while one of the above modes is in effect, the printer retains the enhanced density attribute in memory, but ignores it and prints in normal density. Subsequent selection of a mode that supports enhanced density printing causes the retained attribute to become active. 5.2.7 Selection of Bold and Underlined Printing The following sequences select bold or underline as specified by the parameters (Pn). All following printable characters are rendered according to these parameters until the next selection. Parameters are evaluated from left to right. ESCAPE AND CONTROL SEQUENCES 39 Select Graphic Rendition (SGR) ESC[ Pn ; 033133 *** 073 ... Pn m ... *** 155 Ph=0 060 When Pn equals 0, the above sequence turns off bold printing and turns off underline printing. Pn=1 061 When Pn equals 1, the above sequence turns on bold printing. Ph= 4 064 When Pn equals 4, the above sequence turns on underlined printing. Ph=2 2 062 062 When Pn equals 22, the above sequence turns off bold printing. Ph=2 4 062 064 When Pn equals 24, the above sequence turns off underlined printing. NOTE: Any other parameter values received in the sequence are ignored, but do not invalidate the sequence. That is, the parameter values of 0, 1, 4, 22, and 24 may be specified along with other values not applicable to the printer. 40 ESCAPE AND CONTROL SEQUENCES Enhanced density and bold printing cannot be performed at the same time. If both are specified, enhanced density takes precedence. Exceptions to this are as follows. 1. 16.5 characters/inch - Neither enhanced density or bold can be printed. 2. 8.25 characters/inch - Bold printing prints and enhanced density does not. 3. VT100 - Bold printing prints and enhanced density does not. 4. Katakana - Bold printing prints and enhanced density does not. A———————— 5. Graphics - Neither enhanced density nor bold printing prints. If the bold attribute is in effect or is selected while the printer is in one of the above modes, the printer retains the bold density attribute in memory, but ignores it and prints with bold printing off. Subsequent selection of a mode that supports the bold printing causes the retained attribute to become active. 5.2.8 Product Identification The printer automatically sends an answer to a request for device attributes sequence. The following sequences cause the printer to send its product identification sequence. Device Attribute (DA) ESC [ ¢ or ESC 033 133 143 0 ¢ 033 133 060 143 The printer sends ESC[ ? 1 7 ¢ 033 133 077 061067 143 which forms the product identification of the printer. ESCAPE AND CONTROL SEQUENCES 5.2.9 41 Printer Status Request The printer automatically sends an answer to a device status request sequence. The answer sent is in the form of a Device Status Report (see Paragraph 5.2.10). The following sequences control printer status reports and enable or disable unsolicited reports. Device Status Request (DSR) 'ESC [ n 033 133 156 or ESC [ 0 033 n 133 060 156 Upon receiving either of the above sequences, the printer sends an extended status report. ESC [ ? 1 n 033 133 077 061 156 Receipt of the above sequence disables all unso!icited status reperts. ESC [ ? 2 n 033 133 077 062 156 Receipt of the above sequence enables unsolicited brief status reports and the printer sends an extended status report. ESC [ ? 3 n 033 133 077 063 156 Receipt of the above sequence enables unsolicited extended status reports and the printer sends an extended status report. 42 ESCAPE AND CONTROL SEQUENCES 5.2.10 Printer Status Report The printer is capable of sending brief and extended status reports. The reports may be solicited or unsolicited. Unsolicited reports, if enabled, are sent when any reportable status condition changes state. Unsolicited status reports are initially disabled. The following illustrates the specific formats and contents of the brief and extended printer status reports. Device Status Report (Brief Repbrt) (DSR) ESC [ 0 n 033 133 060 156 The above sequence indicates that no malfunction was detected. ESC [ 3 n 033 133 063 156 The above sequence indicates that a malfunction was detected. Device Status Report (Extended Report) (DSR) ESC [ O n 033 133 060 156 followed by ESC [ ? 2 0 n 033 133 077 062 060 156 The above sequence indicates that no malfunction was detected. ESCAPE AND CONTROL SEQUENCES ESC[ 3 43 n 033 133 063 156 followed by ESC[ ?2 Pn 033 133 077 *** ; .. Pn n 073 ... *TM* 156 The above sequence indicates that a malfunction was detected. Pn may be any valid combination of the following values. Pn 2 Failure 1 Hardware failure 062 061 2 2 Communication failure 062 062 (event) 2 Inputbuffer overflow 3 062 063 (event) 2 Printer deselected 4 062 064 2 6 Coveropen 062 066 2 7 Paperempty 062 067 The only reportable hardware failure is printhead position failure. Communication failure may be parity or framing error or receipt of an erroneous character. Failures designated as events are reset upon sending an extended report, and are reportable only when they occur - not when they are reset. 44 ESCAPE AND CONTROL SEQUENCES 5.2.11 Escape Sequences with 8-bit Equivalents In 7-bit mode, there are 34 possible control characters as shown in columns 0 ~and 1, the SP in column 2 and the DEL in column 7 (refer to Figure 4-1). Not all of these control charabters are used by the LAS50. The control characters used are shown in Appendix A. Two character escape sequences from ESC @ (033 100) to ESC — (033 137) can be replaced by an equivalent control character from 200g to 237g in 8-bit mode. These 8-bit control characters are mapped on a 1-to-1 basis with the two-character escape sequences. For example, the ESC K (033 113g) sequence for partial line down can be invoked in 8-bit mode by a control character of 213g. The control character causes the data to be compressed, since only one character, rather than two, is required. Another example is the ESC L (033 114) sequence for partial line up which can be replaced by a control character of 214g in 8-bit mode. 5.2.12 Entering and Exiting Graphic and Text Mode Graphic mode provides a means for selectively printing individual dot patterns, rather than predefined characters from the character set table. The ESC P q (033 120 161) escape sequence is used for entering graphic mode. If an ESC P is sent, the LA50 looks for a lowercase q. If it receives a digit (60 to 71g) it ignores the digit and looks for the lowercase q. When it receives the lowercase q, it enters graphic mode. The following escape sequences cause the printer to enter a null state. ESC __ 033 137 ESC ] 033135 ESC 033136 ESCAPE AND CONTROL SEQUENCES 45 The above escape sequences are for compatibility with future software which may assign significance to these sequences. In the null state, the printer ignores everything until a substitue (SUB), cancel (CAN), or escape (ESC) control character is received, or until an ESC \ (033 134) escape sequence in 7-bit mode or a 220 (octal) control character in 8-bit mode is recgived. With the exception of the SUB character, any of these conditions will.cause an exit from graphics mode to text mode or from the null state to text mode. If the printer receives a SUB character in graphic mode, it causes one column of no dots (graphic space) to be printed and the printer does not enter text mode. \ escape The preferred exit from graphic mode to text mode is via the ESC sequence, or the 220 control character. 5.3 GRAPHIC MODE In graphic mode, the graphic patterns are specified by sending characters in the range of 077 to 176 octal to the printer. Each of these 64 possible characters specifies a unique pattern formed by the upper six dots of the printhead. The bottom three dots are not used. The pattern printed is determined by subtracting an offset of 077 octal from the octal value of the character. The result is an octal number with a binary equivalent. Where there isa 1 in the binary number, a dot is printed. The result is read from top to bottom with the least significant bit being at the top. “@” (100 octal) is sent to the printer, only the top For example, if the character dot will be printed. 100 octal -77 octal (offset) 01 octal or & Least significant digit O 000 001 binary o) O O O If an attempt is made to print past the rightmost position, the printer auto- matically executes a graphic new line. 46 5.3.1 ESCAPE AND CONTROL SEQUENCES Graphic Control Characters Graphic control characters are characters in the octal range of 040 - 076. Characters not assigned are ignored. The others are processed as follows. Octal ASCII Action Code Symbol Performed 041 ! Repeat introducer 044 $ ‘Graphic carriage return 055 — Graphic new line 5.3.2 Graphic Carriage Return The graphic carriage return character “‘$" (octal 044) causes the carriage to move back to the position where the first graphic character was printed after entering graphic mode. This feature allows you to overprint lines of graphic data starting at the same horizontal position. 5.3.3 Graphic New Line The graphic new line character *‘-"’ (octal 055) causes the carriage to move back as with graphic carriage return, and moves the paper forward (upward) 1/12 inch. This feature allows printing consecutives lines of graphic data starting at the same horizontal position. 5.3.4 Repeat Sequence The following is a repeat sequence. <repeat introducer> <numeric parameter> <printable character> The repeat introducer is the graphic control character ‘!’ (octal 041). The numeric parameter specifies the number of times to print the character that follows. The numeric parameter is a string of characters in the octal range of 060 - 071 which is evaluated as a decimal number. If a numeric parameter is not received, or a parameter evaluates as 0, a value of one is assumed. If the parameter evaluates to a value larger than 65535, a value of 65535 is assumed. All decimal digits shall be processed as part of the count. ESCAPE AND CONTROL SEQUENCES 47 The printable character (a character in the octal range of 077 to 176) is printed as many times as specified by the numeric parameter-count. A repeat sequence has the same effect as receiving the printable character that number of times. All printable characters end the repeat sequence processing and start the printing. All other characters received during a repeat sequence are processed as usual except for the substitute control character, which is treated the same as a graphic space character. The following examples illustrate the repeat sequence. Repeat Sequence 0 1 ? 041 061 060 077 6 I @ Function Repeat ten graphic spaces. | Repeat six patterns of top dot only. 041 066 100 Graphic Substitute 5.3.5 The substitute character is interpreted as being in place of a character or characters received in error. In graphic mode, it is considered to be a graphic space. If a repeat sequence is being processed, the processing is cancelled and the number of graphic spaces required by the repeat count is printed. The printer remains in graphic mode. 5.3.6 State After Exiting Graphic Mode After an exit condition is met, the printer has the following state. Horizontal position is the same as just before entering graphic mode. Horizontal pitch is the same as just before entering graphic mode. Vertical position is modified according to the control characters received while in graphic mode. Vertical pitch is the same as just before entering graphic mode. CHARACTER SET CHARTS - 49 50 APPENDICES Table A-1 B7 B6 ASCII Character Set 0 0 85 0 0 BITS COLUMN B4 83 B2 B1|ROW 0 O 0 1 20 0 10 NUL 0 000 1] " 0 1 1 1 5 40 16 SP - 32 21 41 20 0 60 100 30 40 48 P 140 50 60 80 96 160 P 112 70 17 ‘ 33 1 ag 85 Q 121 81 141 97 q 161 2 22 T 42 2 62 102 R 122 142 r 162 2 2 18 50 66 82 98 0 01 1]3 3 3 13 010 0] 4 4 010 115 5 5 21 6 26 1 0] 1 2 1 001109 & 7 27 ’ 10 30 16 23 7 HT | 17 8 CAN :, 1 31 a 19 8 18 |8 ( 25 ) 32 * 1010110 LF 12 101 1|1 vT 11 8 18 1 10 0112 FF 14 12 34 C 28 ic ’ CR 15 35 - D 1D 11 11 0 1|13 1 0|14 111 1|15 10 A uB 13 29 36 14 £ ASCII CHARACTER| ESC 30 1E 17 37 15 31 F 1F 62 72 115 83 143 163 53 99 s 43 S 123 33 67 63 36 44 4 64 52 104 68 T 124 84 144 100 t 164 45 a7 5 65 53 105 u 125 85 145 101 u 165 46 6 66 106 126 146 v 166 w 167 23 24 25 38 2% 47 34 35 54 44 69 45 70 36 45 67 27 55 107 37 a7 50 70 110 39 40 7 71 8 56 38 48 41 9 71 57 m 38 49 52 42 : 72 58 112 3A aA 43 ! 59 44 54 < 55 - 28 51, 29 2A 27 SO | 6 Sl 26 1A 71 114 103 % 22 113 51 25 7 52 61 63 $ 15 47 51 3 20 14 32 41 35 3 | (xoFFy | 19 6 BS 22 4 24 31 34 43 6 7 B 21 # 5 o1 1 117 17 12 | pC3| 4 01101 8 1 000|8 (xg\;‘! 1 61 64 7 120 101 00 ID 1 0 2 0 0 00010 ] 1 28 2C a5 20 56 * 46 2E / 57 47 2F nl w X 55 86 56 127 64 65 102 87 130 150 57 88 58 75 66 147 103 67 0a] 68 74 117 118 76 119 77 170 X 120 Y 171 & 172 78 Y 131 89 151 nl £ 132 a0 182 5A 6A 38 75 48 [ 91 107 60 74 114 g2 154 ac \ 134 3C 76 75 115 ] 135 155 A 136 94 5E 110 6E — 137 157 177 5F &F 7F 73 = 61 > 76 116 77 117 3F 4f ? v 54 73 116 ki») 62 3E 63 77 ap 78 4E 79 59 58 5C 93 5D 95 ws|] 69 ws] 6C 6D 122 7A 78 ‘ 174 124 7C 175 109 156] 79 123 6B 108 121 125 = 11 DEL 7D 176 126 7€ 127 33 | OCTAL 27 18§ | DECIMAL HEX BMA TI48 THIS CHART ASSUMES CHARACTER SET IS LOADED INTO GL. IF CHARACTER SET IS LOADED INTO GR (8-BIT MODE ONLY), ADD 200 TO THE OCTAL VALUE, 128 TO THE DECIMAL PRINTING, VALUE AND 80 TO THE HEX VALUE, TO SELECT THE CHARACTER FOR APPENDICES Table A-2 B7 B6 VT100 Special Graphic Character Set 0 0 85 0 0 BITS COLUMN B4 B3 B2 B1|ROW 0 0 0 1 20 0 10 40 17 21 ' 2 22 " 2 12 22 23 # 43 s 44 1 001 0] 2 2 601 1|3 3 3 13 gt 0 0] 4 4 4 24 20 010115 5 25 1 g&} 1 11 18 | pC 3 | (xOFF) | 19 4 14 5 21 6 26 5 15 ot 1 117 & 27 ’ 7 17 23 1 1 1 1 42 2 21 34 35 23 35 24 37 25 48 @ 100 64 P 120 49 61 A 101 65 Q 121k 62 B 102 R 122 § 31 50 32 3 63 4 64 40 41 66 42 S 68 T 124 F E 105 » 125§ 45 55 , 106 v 126 55 G 107 70 51 52 34 S 65 6 66 53 ¢ D 104 67 43 44 69 35 38 2% 47 54 F 67 : 36 39 7 40 8 56 H 51 71 27 52 123 § 33 103 82 37 70 48 53 u 71 w 110 72 X 47 83 84 ¥ 54 85 § 86 56 | 127 § 87 57 11 9 31 41 9 57 1 73 Y 131 19 ) 11 9 25 101 0110 LF 12 10 |SUB | 32 26 * 52 72 58 J 112 74 Z 132f 1A 42 . A 1 o1 1 |n vT 13 1" ESC 27 33 + 53 . 73 K 13 [ 133 FF 14 12 34 1C \ 134 F c L 114 CR 15 13 ECN 29 45 SO 16 36 56 1 10 0112 1|13 11 014 111 1|15 Si ASCII CHARACTER Esc 8 18 u B 28 30 E 1€ 17 15 37 F 1F 31 ’ | DECIMAL 1B § HEX 38 39 3A 43 ! 59 44 < 74 60 55| - 75 54 2C ' / 38 3c 48 49 44 75 4B 76 130 88 58 E 89 | 59 k 90 | 54 g1k 58 92k sc ¥ M 135} 46> szN 136 F 57 77 20 = 61 76 3D 2E 47 93f 5D 94 § 3E ? 63 2F 5E § 137k o g5 3F HIGHLIGHTS DIFFERENCES 33 | OCTAL 27 29 28 1D 14 28 2A 18 D 1 81 HT 1]89 1 51 50 1 00 1 0 50 f ( BS 1 80§ CAN 24 8 30 41 60 30 8 1 0001} 10 33 46 22 7 0 % 7 16 32 20 45 ] 6 1 0 SP 0 00 111 011 01 8 0 0 6 NUL 0 . 1 2 0 0 00O}l O 1 1.0 561 FROM ASCI! BMA 724598 THIS CHART ASSUMES CHARACTER SET IS LOADED INTO GL. IF CHARACTER SET IS LOADED INTO GR (S-BlT MODE ONLY), ADD 200 TO THE OCTAL VALUE, 128 TO THE DECIMAL PRINTING, VALUE AND 80 TO THE HEX VALUE, TO SELECT THE CHARACTER FOR APPENDICES 52 Table A-3 87 86 Finnish Character Set 0 85 BITS B4 B3 B2 B1 |[ROW 0 00 010 ] 0 COLUMN 0 0 10 16 1 0 1 1" 22 2 00 1 1}3 3 010 0/ 4 g1t 0 115 o1 1 01! 8 4 20 24 s 5 5 25 % 6 26 14 21 5 15 6 6 7 1 0 0 01 8 22 & 27 ’ 16 7 23 7 17 . 30 CAN 24 HT g 31 25 ) LF 12 |SUB | 2 * A 1A 18 8 19 9 10 26 ( 34 c 1C ’ 1t 1 0 0112 FF 12 1ES " B 3 B 28 53 63 64 52 D 104 124 85 E 38 6 47 7 26 39 34 53 35 66 54 36 87 58 37 51 a1 29 | 52 42 70 8 56 9 71 - 38 57 39 72 58 3A F G H 1 J 68 44 105 52 84 54 45 55 106 126 146 v 166 147 103 w 167 eng=g | 177 70 a6 107 86 56 71 127 110 130 47 72 87 57 48 88 58 11 73 131 49 89 59 112 132 102 66 74 L 134 92 5C 57 ? a| 77 ©O 137 157 5F 6F AF 2F 3F {19 135 al 37 F 78 91 / 17 3t 118 58 136 2E 3D 75 90 60 75 65 117 BA < 2D 74 185 54 55 116 u K 3c 64 73 164 101 59 2C t 115 145 i 44 100 72 85 . 73- 144 114 125 a3 38 s 62 69 133 53 99 163 o8 N -1 I 1B} 83 g2 162 76 T § DECIMAL 43 33 70 r 62 36 27 67 143 42 142 | > 30 33 | OCTAL c 123 &6 122 46 16 I 51 103 50 63 160 112 71 102 56 SO ASCII CHARACTER| ESC 41 B * Tt 1 1 o l4 31 25 46 1 161 M - 10 e Ht 61 29 T S 24 a7 P a0 = 13 1€ 45 64 - 15 14 62 100 45 CR 35 4 28 110v |3 D 44 24 14 13 36 28 + vT 3 23 40 c 27 oot o1 35 27 8 @ 32 50 1 48 30 31 2 22 4 4 1 7 60 61 34 # 10 1t 61 010 42 {(XOFF) | 19 13 G 21 T 3 3 23 32 - 20 41 12 c 1 1 3 40 43 7 1 00 t]o9 18 2 BS 21 2 2 g 1 1 1 DC1 SP 1 1 2 20 NUL 0 0 i 1 0 } g 06 0 G 0 33 50 94 5E 95 | DEL | ) 7F HIGHLIGHTS DIFFERENEES FROM ASCII HEX Ma 74208 THIS CHART ASSUMES CHARACTER SET IS LOADED INTO GL. |IF CHARACTER SET IS LOADED INTO GR (8-BIT MODE ONLY), ADD 200 TO THE OCTAL VALUE, 128 TO THE DECIMAL VALUE AND 80 TO THE HEX VALUE, TO SELECT THE CHARACTER FOR PRINTING. APPENDICES Table A-4 87 86 French Character Set 0 0 85 BITS B4 B3 B2 B1|ROW 0 0 0 0 COLUMN 0 NUL 0 0 oo t1]1 1 16 10 BC ixgfi? 1 1 21 17 80 ! 41 101 a3 ] 3 33 §1 3 85 81 141 97 q 181 102 122 142 r 162 42 52 682 103 123 143 s 163 43 53 63 41 66 67 51 82 83 61 98 89 113 71 114 72 118 73 124 144 t 164 4 5 34 65 E 44 105 54 125 64 145 u 74 165 5 35 45 55 65 53 6 6 66 54 7 67 36 55 BS HT 11 31 g 19 , 30 sCANi&é 18 8 25 g 12 |SUB | 32 A 1A 26 10 |ESC | 3 11 27 FF 12 34 c ic CR 15 29 13 14 { 40 56 ) 51 71 15 * + ascii caracTer| ESC | P 27 18§ 39 72 52 58 42 3A 2A 73 53 59 43 28 38 74 54 G 107 127 147 w 167 M 31 / 62 2E 57 3E 77 2F 3F 63 47 103 ] 77 170 78 171 121 79 172 122 7A 4 173 123 78 174 124 7C 175 125 D 178 N o 76 119 120 K 75 48 66 J 61 * 56 1 55 0 46 H 45 30 76 75 188 118 - 2D £8 117 v 35 3c 2¢ 101 116 146 102 L DECIMAL HEX 28 85 100 126 86 80 ~ OCTAL 57 41 69 84 106 70 44 1F F 38 28 68 F ’ 1€ 37 E 17 70 ' 28 1D 36 D 16 37 50 18 8 14 Sl 70 121 104 1 00 0} 8 SO 112 D 52 7 vT C 180 P 64 6 LF B 96 4 7 111 1 }1s 50 32 10 1 11 01114 80 62 o 1.1 117 . 40 63 o010 11]68 0 1 {13 11 20 64 140 3 5 110 0112 32 120 50 010 0|4 1 01 111 SP 100 2 4 1 01 01|10 1 7 40 2 01t 1 01|86 1 0 1 0 2 3 ] 1 : 2 20 0 001 012 1 00 119 1 1 0 0 000} COC 0 0 1 1§ 53 157 : 126 ‘ ?E 177 111 DEL 127 &6F 7F HIGHLIGHTS DIFFERENCES FROM ASCI! 44 -TA26A THIS CHART ASSUMES CHARACTER SET IS LOADED INTO GL. IF CHARACTER SET IS LOADED INTO GR (8-BIT°MODE ONLY), ADD 200 TO THE OCTAL VALUE, 128 TO THE DECIMAL VALUE AND 80 TO THE HEX VALUE, TO SELECT THE CHARACTER FOR PRINTING. 54 APPENDICES Table A-5 French Canadian Character Set 87 0 B6 0 BS 0 0 0 BITS COLUMN B4 B3 B2 B1|ROW 0 0 00O0]|O 0 1 1 1 NUL 20 0 10 SP | 32 o 17 2 #1 ra 33 1 2 22 T 42 1 83%1} 1 11 18 -1 20 41 21 001 02 2 2 12 22 001 113 3 23 # 43 44 3 {(XOFF) | 19 4 24 3 13 wl 35 2 3 23 4 20 $ 36 4 g 1 0 1 5 5 25 21 % 45 a7 5 6 26 22 & 46 38 27 ’ a7 4 5 01 1 06 0 1 1 1 15 G 6 16 7 7 1 000)|8 14 7 23 10 30 7 BS 17 8 CAN | 3, 8 18 too1]e | HT 11 31 g 19 101 010 LF 12 32 o \ 26 39 50 40 10 Sus 2% A 1A 42 13 3l & 53 . 12 c 1C 1t 10 1|13 CR 15 29 1 1 1 0 114 SG 1t 11 1115 Si 13 2A a5 30 ¢ 37 / a7 1D 36 £ 1€ 17 15 31 F 1F W ascii cHaRacTER| ESC | 3 27 54 - D ’ 28 35 7 120 80 1140 50 9 60 P 12 Q 121 141 q 113 81 97 51 61 71 142 162 || B | e 42 52 62 72 63 103 123 143 163 32 51 c 34 35 54 36 67 2] S 43 64 | 67 37 70 56 104 T E 105 89 F 106 : G H 45 70 46 107 n 47 110 ¢ 53 68 44 83 P 124 d U 125 B5 v 126 w X 55 86 56 127 87 57 130 71 101 u 165 f 146 v 166 9 147 103 w 167 119 150 X 120 ¥ 171 Z 172 65 102 66 67 h | ] J 3B 74 61 46 > 57 ? 63 116 74 117 75 118 76 77 170 68 J = ws] 78 121 69 . K ws| BA 79 122 7A 153 173 68 78 k |o 123 154 174 60 L 1 6C 7C 75 M m 155 175 62 N n 110 77 o o 111 &6F 7F ac D 2F 64 58 59 73 164 145 152 73 118 e 151 72 S t . 39 |11 100 i - 2€ 144 1 55 20 99 T 63 84 54 |l 57 < 56 70 161 122 44 2C 160 41 3A 43 ' 16 14 29 52 28 65 1 P 38 : FF 101 1 102 55 * 1 0 31 7 8 1 1 62 66 9 34 A 6 28 18 61 49 53 41 ESC 27 30 65 51 B S 25 1 0 5 48 o ) 14 1 0 60 52 25 | n | VT t 10 0112 24 27 ( 0 33 01 o0 o0]a 5 1 1 3 40 16 ! 0 oo 1|1 1 2 0 0 0 0 * 76 3E aF 108 124 109 125 6D 70 156 176 6E 7E 157 177 126 127 = ~ 1 HIGHLIGHTS DIFFERENCES OCTAL FROM ASCHI § DECIMAL 18 ¥ HEX MA T4I4A4 THIS CHART ASSUMES CHARACTER SET IS LOADED INTO GL. IF CHARACTER SET IS LOADED INTO GR DECIMAL VALUE PRINTING. (8-B8IT MODE ONLY), ADD 200 TO THE OCTAL VALUE, 128 TO THE AND 80 TO THE HEX VALUE, TO SELECT THE CHARACTER FOR. APPENDICES Table A-6 B7 German Character Set 0 86 85 BITS B4 B3 B2 B1|ROW 0 00010 0 ) 0 COLUMN 0 NUL 0 0 10 DC" 1 (XON) 1 2 2 001 113 3 16 SP 21 17 1 * 41 22 1 12 23 # 11 C3 3 | (xoFF) | 19 3 13 4 24 0t 001} 4 4 20 010 115 5 5 25 011 016 6 o1 1 11} 7 1 0 0 0} 8 9 1 01 0110 1T o1 1 | A 62 B 22 32 42 52 62 72 43 3 63 c 103 67 123 83 143 53 99 163 63 104 124 144 164 34 35 23 7 27 ’ 7 23 18 30 HT 1 9 31 25 ) LF 12 |SUB | 32 26 * 3 + 18 9 19 10 A 13 11 ( 1A | ESC 27 B 8 14 c ic 30 51 33 64 52 34 a7 5 46 6 66 25 26 53 D E 54 F 67 G 36 47 7 80 140 50 60 96 112 65 121 51 97 181 41 81 141 102 122 142 162 66 35 38 120 F 31 65 43 68 44 106 69 40 70 8 56 41 9 71 57 52 42 : 72 53 . 28 51 29 24 38 39 58 3A 43 ! 28 59 3B 85 55 126 70 46 107 H 86 56 70 113 61 71 g8 114 115 73 100 116 64 74 145 165 101 117 65 7% 146 166 102 118 66 76 127 147 167 87 103 119 57 67 130 150 88 58 104 68 1 131 89 151 J 132 90 152 133 153 F 59 5A K 91 58 105 69 106 6A 107 88 1T 1 0 0112 FF 12 28 s 44 < 80 L 134 92 154 1 1 0 1|13 CR 13 15 35 - 55 = M 135 165 F 1D 45 75 D 29 1 1 1 0|14 SO 16 36 30 . 46 56 > 62 N I S' 17 37 57 1F 47 ? 77 F ! 63 0 T \ 15 asciicHaracTer| £ 1E 15 31 Y ESC | 22 27 1B} 2C 20 2E 2F 74 54 160 34 14 54 73 84 125 a5 37 50 82 106 55 27 CAN 24 8 4 24 39 17 10 48 50 44 & 8 vT 49 2 22 7 1t 00 1 1 21 26 6 BS 33 42 % 15 1 101 21 6 1 61 45 5 0 60 20 36 14 0 0 32 s 4 1 1 3 40 18 2 1 2 20 0 0 1 1 2 ol 0 1 0 1 000 11| 001 55 3C 61 3D 76 3€ aF 5C 93 50 136 108 E sC 6D 156 § 94 110 117 137 157 4F 5F &6F 5E 79 95 kb 109 6E 111 HIGHLIGHTS DIFFERENCES |94 FROM ASCI! ] DECIMAL HEX A T4234 THIS CHART ASSUMES CHARACTER SET IS LOADED INTO GL. IF CHARACTER SET IS LOADED INTO GR (8-BIT MODE ONLY), ADD 200 TO THE OCTAL VALUE, 128 TO THE DECIMAL PRINTING. VALUE AND 80 TO THE HEX VALUE, TO SELECT THE CHARACTER FOR 56 APPENDICES Table A-7 87 86 Italian Character Set 0 0 #5 0 0 BITS COLUMN 84 83 82 B1|ROW 0 0 0 1 20 16 ocooolo NUL 0 0 10 000 1|1 1 21 ) 001 02 2 2 001 1]3 3 20 1 41 A 101 B 102 51 C 103 52 D 61 2 3 3 63 01 001|a 4 4 010 11]5 5 5 : S 011 01l 8 6 8 6 7 7 2 3 a 4 5 & 7 7 7 BS 30 10 50 8 CAN |, 10019 | HT 1 | 31 g 25 18 ) LF 12 32 * t o1 olw] 8 A vT 110 0|12 . FF 14 11 0 1 CR 13 1t 1 1 014 SO , 18 |0 Sus 2 3| 1ot o1 | n 33 E 1 8 ( 40 1A 33 sC 27 18 34 12 51 41 9 42 . 53 . 43 28 54 || 32 33 64 34 52 - 29 24 + 31 8 28 65 53 E 66 54 F 67 G 35 36 55 37 70 56 H 38 71 57 38 72 58 3A 73 59 ' 38 74 c 1C 15 13 35 - 45 55 = 61 75 M 16 36 E 1€ 2D 14 30 17 37 F 1F 111 s Si 15 31 asciicuaracTer| gse | 2 * / 46 2€ 57 a7 2F > ? ap 76 62 N 3 77 63 o IF 82 52 62 67 S 123 143 68 T 53 124 63 144 42 43 104 44 105 69 u 106 70 v 107 w 45 46 160 1 70 181 1371 T 162 99 s 163 100 t 116 85 145 101 u 126 146 102 v 147 w 83 84 54 125 55 86 56 127 gl 64 65 66 103 67 150 w0a] 68 K L 56 R 142 || 7 q 122 153 60 10 Q J < D 41 162 44 3ac 65 1 ' 2C P 151 28 29 i 1 P 0o SPQ‘ 32 48 1 000/|8 17 1 3 . 40 62 1 1 1 1 o1 1 1] 3&? 1 1 2 0 1 0 1 ws] 89 we] BA X |11a 72 115 73 164 74 165 17 75 166 11876 167 119 77 170 120 78 Y 171 £ 172 121 78 |12 7A 107 173 154 174 &8 108 6C [ 155 108 6D 156 110 6E 123 78 124 7C 175 1256 70 176 126 7€ 157 177 &F 7F 111 DEL 127 E . 27 18§ 19T | DECIMAL HIGHLIGHTS DIFFERENCES FROM ASCI! HEX WA TZSIG THIS CHART ASSUMES CHARACTER SET IS LOADED INTO GL. IF CHARACTER SET IS LOADED INTO GR (8-BIT MODE ONLY), ADD 200 TO THE OCTAL VALUE, 128 TO THE DECIMAL VALUE AND 80 TO THE HEX VALUE, TO SELECT THE CHARACTER FOR PRINTING, ’ APPENDICES Table A-8 Japanese (JIS Roman) Character Set 87 0 86 0 a5 0 COLUMN B4 B3 B2 B1|ROW 0 0 0 4] BITS 0 0 0 0} 0 1 NUL 20 0 10 0 1 SP 17 21 z T 00102 2 22 2 12 1 2 " 18 0 o1 13 3 01004 4 20 g 1.0 1 5 5 25 8 26 | pc3| 3 3 s 13 24 4 5 14 21 5 011 018 15 6 $ % & 7 ’ 10 30 7 16 23 7 17 8 CAN 2 1 oo01le ] HT 1 31 o1 olw| 32 o 80 33 41 1 49 42 , 62 20 21 34 a3 35 23 a4 36 24 45 38 47 39 A 1A 2 101 1 | n vT 3 SC 27 33 + 43 1t 10 01|12 FF ; 12 14 34 c 28 1C ' 44 CR 15 13 a5 29 - 55 : 16 36 y 56 111 0|14 ta SO 14 30 17 37 F 1F 3 s | St ASCH CHARACTER 1D 1E s Esc al , 33 27 67 57 /e 2F 52 C 85 40 65 41 66 1 1 103 67 43 104 ; S 68 T &9 u 44 105 F G 37 106 70 46 107 71 H 38 71 I 39 110 |, 48 1 151 49 12 51 123 83 53 124 112 a 141 q 113 b 142 r 162 s 163 v w Y 61 98 62 ¢ 143 98 63 144 d g5 e 145 a5 f 146 127 X 54 126 56 a7 g 130 114 115 73 164 t 116 101 u 165 v 166 w 167 64 102 103 131 151 68 89 i ws)] . 69 118 76 67 150 74 117 75 66 147 h | 5] 59 7 100 88 58 70 181 72 65 57 X 97 84 125 160 P 60 55 47 | 81 140 96 50 82 45 70 53 26 42 36 42 46 122 54 72 20 B8 102 35 . 5| 121 E 52 2C Q 53 57 54 101 D 9 28 A 52 a1 29 80 34 119 77 % Y 170 120 78 171 121 79 58 J | 4] 2 132 ‘ ool 54 1 152 |1we] & |2 . ' 73 K 113 t 133 k 153 107 173 < 80 L 154 174 = 75 a| ~ 115 M | ] 1 135 93 > 76 N 16l A 136 _ 137 24 18 D 33 8 28 P 64 4 7 |0 SuB |13 51 27 50 LF B 63 3 26 % | E 32 66 32 1 50 6 25 12 19 2 46 ) ‘ 31 100 64 81 5 25 9 1 Y @ 30 a7 51 18 | 1 1 120 48 65 40 8 1 7 40 ( 1101 BS # 27 7 1 o 22 22 6 1t 000]|8 B {XOFF) | 19 4 , 18 1 ggg 0 1 2 0 0 00 1} g 1 1 1 57 3A 4A 59 38 74 3c 3D 62 3E 77 ? | el 3F 75 48 114 76 4D O 1 4c 78 4E 117 ] 4F 5D 94 5 || 5F 8A 172 7A 123 68 108 78 l 124 M | 109 } 175 1561 o 176 6C 155 6D n 110 7C 6E 125 70 126 7E 157 177 6F 7F © | n|DEL] HIGHLIGHTS DIFFERENCES OCTAL FROM ASCH | DECIMAL B f HEX WA FZETH THIS CHART ASSUMES CHARACTER SET LOADED INTO DECIMAL PRINTING, GR VALUE (8-BIT MODE AND 80 TO IS LOADED INTO GL. IF CHARACTER SET IS ONLY), ADD 200 TO THE OCTAL VALUE, 128 TO THE THE HEX VALUE, TO SELECT THE CHARACTER FOR APPENDICES 58 Katakana Character Set Table A-9 87 86 0 B5 0 0 0 0 COLUMN BITS 0 B4 B3 B2 B1|ROW | 1 0 21 1 o011 olo2 12 23 a4 5 14 25 5 6 15 2% 7 27 7 10 17 30 oo e | HT 1 2l 7 |CANI | 8 11 18 31 L x| | 19 9 v o1t n vT | ) c 18a0 v B 3 | ES - 1101 |3 CR 1 11 0|4 SO | v s | SE 1A 2 34 14 25 46 53 A | a328 & 54 |a|l 2c 1 13 D 16 )l 10 36 A |4 2D 56 1E 37 2€ 57 35 10 3 17 al s ¥ F 2 67 % 63 68 )'(' 84 (: 100 (: 53 j’ 69 j_ 85 (: 101 (: el © 7T 45 _ | 108 35 66 — 37 70 a7 110 57 130 || || A | 2| e S 39 a8 111 el 49 72 112 73 4A 113 "'j‘ sol38 74 le| 3c 75 w| T| s M 56 46 127 Tl 3A ALY 55 126 wr | 38 71 Sy ol 54 125 67 ss | X ' -~ 44 105 sr] 3D 76 3E 77 el 3F |2 N\ 7 ;h ac 77 116 4D 23 4E 117 | aF 72 163 115 73 164 116 74 165 17 75 166 | | T 76 66 147 167 |9 T |w ] € |0 ¢ | L | e59 ¢ [ws] € L | 5A@ ¢ Y 58 131 132 2] 115 71 162 © 'j s |3 || B2 | a8 D 114 65 146 70 ¢ 133 )| * 64 145 |2 * t\ 34 65 7 2F * I'_ 52 55 el 53 62 143 124 F7 a2 2A € € T 52 123 61 142 104 (ol 52 9] s3] 51 64 7 29 114 (-‘ ){ 51 122 s 60 144 la| 28 51 (: 82 66 43 98 € y 33 © || 50 42 32 63 | _ | 103 || 161 141 In 41 102 7 1 160 C 121 1 € X | a050 ss| % 6 1 0 140 3: 31 62 1 5 | 61 1 1 < | 120 100 101 #. 27 50 0 & |ea|40 |30 a7 1 0 |aw| 30 7:) |l36 |38 0 4 60 26 c 15 _y Y ® sl 58 134 5C 3 gal 136 5D sa| 5E 137 | 5F 67 150 68 151 69 152 * s 6A 153 * € 77 170 78 171 | 791 172 |22 7A 173 € | o68 ¢ | =78 |08 € | 120 155 175 € 154 6C € | 109 60 156 174 7C o * 125 70 176 € | 1o ¢ | = 6E 167 7€ 177 € | m|DEL| 127F 6F SUPPLEMENTAL GRAPHIC SET KEY ASCIi CHARACTER| 9 2 |0A LF | FF p |suB | * 2 Vo1 ol Vool a7 7 16 6 24 a5 * 2| 6 23 36 § 21 5 Coools | BS '7 22 a3 44 20 4 01 1 1|7 35 _J 24 a 011 016 ’( 21 a2 e 3 | (xorm) | 1913 010115 [ ]3 18 3 01004 P 2 2 3 001 1|3 n| 41 1 1 3 — {ngg 7] 11 22 a0 1 SPlan|20 : 1 2 0 1 2 20 w|10 0 o00o0lo |NUL|,0 0o 00 1|1 0 1 ESC 1 ocrad 27 DECIMAL 18§ HEX ssisanenll NOTE: ALL PRINT CHARACTERS IN THIS CHARACTER SET DIFFER FROM THE ASCHi CHARACTER SET. MA T247K SET IS THIS CHART ASSUMES CHARACTER SET IS LOADED INTO GL. IF CHARACTERTO THE 128 VALUE, OCTAL THE TO 200 ADD ONLY), MODE (8-BIT GR INTO LOADED FOR R CHARACTE THE SELECT TO VALUE, HEX THE TO 80 DECIMAL VALUE AND PRINTING, APPENDICES 59 Table A-10 Multinational Character Set 87 86 0 0 B85 0 0 BITS COLUMN B4 B3 B2 B1|ROW 0 oooo|lo |4y 2 22 2 18 2 12 3 {mch 3 3 14 ¥ 6 6 26 6 22 16 < 27 23 " 31 18 HY | ¢ 25 12 32 FF 110012 CR r1o01}113) |SUB]| w0 A 13 | |ESC| 8 14 Y B 2 1A 3 27 1B 2] |12 C 1c 35 15 |3 D 36 24 45 a7 25 4+ |49 2 3 f M 61 A 32 63 |o& 33 64 28 @ vl 0 67 G 44 69 6| 46 107 nl 0 ,, CE 55 < 56 E - 110 72 [7,} 71 _ |m - 49 U 74 T 37 70 38 47 3 « 53 43 2A 72 3A » Y 73 112 nap sl 74 - nal P nsl R 116 . 1 4E 117 | 1 4F 38 60 3C 75 | € 46 < 62 76 3E 77 sl 3F I 1 I 1 48 8] 80 50 2 8l 51 122 g2l 52 123 83| 53 124 84 54 125 85 55 140 a 96 60 141 @& @ [ 142 , 98 62 143 9| a 63 144 100 g 64 145 a 101 |02 G 66 147 e w4l g 131 ) 151 - 69 u 06| G 58 89 67 59 e w| @ 150 68 105 152 58 @ 68 154 13l 1 “l 7 136 5E 137 | ) 5F % |14 72 163 |1s 73 164 116 74 165 117 75 166 |18 76 170 120 78 171 121 79 172 122 7A U 173 123 78 174 U 124 175 156 176 6C 93 5D 7 162 £ wel 92| 5C 135 |13 77 6A 153 wl 161 167 88 130 160 112 70 o8 | 19 03] U B S o 5A € § G 87 ] 91l o, o 65 146 e | a < vl 61 56 127 1 7 - |12 132 76 ! 6 120 P 4c 77 4ap 1 0 57 4A . 61 30 ¢ 48 73 59 V4 ¢ 88 O J. 3 58 2E 57 a7 2F 43 54 o 56 | 104 o a2 55 6 42 w3 45 a ) 66 102 A 53 E 2C N 35 39 < N a| 105 57 54 |e]| . 1 28 o1 < 'y 34 28 52 64 40 . 51 41 A ! 1 5 | 100 52 36 50 0 0 65 26 39 A 50 62 66 47 A A 46 i8] . 31 | 2D 109}y 80 1moj ¢ 6E 157 | "|DEL| 6F 7C 125 7D 126 7E 177 ¥ 7F SUPPLEMENTAL GRAPHIC SET KEY ASCII CHARACTER| ESC 34 22 48 30 < 1E 37 nl| 1F E 17 T F 42 1 0 4 60 29 10 36 16 B © 1 1 ° 27 X | 19 34 01 ] SO | 14 NIRRT § 17 30 |CAN | 2 VT 1ot 1}l < 15 g 21 23 21 8 41 43 5 BS [ s LF ¢ 5 7 tro10lw] 3] 44 20 10 t]09 i P | 32 20 £ | 3] 25 7 1 000]|8 40 19 5 7 01117 1 3 T 24 4 4 1|5 23 b3 4 011 0]6 111 21 DCT p | (XON) 0 1 0 0} 4. o0 61 10 | 0 0 2 20 1 001 1]3 1 1 INUL ]| © 0 001 0}2 1t 0 1 0 000 1|1 010 0 ] ocTaL 3 27 | DECIMAL 1B ¥ HEX NOTE: ALL PRINT CHARACTERS IN THIS CHARACTER SET. SET DIFFER FROM THE ASCII CHARACTER WA 10,087 THIS CHART ASSUMES CHARACTER SET IS LOADED INTO GL. IF CHARACTER SET IS LOADED INTO GR (8-BIT-MODE ONLY), ADD 200 TO THE OCTAL VALUE, 128 TO THE DECIMAL VALUE AND 80 TO THE HEX VALUE, TO SELECT THE CHARACTER FOR PRINTING. APPENDICES 60 Norwegian/Danish Character Set Table A-11 87 86 0 0 85 0 D BITS COLUMN B4 B3 B2 B1|ROW 0 0 10 g o o0 1 1 " g@cm 19 4 24 13 23 44 az S 5 15 2% 24 45 25 46 82 63 99 144 164 54 125 100 t 64 145 u 74 165 55 101 65 146 166 56 10266 v 127 147 W 6o U 85 a7 103 47 57 67 77, 30 50 110 130 150 170 131 68 151 CAN | :, 8 1 01 0|10 | 18 LF | 5A 40 ) 32 * 33 11 ESC 27 + 34 14 12 51 a1 9 52 . 29 4224 . 53 ’ 43 28 18 B8 71 8 28 25 us 1A2% 13 ( 46 54 nl 48 111 X Y 86 gi 104] X ws] Y 69 173 38 74 154 7B 108 124 6C 175 125 5 29 - 55 45 - 75 61 155 109 SO | 6 36 56 > 76 156 E 1E 20 14 30 37 17 15 31 F 1F r— ascii cHARACTER] ESC | *° 27 18§ OCTAL § DECIMAL HEX * 46 / 57 2E 47 2F 3c 3D 110 77 187 3F 6F 63 123 174 7D 6D 62 3E ? 79 68 107 CR | ® 13 1D 121 172 153 80 D 171 59 < 2C fg wel & | 12 A 44 ic 167 118 73 ’ C 11876 152 28 Sl 75 27 8 v w 117 17 39 70 126 116 7 2% 107 84 73 Fi 10 ? 53 T 106 115 83 68 45 72 s 124 a4 106 114 62 143 & 23 6 104 S 98 123 27 7 38 43 52 142 22 16 47 67 71 122 86 70 7 12 111 o1 s 35 % 19 )14 # 21 g o 163 41 a2 4 too1le | HT 1 a4 36 18 9 1 21 $ 14 25 11 1 | @ 20 4 5 6 T 10 1|13 162 3 3 6 FF r 103 6 1 10 0112 161 113 a3 5 vT q 22 g 1 0 1 ot Q 23 4 1o 85 12 11 18 3 BS 112 2 010014 100018 P 102 061 113 ; P 2 1 160 64 40 1 2 7 o 20 33 3 | 32 7 100 42 17 & .= ® 21 1 3 40 21 (x&? 1 611 0168 o] 1 1 2 |ID 1 5 SP 0 101 o2 I 16 1 1 2 20 NUL 0 I 0 1 0 0 00 01}0 0 01 ol 0 0 6E 11 DEL 176 , 2?2 177 127 7F HIGHLIGHTS DIFFERENCES FROM ASCII Ma. 74214 THIS CHART ASSUMES CHARACTER SET IS LOADED INTO GL. IF CHARACTER SET IS LOADED INTO GR (8-BIT MODE ONLY), ADD 200 TO THE OCTAL VALUE, 128 TO THE DECIMAL VALUE PRINTING, AND 80 TO THE HEX VALUE, TO SELECT THE CHARACTER FOR APPENDICES Table A-12 87 Spanish Character Set 0 86 0 B85 0 o BITS COLUMN B4 B3 B2 B1|ROW 0 g o0 0 1 0 0 1 1 1 ) 1 0 1 NUL 0 P 0 3 1 Q 1 2 120 140 50 60 121 80 P 12 97 q 161 81 141 122 142 52 62 51 2 B R o001 113 c S 123 83 143 01 0 0.4~ 4 20 36 4 68 T 124 010 1]658 5 5 25 21 45 37 u 6 26 46 16 26 7 27 23 47 38 10 30 50 3 3 4 24 4 14 5 011 06 25 22 6 7 7 38 17 8 CAN 24 18 28 HT g 31 51 9 19 29 LF 12 [SUB | 32 1t o1 o1l vT 13 1 10 0112 FF 110 1|13 CR 1 11 01|14 1 01 0110 111 1|18 8 10 A 1 1C 54 36 87 55 a7 70 41 9 71 57 52 72 38 39 58 3A a3 28 54 i 73 59 38 74 F a4 89 45 70 v 71 182 r 99 s 163 84 144 100 t 164 125 85 145 101 u 165 126 146 v 166 w 167 53 54 55 86 56 62 64 65 102 72 115 73 116 74 117 75 66 147 114 118 76 87 163 130 150 170 57 H 113 a8 127 G 70 88 67 119 77 58 1 131 J 132 K 133 89 59 %0 54 91 58 134 28 44 < 60 L 35 55 - = 61 75 M > 62 78 N 136 ? 77 o 137 157 177 &F &F 7F 2C 45 SO 16 14 36 E 30 1€ 46 Sl 17 37 57 F 1F 2D 56 2E 31 47 2F 4 ac 3D 3E 63 3F 92 5C 135 93 50 94 5E 95 111 DEL 127 HIGHLIGHTS DIFFERENCES 33 | OCTAL 27 106 2A 1D B ~ 35 56 29 ‘ 66 34 8 13 ASCIi CHARACTER| ESC 6 . 34 15 1085 53 C D E 42 14 1% 53 33 1B 12 65 26 sC 27 B S : 1A | ES 104 D 7 40 25 64 52 27 11 1 00 1169 BS 24 15 6 7 44 82 61 3 2 160 96 0 01 0§ 2 1 00 018 1 7 1 o 1 1 1 1 1 4] 0o 000}O 61 EROM ASCII § DECIMAL 1B | HEX Ma F2475 THIS CHART ASSUMES CHARACTER SET IS LOADED INTO GL. IF CHARACTER SET IS LOADED INTO GR (8-BIT MODE ONLY), ADD 200 TO THE OCTAL VALUE, 128 TO THE DECIMAL AND PRINTING, VALUE 80 TO THE HEX VALUE, TO SELECT THE CHARACTER FOR 62 APPENDICES Table A-13 87 B6 Swedish Character Set 0 0 B85 BITS 0 0 COLUMN 20 0 ! 10 2 D m%? 1 0 00 1} 1 1 2 16 SP 17 ! 18 1 11 22 4 D % 5 65 E 105 u 125 © 145 101 u 165 22 & 46 6 66 54 F 106 f 146 v 166 27 ’ 47 7 67 G 107 9 147 w 167 17 11 0 1 CR 113 23 11t 1 o4 111 115 ' 30 18 31 25 19 12 32 A 1A 1 ESC 27 14 34 c 1c 10 SUB 28 33 8 ) * 14 30 Sl 17 37 1E E 31 15 1F F » 33 | OCTAL 27 | DECIMAL a7 25 38 26 40 8 a1 9 28 51 29 52 42 2A + - SO ASCI| CHARACTER| ESC ( 35 36 24 27 32 51 33 52 34 53 35 36 55 37 70 58 3A 75 48 / 57 2€ 47 2F 55 A w 127 86 56 65 102 59 3B 74 3C - 61 > 76 62 ? 77 3D 3E 63 3F J 103 67 150 ] K k L 1 M N 0 m 72 115 73 116 74 117 75 118 76 86 Y - * 85 126 ws| 56 56 70 46 4 i 60 45 45 64 1 < 84 69 54 57 44 2C a4 X 72 . 68 h | ] 73 28 43 H i+ : a2 | 38 71 ’ 53 43 20 ) D 23 50 ’ 16 35 30 28 29 13 164 a5 7 15 t 36 16 12 100 s o 1 11 7 FF 163 144 7 1 1 0 0|12 S d 15 8 : 114 84 21 13 r 124 6 vT R T 01 v 0168 1o o1 o1 66 71 162 104 26 LF 113 64 5 T 0 1 0 10 q 44 6 g Q # 14 | 65 41 102 70 161 S 01t o0 115 v oo1le | HT 112 67 20 [CAN P 103 25 8 11 P 40 101 62 160 64 c 5 | 7 5 100 1 63 4 BS 1 21 42 i 3 0100/ 4 10 33 1 0 43 13 7 0 20 a1 1 23 24 6 32 1 1 B :xssg 19 5 0 50 4 4 1 0 2 00 1 113 DC o 3 40 .1 1 1 34 3 3 | 22 22 3 0 0 12 oo 1 o} 2 1 000]|8 1 2 0 NUL 0 0 0000 0 1 1 0 84 B3 B2 B1|ROW ‘ 0 68 151 69 152 106 6A z 119 77 170 120 78 171 121 79 172 122 | 7A 153 ki 2 173 68 | 7 107 123 174 154 108 . 6C 124 7C 175 165 125 108 D 60 176 156 126 n 110 o 157 mee | 177 13 [ 6E } TE ci mDEL 127 7F HIGHLIGHTS DIFFERENCES FROM ASCHl 1B ] HEX WA T422A THIS CHART ASSUMES CHARACTER SET IS LOADED INTO GL, IF CHARACTER SET IS LOADED INTO GR (8-BIT MODE ONLY), ADD 200 TO THE OCTAL VALUE, 128 TO THE DECIMAL VALUE AND 80 TO THE HEX VALUE, TO SELECT THE CHARACTER FOR PRINTING, ’ APPENDICES Table A-14 87 United Kingdom Character Set 0 86 B5 g 0 B4 B3 B2 B1|ROW 0 NUL 0 1 1 20 0 10 0 " 1l 1 16 IpCct SP | = I ixon) | 17 . 32 20 41 33 0 60 100 120 30 40 80 140 50 60 1 49 101 85 121 141 41 81 51 2 62 102 50 66 2 9 3 001 13 3 3 3 01 0o0}a4al g 1 0 1 011 0|6 100 1]9 to10]w0] 10 1 1 BS FF 11 0 1 CR 1 0 111 1 |14 |8 asciicHaracTer| 5 5 25 5 15 6 2% 44 21 22 % & 46 27 7 23 25 47 31 96 112 97 q 161 122 142 r 162 82 o8 61 32 42 52 62 63 103 123 3| 51 67 83 a9 33 43 53 63 64 104 124 144 34 68 84 44 54 105 125 100 35 45 6 66 55 106 65 126 146 7 39 54 69 70 85 86 145 101 102 57 67 150 51 {SUB | » % 52 . 19 26 A 1A 13 |ESC | 11 } 8 14 ® 27 c 1c 5 13 35 - D 10 SO | 16 36 14 30 53 43 28 ’ 29 a2 2A + 18 34 12 29 54 72 88 77 170 waf X 120 151 Y 171 48 7 X 131 39 73 49 89 59 ws) 72 112 132 152 3A 4A 5A 6A 7A 73 59 113 133 153 173 38 48 58 74 114 134 58 74 75 58 90 91 60 3c 4ac 5C 55 - 75 76 92 68 69 w6 78 174 108 6C s = 61 30 4D 77 93 56 > 76 116 136 156 78 94 123 68 155 62 79 172 154 135 50 78 121 % | 12 107 115 46 76 57 < 2¢ 118 38 44 2D * . ' 117 75 86 130 12 166 119 56 9 v 167 8 41 u TM 40 ) 74 165 103 47 25 116 87 110 |, 73 71 37 28 115 55 56 70 18 164 127 27 31 t 46 50 1 163 107 17 ( 72 g 67 30 CAN 24 71 36 7 8 70 113 114 64 5 53 160 P 65 26 ’ 28 Si 38 61 64 10 |10 | 37 48 52 24 45 16 7 4 36 14 9 LF 110 0112 1 20 8 HT vT 1 4 6 |1 |13 24 6 011117 10008 4 4 5 ¥ 7 40 2 02 1 1 2 0 000 11 001 1 ) COLUMN 0 00 01}0 0 0 G BITS ~ 63 109 6D l 124 } 175 110 7C 125 7D 176 126 3 1E 2E 3E 4 5E 6E 7E 17 15 37 31 57 77 117 137 157 177 F 1F 3F 4F 5F 6F 7F EgC | P | OTAt 27 | DECIMAL / 47 2F ? 63 79 95 111 DEL 127 HIGHLIGHTS DIFFERENCES FROM ASCI| 8 F HEX A 72488 THIS CHART ASSUMES CHARACTER SET IS LOADED INTO GL. IF CHARACTER SET IS LOADED INTO GR (8-BIT MODE ONLY), ADD 200 TO THE OCTAL VALUE, 128 TO THE DECIMAL VALUE AND 80 TO THE HEX VALUE, TO SELECT THE CHARACTER FOR PRINTING. SUMMARY OF ESCAPE SEQUENCES AND SWITCHES Escape Sequence Summary Name/Mnemonic Escape Sequence/Description Set horizontal pitch ESC | Pn w DECSHORP 033 133 okl 167 Pn= 0 1 2 4 5 6 8 10 10 12 165 5 6 825CPI Set vertical pitch ESC [ Pn z DECVERP 033 133 *hx 172 Pn= 0 1 2 3 4 5 6 6 6 8 12 2 3 4LP Page length selection ESC [ Pn t DECSLPP 033 133 *hx 164 Pn=0 to 252 Pn (lines/page) = Paper length (inches/page) X Vertical pitch (lines/inch) Partial line down ESC K PLD 033 133 Move down 1/2 line (paper up 1/12 inch) Partial line up ESC L PLU 033 114 Move up 1/2 line (paper down 1/12 inch) Select density ESC [ Pn " z DECDEN 033 133 kel 042 172 Pn= 0, Pn= 2 1 Select normal density printing Select enhanced density printing Select graphic rendition ESC | Pn SGR 033 133 ookl 073 *Pn= 0- Reset Pn= 1 - Bold on Pn= 22 - Bold off Pn= 4 - Underline on Pn= 24 - Underline off Pn m okl 155 65 66 APPENDICES Escape Sequence Summary (Cont) Name/Mnemonic Device attribute DA Device status report DSR Escape Sequence/Description ESC c [ 143 133 033 Sends back identification code 1 ? [ ESC 061 033 133 077 ESC 033 . n 156 033 ESC 033 | 133 [ 133 [ 133 077 ? 077 061 2 061 ESC 033 [ 133 ? 077 3 063 ESC ? 1 7 067 n 156 n 156 C 143 Send extended status report Disable all unsolicited status reports Enable unsolicited brief reports and send extended status report n 156 Enable unsolicited extended report and send extended status report ESC 033 ESC { 133 | 0 060 3 n 156 n 033 133 063 156 (sent back by printer) ESC 033 { 133 0 060 n 156 DSR followed by Brief status report (sent back by printer) DSR Extended status reports | ? 133 [ 077 3 062 n 033 133 063 156 followed by ESC 033 Enter graphics mode 2 ESC 033 ESC | 133 ? 077 Pn *hx No malfunction detected 0 156 Malfunction detected 073 *k Pn Hardware failure Pn= 22 Communication failure (event) Pn =23 Input buffer overflow (event) Pn= 24 Printer deselected Pn=26 Cover open Pn=27 Paper empty ESC P q 033 120 161 Enter graphics mode Repeat introducer, n = 0 to 65535 Graphic carriage return - Graphic new line ESC \ 033 134 n 060 Pn=21 'n Exit graphics mode No malfunction detected Malfunction detected n 156 APPENDICES Character Set Selection SO CTRL/N (016) Select GO to be GL S CTRL/O (017) Select G1 to be GL SS2 ESC N (033 116) Select next character from G2 SS3 ESC O (033 117) Select next character from G3 LS2 ESC n (033 156) Select G2 to be GL LS3 ESC o (033 157) Select G3 to be GL LS1R ESC ~ (033 176) ESC | ESC | Select G1 to be GR LS2R (033 175) (033 174) Select G2 to be GR LS3R Select G3 to be GR Assign Character Sets ESC Gn Ch Assign set ch to Gn where Gn is “" = GO = G2 " = G1 “4" = G3 and ch is from the list below B - ASCI!| J - JIS Roman A - Britain I - JIS Katakana 5 - Finland* 6 - Norway/Denmark* C - Finland E - Norway/Denmark R - France Z - Spain 9 - French Canada* 7 - Sweden* Q - French Canada H - Sweden K- Germany < - Mulitinational Y - ltaly O - VT100 Special Graphics * Preferred O = OPEN; C= CLOSED 67 APPENDICES 68 Switch Bank 1 Switch Country 4 3 2 1 US (ASCII) Britain Finland France French Canada Germany italy Japan Norway/Denmark Spain Sweden O 0 O O 0] 0] O O C C C 0] @ O O O O C C O C @) C O O C C O O C C C cC .C O O 0O O C O C (0] C 0 Notes 1. For all countries except Japan: GO = Selected country, G1 = VT100, G2 = Multinational, and G3 = ASCII. 2. For Japan: GO = JIS Roman, G1 = Katakana, G2 = Katakana, and G3 = ASCII. Switch Bank 2 Switch Baud Rate 1 2 3 4800 2400 1200 600 300 200 110 O O O C C C C O C C 0 O C C O 0] C O C O C Switch Bank 2 Switch Data Format 4 5 6 7 Bits + odd parity 7 Bits + even parity 7 Bits + 8th bit mark O C @) C C O C C C 7 Bits + 8th bit space 8 Bits + odd parity 8 Bits + even parity 8 Bits + no parity C O C O 0 C C 0] c O O O APPENDICES 69 O = OPEN; C= CLOSED Switch Bank 1 Aspect Ratio (Switch 5) Protocol Switch | (Switch 6) 2:1 O XON/XOFF 2:5.1 0 C Ready/Busy C Signal Level (Switch 7) Right Margin (Switch 8) Busy = Hi: Ready = Lo O Truncated Busy = Lo: Ready = Hi O C Wrap C Power Up Conditions Printer selected - on-line Printer status report - disable unsolicited report Horizontal pitch - 10 characters/inch Vertical pitch - 6 lines/inch Page length - 11 inches Active position - top leftmost position Bold, underline, double width - off Printing density- normal 7-bit mode - GL = GO 8-bit mode - GL = GO; GR = G2 Character sets, aspect ratio, protocol, right margin, and data format are selected per switch Attributes settings. Vertical Pitch (Characters/Inch) 16.5 Enhanced 12 10 8.25 6 5 X Bold X X | X X Underline X X X X X X X X X X 132 96 80 66 48 40 Maximum characters/line
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies