- Home
- Domestic appliances
- Floor care
- Vacuum cleaners
- Digital Equipment
- LASO
- Reference manual
- 80 Pages
Digital Equipment LASO Reference Manual
advertisement
Assistant Bot
Need help? Our chatbot has already read the manual and is ready to assist you. Feel free to ask any questions about the device, but providing details will make the conversation more productive.
EK-OLASO-RM-002
LASO Printer
Programmer Reference Manual
EK-OLASO-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 Corporation, Maynard, Massachusetts 01754.
The information in this 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 to radio or television reception, the user is encouraged to try to correct the interference.
Printed in U.S.A
The following are trademarks of Digital Equipment Corporation, Maynard,
Massachusetts.
DEC
DECUS
DIGITAL
Digital Logo
PDP
UNIBUS
VAX
OS/8
DECnet
DECsystem-10
DECSYSTEM-20
DECwriter
DIBOL
EduSystem
OMNIBUS
IAS
MASS BUS
PDT
RSTS
RSX
VMS
VT
CONTENTS
CHAPTER1 FEATURES
1.1
1.1.1
1.1.2
1.1.3
1.2
2.1
2.1.1
2.1.1.1
2.1.1.2
2.1.1.3
2.1.1.4
2.1.1.5
2.1.1.6
2.1.1.7
2.2
2.2.1
2.2.2
2.2.3
2.3
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Text Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Graphic Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
LA50 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
CHAPTER 2 COMMUNICATIONS
Data Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Receive Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Send Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Terminal Ready .. . . . . . . . . . . . .. . .. . . . . . . . .. . . . . . . 6
Request to Send . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Ready/Busy .. . . .. .. .. . .. . .. . .. . .. .. .. .. . .. .. . . .. 6
Protective Ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Signal Ground................................... 6
Data Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Input Buffer........................................ 7
XON/XOFF Protocol . .. .. .. . .. . . .. .. . .. .. .. .. . .. . .. 7
Ready/Busy Protocol . . . . . .. .. . . .. . . . . . . . . . . . .. . . . . 8
Data Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 iii
iv CONTENTS
CHAPTER3 PRINTER CONFIGURATION
3.1
3.2
3.2.1
3.2.2
3.2:3
3.2.4
3.2.5
3.2.6
3.3
3.3.1
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
General .............................................. 11
Front Panel Indicators and Switches . . . . . . . . . . . . . . . . . 11
Ready Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2
FAULT Indicator ................................... 12
POWER Indicator .................................. 12
READY Switch . . . . . . . . .. . . . . . . . . . . . . . . .. . . . . . . . . . . . 12
LINE FEED Switch ................................. 12
FORM FEED Switch . . . . . .. . .. . .. . . . . . . . . . . . . . . . . . . 12
Configuration Switches. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
National Character Set Switches . . . . . . . . . . . . . . . . . . 14
Graphics Aspect Ratio Switch SW1-5 . . . . . . . . . . . . . . 14
XON/XOFF and Ready/Busy Protocol
Switches SW1 -6 and SW1 -7 . . . . . . .. . .. . . . . . . . . . . . . 1 4
Right Margin Switch SW1 -8 . . . .. . . . . . . . . . . . . . . . . . . 16
Baud Rate Select Switches
SW2-1, SW2-2, SW2-3 ................. : .. . .. . . . . . . 16
Data Format Switches
SW2-4, SW2-5, SW2-6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
CHAPTER4 TEXT MODE CHARACTER PROCESSING
4.1
4.1.1
4.1.2
4.1.3
4.2
4.3
Text Mode Character Processing . . . . . . . . . . . . . . . . . . . . . 19
Active Column and Active Line .................... 19
Horizontal Advance Increment ..................... 21
Vertical Advance Increment ........................ 21
Printable Characters ................................. 21
Control Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
CHA.PTER 5 ESCAPE AND CONTROL SEQUENCES
5.1
5.2
5.2.1
5.2.2
5.2.3
5.2.4
5.2.5
5.2.6
General .............................................. 27
Escape and Control Sequences ...................... 28
Partial Line Paper Motion ......................... 29
Horizontal Pitch Selection ......................... 29
Vertical Pitch Selection ........................ .- ... 32
Page Length Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Character Set Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Printing Density Selection ......................... 36
CONTENTS v
5-1
5-2
A-1
A-2
A-3
2-1
3-1
3-2
4-1
4-2
2-1
3-1
3-2
3-3
4-1
5-1
5-2
TABLES
5.2.7
5.2.8
5.2.9
5.2.10
5.2.11
5.2.12
5.3
5.3.1
5.3.2
5.3.3
5.3.4
5.3.5
5.3.6
Selection of Bold and Underlined Printing ......... 38
Product Identification .............................. 40
Printer Status Request ............................ 41
Printer Status .Report ... ,, .......................... 42
Escape Sequences with 8-bit Equivalents ......... 44
Entering and Exiting Graphic and Text Mode ....... 44
Graphic Mode . ·. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Graphic Control Characters ........................ 46
Graphic Carriage Return ........................... 46
Graphic New Line . : ............................... 46
Repeat Sequence ................................. 46
Graphic Substitute ................................. 47
State After Exiting Graphic Mode .................. 47
APPENDIX A
CHARACTER SET CHARTS
APPENDIX B ESCAPE SEQUENCE SUMMARY
FIGURES
Serial Character Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Front Panel Controls and Indicators .................. 11
LA50 Printer Configuration Switches . . . . . . . . . . . . . . . . . 13
Changing Switch Positions . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
ASCII Chart .......................................... 20
Changing Horizontal Pitch ........................... 30
Changing Vertical Pitch .............................. 33
Printer Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
Character Set Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Character Set Switch Positions . . . . . . . . . . . . . . . . . . . . . . 15
Text Mode ANSI Control Characters ................. 22
Text Mode ANSI Control Characters ................. 23
Active Character Set Selection . . . . . . . . . . . . . . . . . . . . . . . 37
Character Set Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
ASCII Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
VT100 Special Graphic Character Set ................ 51
Finnish Character Set ................................ 52
vi CONTENTS
A-4
A-5
A-6
A-7
A-8
A-9
A-10
A-11
A-12
A-13
A-14
French Character Set ................................ 53
French Canadian Character Set ...................... 54
German Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Italian Character Set ................................. 56
Japanese (JIS Roman) Character Set ................ 57
Katakana Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Multinational Character Set .......................... 59
Norwegian/Danish Character Set .................... 60
Spanish Character Set ............................... 61
Swedish Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
United Kingdom Character Set ....................... 63
FEATURES
1.1
GENERAL
The LASO 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.
LASO-RA - 120 V
LASO-RB - 220 V
LASO-RC - 240 V
LASO-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 direction 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 d~fine 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 LASO allows the programmer to print graphic images by sending data that controls the dot printing elements individually.
1.1.3 LASO Features
The following are the main features of the LASO.
• 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 LASO.
Print method
Print speed
Incremental with bidirectional lookahead
100 characters/second (7 x
9 matrix printing)
Character format
(including intercharacter space)
44 lines/minute (80 columns printed per line)
7 x
9 matrix at full speed
13 x
9 matrix at half speed
Horizontal pitch of 10,
12, 5, 6 characters/inch
Horizontal pitch of 8.25 characters/inch
Horizontal pitch of
16.5 characters/inch
Graphic mode
Characters
Character pitch
FEATURES 3
Bold, underline, or enhanced 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
Bold, underline (no enhanced density)
Underline (no bold, no enhanced density)
144 or 180 dots/inch horizontal
72 dots/inch vertical
2 to 1 or 2-1 /2 to 1 aspect ratio
94 ASCII
81 multinational
63 JIS Katakana
27 VT1 00 special graphics
1 error indicator
Compressed font - 1.6.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
4 FEATURES
Line spacing
Line feed speed
Form dimensions
Form thickness
Paper feed method
Form loading
Ribbon cassette
Power requirements
Power consumption
Weight
Dimensions
Data interface
Double width - S characters/inch,
40 characters/line
12, 8, 6, 4, 3, or 2 lines/inch
Partial line up and down, 1 /12 inch
6 lines/inch at 100 ms/line
Single sheets: 3 to 9 inches wide
Up to 0.011 inches, up to 3-part form
Friction feed and sprocket/pin feed
From rear-top
Operator installable
LASO-RA 120 (104 - 128) Vac
LASO-RB 220 (191 - 23S) Vac
LASO-RC 240 (208 - 2S6) Vac
LASO-RD 100 ( 90 - 110) Vac
47 to 63 Hz
Less than 180 W
8.S Kg (18.7 lb)
400 mm (W) x 29S mm (D) x 142 mm (H)
(16 in x 11.8 in x 5.6 in)
Serial RS232-C and RS423 EIA
Standard
COMMUNICATION
2.1 DATA INTERFACE
The LASO 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 Receive Data The printer receives serial encoded characters on this line.
Table 2-1 Printer Interface Signals
Function Direction
Receive data
Send data
Terminal ready
Request to send
Busy or ready
Protective ground
Signal gro'und
To printer
From printer
From printer
From printer
From printer
From printer
Common
Pin RS-232 Mnemonic
3
2
BB
BA
20
CD
4
11
CA
1
7 AB
5
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 1 00 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
~he position of the protocol switch.
COMMUNICATION 7
2.2.1 Input Buffer
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.
• The printer is ready.
• 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.
• A fault condition occurs.
• There are less than 128 empty positions for 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 LASO 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 9
SPACE+
"MARK"
IDLE
STATE OF
START BIT OF
NEW CHARACTER
\ 70R8
DATA BITS
-r
T
_. -
.,. .... .... , .
L~OB
I
01
"T
07
I
I
02
I
03
I
04
I
05
I
06
I
MSB
I
t -
.L -
.J. -
~
..L /
..l
T
m [ T O P
BIT
START
BIT
ONE BIT
TIME=
ONE/
BAUD RATE
WHEN
8-BIT
CHARACTERS
ARE USED
OPTIONAL RETURN TO IDLE
PARITY STATE OF LINE
BIT ath BIT=O
MA-7815A
Figure 2-1 Serial Character Format
PRINTER CONFIGURATION
3.1 GENERAL
\
This chapter describes the LASO 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
• Graphics aspect ratio
• XON/XOFF and ROY /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 LASO (Figure
3-1).
1 mamaoma
READY
D
FAUL
TD
POWERD
\.
Figure 3-1 Front Panel Controls and Indicators
J
MA-10,017
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
The green POWER light is on when power is applied to the printer.
3.2.4 READY Switch
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 DIGIT AL systems. 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 CO NFIGURATION 13
Figure 3-2
LASO Printer C .
"""·~"
14 PRINTER CONFIGURATION
3.3.1 National Character Set Switches
The national character set switches are des·ignated SW1-1 through SW1-4.
These switches are initially set to the United States position (all four switches open). The United States position is correct for many DIG IT AL systems around the world, since it makes the ASCII, VT100 special graphics, and the multinational character sets available. In an 8-bit environment, no change in switch settings is necessary.
For those systems that do not have multinational capability, the character set 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 by changing the number of horizontal dots per inch. The number of vertical dots is kept constant at 72 dots per inch.
Ratio
2to1*
2.5to1
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
DIGIT AL 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
Protocol
XON/XOFF
Ready/Busy
*
Initial setting
PRINTER CONFIGURATION 15
Table 3-1 Character Set Selection
Nation GO G1 G2
United States
Britain
Finland
France
ASCII
British
Finnish
French
French Canada French Canadian
Germany
Italy
Japan
German
Italian
JIS Roman
Norway /Denmark Norwegian/Danish
Spain Spanish
Sweden Swedish
VT100
VT100
VT100
VT100
VT100
VT100
Multinational
Multinational
Multinational
Multinational
Multinational
Multinational
VT100
Multinational
Katakana Katakana
VT100
VT100
VT100
Multinational
Multinational
Multinational
G3
ASCII
ASCII
..
----...
__
ASCII
ASCII
ASCII
ASCII
ASCII
ASCII
ASCII
ASCII
ASCII
Table
3-2 Character Set Switch Positions
Nation
Switch Positions
SW1-1 · SW1-2 SW1-3
SW1-4
United States
Britain
Finland
France
Fench Canada
Germany
Italy
Japan
Open Open Open Open Factory Setting
Closed
Open
Open Open
Open Closed Open Open
Closed Closed Open Open
Open Open
Closed Open
Closed
Open
Closed Open
Open
Closed
Closed Closed Open
Closed Closed Open
Norway /Denmark Open
Spain Closed
Open
Open
Open
Open
Closed
Closed
Sweden Open Closed Open Closed
16 PRINTER CONFIGURATION
SW1-7 Position
Open*
Closed
Signal Condition
Busy= high
Ready=low
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
Switch Position
Open
Closed
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.
Baud Rate
4800*
2400
1200
600
300
200
110
Switch Positions
SW2-1
SW2-2
Open
Open
Open
Open
Closed
Closed
Closed
Closed
Closed
Open
Open
Closed
Closed Closed
SW2-3
Open
Open
Closed
Open
Closed
Open
Closed
*
Initial setting
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.
Data Format
7 bits plus odd parity
7 bits plus even parity
7 bits plus 8th bit mark
7 bits plus 8th bit space
8 bits plus odd parity
8 bits plus even parity
8 bits, no parity*
Switch Position
SW2-4 SW2-5
Open
Closed
Open
Closed
Open
Closed
Open
Closed
Closed
Open
Open
Closed
Closed
Open
SW2-6
Closed
Closed
Closed
Closed
Open
Open
Open
*
Initial setting
TEXT MODE
CHARACTER PROCESSl.NG
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 position 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 PROCESS I NG
87
86
85
BITS
84 83 82 81 ROW
0 0 0 0
0
0 0 0 1 1
0 0 1 0 2
0 0 1 1
3
0 1 0 0 4
0 1 0 1 5
0 1 1 0
0
1 1 1
6
7
1 0 0 0 8
1 0 0 1
9
1 0 1 0 10
1 0 1 1 11
1 1 0 0
12
1 1 0 1 13
1 1 1 0 14
1 1 1 1 15
0
0
0
0
0
1
COLUMN
0
1
NUL
SOH
STX
ETX
EOT
ENO
ACK
BEL
10
8
8
11
9
9
12
10
A
2
2
2
3
3
3
4
4
4
5
5
5
1
1
1
0
0
0
7
7
7
6
6
6
OLE
20
16
10
DC1
21
(XONI
17
11
DC2
22
18
12
DC3
(XOFFI
DC4
NAK
SYN
ETB
BS
HT
LF
VT
FF
13
11
8
14
12 c
CAN
EM
30
24
18
31
25
19
SUB
32
26 lA
ESC
FS
33
27
18
34
28 lC
CR
SI
15
13
D
F
GS so
16
RS
36
14 30
E
1 E
17
15
us
35
29
10
37
31
1 F
23
19
13
24
20
14
25
21
15
26
22
16
27
23
17
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
3 4
5 6
7 2
SP
!
"
#
$
42
34
22
43
35
23
40
32
20
41
33
21
44
36
24
0
1
2
3
4
% 45
5
37
25
&
'
(
)
*
+
46
38
26
47
39
27
50
40
28
51
41
29
52
42
2A
53
43
28
6
7
8
9
:
;
60
48
30
61
49
31
62
50
32
67
55
37
70
56
38
65
53
35
66
54
36
63
51
33
64
52
34
71
57
39
72
58
3A
@
A
1
J
K
100
64
40
101
65
41
111
73
49
112
74
4A
113
75
48
p
120
80
50
Q
121
81
51
y
131
89
59
z
[
132
90
5A
133
91
58
'
a i j k
140
96
60
141
97
61
151
105
69
152
106
6A
153
107
68
p q y z
{
160
112
70
161
113
71
B
102
R
122
82
b
142
r
162
66 98 114
42 52
62 72
c
103
s
123
c
143
s
163
67 83
99
115
43 63 73
53
D
E
104
68
44
105
69
45
T
124
84
54
d u
125
e
85
55
144
100
64
145
101
65
t
164
116
74
u
165
117
75
F
G
H
106
70
46
107
71
47
110
72
48
v
126
f
146
v
166
86 102 118
56
66
76
w
127
g
147
w
167
87
103 119
57 67 77
x
130
h
150
88 104
58
68
x
170
120
78
171
121
79
172
122
7A
173
123
78
73
59
38
I
54
'
44
2C
< 74
60
L
114
76
4C
\
134
92
I
154
108
I
174
124
7C
3C 5C 6C
-
55
=
75
M
115
J
135 155
}
175
45 61
77 93
m
109
125
2D
56
>
30
76
N
40
116
A
50
136
n
60
156
-
176
7D
126
7E
46
2E
62
3E
78
4E
94
5E
110
6E
57
47
2F
?
77
63
3F
0
117
79
4F
137
-
95
5F
0
157
111
6F
DEL
177
127
7F
KEY
ASCII CHARACTER
ESC
33
27
18
OCTAL
DECIMAL
HEX
Figure 4-1 ASCII Chart
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 values 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 Increment
The vertical advance increment (VA) is the unit of distance between lines. The printer allows VAi 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 fractional components if the vertical pitch changes within a 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 a·re 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 PROCESS I NG
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 ANSI Control Characters
Printer Control Functions
Octal Code Mnemonic Function
010
011
012
013
014
015
BS
HT
LF
VT
FF
CR
Character Set Control Functions
Backspace
Horizontal tab
Line feed
Vertical tab
Form feed
Carriage return
Octal Code
016
017
Mnemonic
SO
SI
Function
Shift out
Shift in
Communication Control Functions
Octal Code Mnemonic Function
000
030
032
033
177
NUL
CAN
SUB
ESC
DEL
Null
Cancel
Substitute
Escape
Delete
The printer ignores all other ASCII control characters.
TEXT MODE CHARACTER PROCESSING 23
Table 4-2 Text Mode ANSI Control Characters
Name
Octal
Mnemonic Code Function
Backspace
Horizontal tabs
BS
HT
010
011
Backspace decreases active column by one unit of HAI.
If the active column is at the leftmost position, the backspace character is ignored.
A horizontal tab is a preselected point on 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.
24 TEXT MODE CHARACTER PROCESSING
Table 4-2 Text Mode ANSI Control Characters (Cont)
Name
Octal
Mnemonic Code Function
Line feed LF 012
Vertical tab
Form feed
Carriage return
Shift out
Shift in
VT
FF
CR so
SI
013
014
015
016
017
Line feed advances active line by one unit of VAi. If less than one unit of VAi remains unprinted on the page before execution of the Line Feed, then the line feed character sets the active line to the uppermost position on the next page.
Vertical tab functions the same as line feed.
Form f~ed advances the active line to the uppermost position on the next page.
Carriage return returns the active column to the leftmost position.
Shift out selects the G1 character set as the active character set. For additional information, refer to Chapter
5.
Shift in selects the GO character set as the active characer set. For additional information, refer to Chapter
5.
TEXT MODE CHARACTER PROCESSING 25
Table 4-2 Text Mode ANSI Control Characters (Cont)
Name
Octal
Mnemonic Code Function
Null
Delete
NUL
DEL
000
177
Cancel
Substitute
Escape
CAN
SUB
ESC
030
032
033
The null and delete 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 immediately ends any escape or control sequence.
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 s~bstitute character is printed as the error character (reverse question mark).
Escape introduces an escape sequence. Refer to Chapter 5.
ESCAPE AND CONTROL
SEQU.ENCES
5.1
GENERAL
The LASO uses escape sequences standardized by the American National
Standards Institute (ANSI) to control many of its features. For the LASO 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 LASO as well as with video terminals and printers. The system has the following important advantages.
1. It is 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 compatibility 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
28 ESCAPE AND CONTROL SEQUENCES
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 control the following LASO features.
• Partial line paper motion
• 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
• 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 LASO 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 S, 6, 8.2S, 10, 12, or 16.S, characters per inch.
The escape and control sequences are described in the following paragraphs. A summary of these sequences is provided in Appendix 8.
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 29
5.2.1 Partial Line Paper Motion
The following sequences cause partial line paper motion.
Partial Line Down (PLO)
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 PLO and PLU sequences do not modify active line. Unless an equal number of PLU and PLO sequences are sent to the printer, the page boundary reference will have changed. Thus, PLO 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 ).
30 ESCAPE AND CONTROL SEQUENCES
I·
1 2
A B C
1 INCH
3
4
5 6 7 8 9
I I
I
I
·I
10 CHARACTERS/INCH
I
I
I
I
I
I
I
I
I
I
I I I lo
EIF G HI
I IK
12 CHARACTERS/INCH
-11--FRACTIONAL COMPONENT f
NEW ACTIVE COLUMN
MA-10,085
Figure 5-1 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) )
Old pitch where Newcol = the new active column
Newpitch =the new pitch in characters/inch
Oldcol = the old active column
Oldpitch =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 31
10
12
16.5
5
6
8.25
Horizontal Pitch Maximum Column
80
96
132
40
48
66
Width
Single
Single
Single
Double
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
033133 060 167 or ESC [
1 w
033 133 061 167
Either of the above sequences sets horizontal pitch to 1 O characters/inch
(HAI
=
1/10 inch).
ESC [ 2 w
033133 062 167
This sequence sets horizontal pitch to 12 characters/inch (HAI = 1 /12 inch).
ESC [ 4 w
033133 064 167
This sequence sets horizontal pitch to 16.5 characters/inch (HAI = 1 /16.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
033133 065 167
The above sequence sets horizontal pitch to 5 characters/inch (HAI
=
1 /5 inch).
ESC [ 6 w
033133 066 167
The above sequence sets horizontal pitch to 6 characters/inch (HAI
=
1 /6 inch).
ESC [ 8 w
033133 070 167
The above sequence sets horizontal pitch to 8.25 characters/inch (HAI
=
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 33
5 LINES
PER INCH
6 LINES
PER INCH
I
A
- 1
B
- 2 c
- 1
- 2
- 3
T
5-----i-
D
- 5
...:.16
FRACTIONAL COMPONENT
MA-10,086
Figure 5-2 Changing Vertical Pitch
The following sequences set the vertical pitch.
Set Vertical Pitch (DECVERP)
ESC [
0 z
033 133 061 172 or ESC [ 1 z
033 133 061 172
Either of the above sequences sets vertical pitch to 6 lines/inch (VAi
=
1 /6 inch).
ESC [ 2 z
033133 062 172
The above sequence sets vertical pitch to 8 lines/inch (VAi
=
1 /8 inch).
ESC [ 3 z
033133 063 172
The above sequences sets vertical pitch to 12 lines/inch (VAi
=
1 /12 inch).
34 ESCAPE AND CONTROL SEQUENCES
ESC [ 4 z
033133 064 172
The above sequence sets vertical pitch to 2 lines/inch (VAi = 1 /2 inch).
ESC [ 5 z
033133 065 172
The above sequence sets vertical pitch to 3 lines/inch (VAi = 1 /3 inch).
ESC [ 6 z
033133 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)
The following chart gives the required parameter values for a small selection of page lengths as a function of vertical pitch.
Length in
Inches
11
14
Vertical Pitch Selected
2
3
22 33
28 42
4
44
56
6
66
84
8
12
88
132
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
033 133
***
164
The above sequence sets active line to top-of-form position and sets page length to Pn units of current VAi.
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 Qits 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 simultaneously.
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 or ESC [ 1
033 133 060 042 172 z
033133 061 042 172
Either of the above sequences selects normal density printing.
ESC [ 2 z
033 133 062 042 172
The above sequence selects enhanced density printing.
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 . 37
Table 5-1 Active Character Set Selection
Escape
Command Mnemonic Sequence
Shift in
SI CTRL/0
(017 octai)
Shift out so
CTRL/N
(016 octal)
Single shift 2
Single shift 3
SS2
SS3
ESC N
033116
ESC
0
033117
Locking LS2 shift 2
Locking LS3 shift 3
Locking LS1R shift 1 right
Locking LS2R shift 2 right
Locking
LS3R shift 3 right
ESC n
033156
ESC o
033157
ESC--
033 176
ESC J
033175
ESC
I
033174
GLSet
GO
G1
G2*
G3*
G2
G3
GR Set
G1
G2
G3
*
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 ttie setting of the eighth bit. After this single character, printing continues from the GL or GR set. The locking shift commands (LS2, LS3,
LS1 R, LS2R, or LS3R) remain in effect until another locking shift is received.
38 ESCAPE AND CONTROL SEQUENCES
Table 5-2 Character Set Selection
GO
ESC( B
ESC(A
ESC(S
ESC(C
ESC( R
ESC(9
ESC(Q
ESC(K
ESC(Y
ESC(J
ESC( I
ESC(6
ESC( E
ESC(Z
ESC(7
ESC(H
ESC(
<
ESC(O
G1
ESC)B
ESC)A
ESC)5
ESC)C
ESC) R
ESC)9
ESC)Q
ESC)K
ESC)Y
ESC)J
ESC) I
ESC)6
ESC) E
ESC)Z
ESC)7
ESC) H
ESC)<
ESC)O
G2
ESC*B
ESC*A
ESC*5
ESC*C
ESC*R
ESC*9
ESC*Q
ESC*K
ESC*Y
ESC*J
ESC*I
ESC*6
ESC*E
ESC*Z
ESC*7
ESC*H
ESC*<
ESC*O
G3 Character Set
ESC+B ASCII
ESC+A
Britain
ESC+5 Finland
ESC+C
Finland
ESC+R France
ESC+9 French Canada
ESC+Q
French Canada
ESC+K
Germany
ESC+Y Italy
ESC+J
ESC+I
JIS Roman
JIS Katakana
ESC+6 Norway /Denmark
ESC+E Norway /Denmark
ESC+Z
Spain
ESC+7 Sweden
ESC+H Sweden
ESC+<
Multinational
ESC+O 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
033 133
***
073
Pn
*** m
155
Pn= 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.
Pn= 4
064
When Pn equals 4, the above sequence turns on underlined printing.
Pn=2 2
062 062
When Pn equals 22, the above sequence turns off bold printing.
Pn=2 4
062 064
WhQn Pn
Qt"Jual~ 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.
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 [ c
033133143
The printer sends or ESC 0 c
033133 060 143
ESC [ ? 1 7 c
033 133 077 061 067 143 which forms the product identification of the printer.
ESCAPE AND CONTROL SEQUENCES 41
5.2.9 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 [
033 133 n or
156
ESC [
033 133
0 n
060 156
Upon receiving either of the above sequences, the printer sends an extended status report.
ESC [
033 133
? 1
077 061 n
156
Receipt of the above sequence disables all unsolicited status reports.
ESC [
033 133
? 2
077 062 n
156
Receipt of the above sequence enables unsolicited brief status reports and the printer sends an extended status report.
ESC [
033 133
?
3
077 063 n
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 Report) (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 [ 0 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 43
ESC [ 3 n
033 133 063 156 followed by
ESC [ ? Pn
033 133 077
***
073
Pn n
***
156
The above sequence indicates that a malfunction was detected. Pn may be any valid combination of the following values.
Pn
Failure
2
1
Hardware failure
062 061
2
2 Communication failure
062 062 (event)
2 3 Input buffer overflow
062 063 (event)
2 4 Printer deselected
062 064
2 6 Cover open
062 066
2 7 Paper empty
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 characters are used by the LASO. 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 200a to 237 a 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 113a) sequence for partial line down can be invoked in 8-bit mode by a control character of 213a. 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 214a 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 Pis sent, the LASO looks for a lowercase q. If it receives a digit (60 to
71 a) 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 ]
03313S
ESC
A
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 received. 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.
The preferred exit from graphic mode to text mode is via the ESC \ escape 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 is a 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.
For example, if the character"@" (100 octal) is sent to the printer, only the top dot will be printed.
100 octal
-77 octal (offset)
01 octal or
0
0
0
Least significant digit
~~
000 001 binary o
If an attempt is made to print past the rightmost position, the printer automatically executes a graphic new line.
46 ESCAPE AND CONTROL SEQUENCES
5.3.1 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
Code
041
044
055
ASCII
Symbol
$
Action
Performed
Repeat introducer
Graphic carriage return
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 4 7
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
1 0 ?
041 061 060 077
6
@
041 066 100
Function
Repeat ten graphic spaces.
Repeat six patterns of top dot only.
5.3.5 Graphic Substitute
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 ASCII Character Set
87
86
85
BITS
.--
84 83 82 81 ROW
0
0 0 0
0 0 0
1
0 0 1 0
0 0
1
1
0
1 0 0
0 1 0 1
0 1 1 0
0
1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
0
0
0
COLUMN
0
NUL
BS
HT
LF
5
6
6
6
10
8
8
11
9
9
7
7
7
2
2
2
3
3
3
0
0
0
1
1
1
4
4
4
5
5
12
10
A
VT
13
11
8
FF
14
12 c
CR
15
13
D
so
16
14
E
SI
17
15
F
0
0
1
0
1
0
0
1
1
1 2
20
16
10
DC1
21
(XON)
17
11
22
18
12
DC3
(XOFF)
23
19
13
24
20
14
25
21
15
SP
!
II
#
$
%
0
1
2
3
4
5
CAN
26
22
16
27
23
17
30
24
18
&
'
(
6
7
8
31
25
19
SUB
32
26 lA
)
*
ESC
33
+
27
18
34
28 lC
35
29
10
36
30 lE
37
31
1 F
I
51.
41
29
52
42
2A
53
43
28
57
47
2F
9
:
;
54
'
44
2C
<
-
55
45
=
20
56
46
>
2E
?
46
38
26
47
39
27
50
40
28
44
36
24
45
37
25
40
32
20
41
33
21
42
34
22
43
35
23
3
67
55
37
70
.56
38
71
57
39
72
58
3A
60
48
30
61
49
31
62
50
32
65
53
35
66
54
36
63
51
33
64
52
34
73
59
38
74
60
3C
75
61
30
76
62
3E
77
63
3F
1
0
0
1
0
1
1
1
0
1
1
1
4 6 7
5
@
A
I
J
K
100
64
40
101
65
41
111
73
49
112
74
4A
p
Q y z
[
120
80
50
121
81
51
131
89
59
132
90
5A
133
91
58
'
a
140
96
60
141
97
61
122
82
162
B
102
R
66
b
142
98
r
114
42 52 72
62
c
103
s
123
c
143
s
163
67 83
99
115
43 63 73
53
D
104
68
44
E
F
G
H
105
69
45
106
70
46
107
71
47
110
72
48
T
124
84
54
d
144
100
64
t
164
116
74
u
125
e
145
u
165
85
101
117
65
55 75
v
126
86
56
f
146
102
66
v
166
118
76
w
127
g
147
w
167
87 103
119
57 67 77
170
x
130
88
58
h
150
104
68
x
120
78
i j k
151
105
69
152
106
6A
153
107
68
p q y z
{
160
112
70
161
113
71
171
121
79
172
122
7A
173
123
78
L
M
N
0
116
78
4E
117
79
4F
113
75
48
114
76
4C
115
77
40
\
]
A
134
92
5C
135
93
50
136
94
5E
I
m n
154
108
6C
155
109
60
156
110
6E
I
}
-
174
124
7C
175
125
70
176
126
7E
177
-
137
95
0
157
111
DEL
127
5F 6F
7F
KEY
27
18
OCTAL
DECIMAL
HEX
THIS CHART ASSUMES CHARACTER SET IS LOADED INTO Gt.. 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 51
Table A-2 VT100 Special Graphic Character Set
B7
B6
B5
BITS
B4 B3 B2 B1 ROW
COLUMN
0
NUL
0 0
0 0
0 0 0
1
0 0 1 0
0 0
1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0 10
1 0 1 1 11
1 1 0 0
12
1 1 0 1 13
1 1 1 0
14
1 1 1 1 15
BS
HT
LF
12
10
A
VT
13
11
B
FF
14
12 c
CR
15
13
0
so
16
14
SI
10
8
8
11
9
17
15
20
16
10
DC1
21
(XON)
17
11
DC3
(XOFF)
CAN
26
22
16
27
23
17
24
20
14
25
21
15
30
24
18
22
18
12
23
19
13
31
25
19
SUB
32
26
1A
ESC
33
27
18
34
28
1C
35
29
10
36
30
1 E
37
31
1F
SP
2
II
#
$
%
&
*
+
I
54
44
2C
55
45
2D
56
46
2E
57
47
2F
52
42
2A
53
43
28
46
38
26
47
39
27
50
40
28
51
41
29
44
36
24
45
37
25
42
34
22
43
35
23
40
32
20
41
33
21
3
4
0
2
3
4
5
6
7
62
50
32
63
51
33
64
52
34
60
48
30
61
49
31
65
53
35
66
54
36
67
55
37
70
56
38
71
57
39
72
58
3A
8
9
H
I
J
73
59
38
K
< 74
60
3C
L
114
76
4C
=
75
61
M
115
77
4D
30
>
76
62
N
116
78
3E 4E
?
77
63
3F
0
117
79
4F
112
74
4A
113
75
48
110
72
48
111
73
49
@
A
B
102
66
42
c
103
67
43
D
104
68
44
100
64
40
101
65
41
E
F
G
105
69
45
106
70
46
107
71
47
KEV
ASCII CHARACTER
ESC
33
27
18
OCTAL
DECIMAL
HEX
rii!!!l!i!i!lii!ii!l
~~~~L~G:CiiS
DIFFERENCES
6
7
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.
52 APPENDICES
Table A-3 Finnish Character Set
87
86
85
BITS
.---
84 83 82 81 ROW
COLUMN
0
NUL
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0 10
1 0 1 1 11
1 1 0 0 12
1 1 0 1 13
1 1 1 0 14
1 1 1 1 15
BS
HT
LF
VT
FF
CR so
SI
12
10
A
13
11
8
14
12 c
15
13
D
16
14
E
17
15
10
8
8
11
9
DC1
IXONI
DC3
IXOFFJ
CAN
SUB
ESC
32
26
1A
33
27
18
34
28 lC
30
24
18
31
25
19
26
22
16
27
23
17
20
16
10
21
17
11
22
18
12
23
19
13
24
20
14
25
21
15
35
29
1D
36
30
1 E
37
31
1 F
2
SP
!.
"
#
$
%
&
*
+
I
52
42
2A
53
43
28
50
40
28
51
41
29
56
46
2E
57
47
2F
54
44
2C
55
45
2D
44
36
24
45
37
25
42
34
22
43
35
23
46
38
26
47
39
27
40
32
20
41
33
·21
3
0
2
3
4
5
6
7
8
9
<
=
>
?
70
56
38
71
57
39
72
58
3A
73
59
38
76
62
3E
77
63
3F
74
60
3C
75
61
3D
62
50
32
63
51
33
64
52
34
65
53
35
60
48
30
61
49
31
66
54
36
67
55
37
@
4
A
B c
D
E
F
G
H
I
J
106
70
46
107
71
47
110
72
48
111
73
49
112
74
4A
103
67
43
104
68
44
105
69
45
100
64
40
101
65
41
102
66
42
K
L
M
N
0
117
79
4F
p
5
Q
R s
T u v w x y z
125
85
55
126
86
56
127
87
57
122
82
52
123
83
53
124
84
54
120
80
50
121
81
51
130
88
58
131
89
59
132
90
5A
137
95
5F
a b c d e g h k
1 m n
0
6 7 p q s u
150
104
68
151
105
69
152
106
6A
146
102
66
147
103
67
153
107
68
154
108
6C
155
109
6D
v w x y z
156
110
6E
~;~
DEL
6F
142
98
62
143
99
63
144
100
64
145
101
65
140
96
60
141
97
61
160
112
70
161
113
71
162
114
72
163
115
73
164
116
74
165
117
75
166
118
76
167
119
77
170
120
78
174
124
7C
175
125
7D
176
126
7E
171
121
79
172
122
7A
173
123
78
177
127
7F
KEY
OCTAL 33
ASCII CHARACTER
ESC
27
------
DECIMAL
HEX
1:-:=::::::::::::il
~~~~L~~~~IS
DIFFERENCES
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 53
Table A-4 French Character Set
B7
86
B5
BITS
r---
B4 B3 B2 Bl ROW
0 0 0 0
COLUMN
0
NUL
0
0
0 0 0 1
0 0 1 0
0 0 1 1
DC1
(XON)
DC3
(XOFFl
20
16
10
21
17
11
22
18
12
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0 10
1 0 1 1 11
1 1 0 0 12
1 1 0 1 13
1 1 1 0 14
1 1 1 1 15
BS
HT
LF
VT
FF
CR so
SI
16
14
E
17
15
14
12 c
15
13
D
12
10
A
13
11
8
10
8
8
11
9
CAN
SUB
ESC
32
26
1A
33
27
1B
34
28 lC
30
24
18
31
25
19
26
22
16
27
23
17
24
20
14
25
21
15
35
29
1D
36
30
1 E
37
31
1 F
2
SP
II
40
32
20
41
33
21
42
34
22
$
%
&
*
+
I
50
40
28
51
41
29
46
38
26
47
39
27
44
36
24
45
37
25
54
44
2C
55
45
2D
56
46
2E
52
42
2A
53
43
28
57
47
2F
0
3
2
3
4
5
6
7
8
9
<
=
>
?
63
51
33
64
52
34
65
53
35
66
54
36
61
49
31
62
50
32
67
55
37
70
56
38
71
57
39
72
58
3A
73
59
38
74
60
3C
75
61
30
76
62
3E
77
63
3F
L
M
N
0
116
78
4E
117
79
4F
A
4
A
B c
D
E
F
G
H
I
J
106
70
46
107
71
47
110
72
48
111
73
49
112
74
4A
104
68
44
105
69
45
101
65
41
102
66
42
103
67
43
K p
5
Q
R s
T u v w x y z
130
88
58
131
89
59
123
83
53
124
84
54
120
80
50
121
81
51
122
82
52
125
85
55
126
86
56
127
87
57
132
90
5A
a b c d e g h
6
150
104
68
151
105
69
152
106
6A
146
102
66
147
103
67
142
98
62
143
99
63
140
96
60
141
97
61
144
100
64
145
101
65
k p
7 q s u v w x y z
160
112
70
161
113
71
162
114
72
163
115
73
164
116
74
165
117
75
166
118
76
167
119
77
170
120
78
171
121
79
172
122
7A
1 m
136
94
5E
137
95
5F
n
0
~~~
DEL
61'
177
127
7F
KEY
ASCII CHARACTER
ESC
33
27
18
OCTAL
DECIMAL
HEX
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~S
French Canadian Character Set
87
86
85
BITS
r---
84 83 82 81 ROW
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0 4
0 1 0 1 5
0 1 1 0 6
0 1 1 1
1 0 0 0
1 0 0 1 9
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1
0
10
11
12
13
14
15
COLUMN
0
NUL
BS
HT
LF
VT
FF
CR so
SI
12
10
A
13
11
8
14
12 c
15
13
D
16
14
E
17
15
F
10
8
8
11
9
9
DC1
IXONI
DC3
IXOFFI
20
16
10
21
17
11
22
18
12
23
19
13
24
20
14
25
21
15
CAN
SUB
ESC
30
24
18
31
25
19
26
22
16
27
23
17
32
26 lA
33
27
18
34
28 lC
35
29
10
36
30
1 E
37
31
1 F
2
SP
II
#
$
o/o
&
*
+
I
45
37
25
46
38
26
47
3!)
27
42
34
22
43
35
23
44
36
24
40
32
20
41
33
21
50
40
28
51
41
29
55
45
20
56
46
2E
57
47
2F
52
42
2A
53
43
28
54
44
2C
3
0
2
3
4
5
6
7
8
9
<
=
>
?
62
50
32
63
51
33
64
52
34
65
53
35
66
54
36
60
48
30
61
49
31
67
55
37
70
56
38
71
57
39
72
58
3A
73
59
38
74
60
3C
75
61
30
76
62
3E
77
63
3F
4
A
B c
D
E
F
G
H
I
J
K
L
M
N
0
106
70
46
107
71
47
110
72
48
102
66
42
103
67
43
100
64
40
101
65
41
104
68
44
105
69
45
111
73
49
112
74
4A
113
75
48
114
76
4C
115
77
40
116
78
4E
117
79
4F
p a
R s
T u v w x y z
5
133
91
58
134
92
5C
135
93
50
136
94
5E
137
95
5F
6
1
~g ~!: j!!flt!&!!i
1
:~
50 '{::;:,,,,.;::::::\: 60
121
81
51
a
141
97
61
125
85
55
126
86
56
127
87
57
130
88
58
122
82
52
123
83
53
124
84
54
131
89
59
132
90
SA
b c d e g h
146
102
66
147
103
67
150
104
68
151
105
69
152
106
6A
144
100
64
145
101
65
142
98
62
143
99
63
k
1 m n
0 p q s u v w x y z
7
153
107
68
154
108
6C
155
109
60
156
110
6E
~;~
DEL
6F
160
112
70
161
113
71
162
114
72
165
117
75
166
118
76
163
115
73
164
116
74
167
119
77
170
120
78
171
121
79
172
122
7A
173
123
78
174
124
7C
175
125
7D
176
126
7E
177
127
7F
KEY
ASCII CHARACTER
ESC
___
33
27
_.__
....
18
OCTAL
DECIMAL
HEX
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 55
Table A-6 German Character Set
67
86
65
BITS
, - -
84 B3 B2 61 ROW
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0
1 0 1
0 1 1 0
0
1 1 1
1 0 0 0
0
1
2
3
4
5
6
7
8
1 0 0 1 9
1 0 1 0
1 0 1 1
10
11
1 1 0 0
12
1 1 0 1 13
1 1 1 0 14
1 1 1 1
15
0
0
0
COLUMN
0
NUL
BS
HT
LF
6
6
6
7
7
7
10
8
8
11
9
9
2
2
2
3
3
3
4
4
4
5
5
5
1
1
1
0
0
0
12
10
A
VT
FF
CR
15
13
D
so
16
14
E
13
11
B
14
12 c
SI
17
15
F
0
0
1
CAN
31
25
19
SUB
32
26
1A
ESC
33
27
16
34
28
1C
26
22
16
27
23
17
30
24
18
1
20
16
10
DC1
21
IXONI
17
11
22
18
12
DC3
23
IXOFF)
19
13
24
20
14
25
21
15
35
29
10
36
30
1E
37
31
1F
0
1
0
I
+ 53
43
2B
54
'
44
2C
-
55
45
2D
56
46
2E
57
47
2F
&
I
(
)
*
2
SP
!
II
#
$
42
34
22
43
35
23
44
36
24
% 45
37
25
40
32
20
41
33
21
46
38
26
47
39
27
50
40
28
51
41
29
52
42
2A
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
3
0
1
2
3
4
5
6
7
8
9
:
;
<
=
>
?
65
53
35
66
54
36
63
51
33
64
52
34
71
57
39
72
58
3A
67
55
37
70
56
38
60
46
30
61
49
31
62
50
32
73
59
36
74
60
3C
75
61
30
76
62
3E
77
63
3F
4
A
B
102
66
42
c
103
67
43
D
E
104
68
44
105
69
45
100
64
40
101
65
4.1
F
G
106
70
46
107
71
47
H
I
J
K
L
M
N
0
110
72
48
113
75
46
114
76
4C
115
77
40
111
73
49
112
74
4A
116
78
4E
117
79
4F
5
6
7 p
120
BO
50
a
121
81
51
\
a
140
96
60
141
97
61
p q
160
112
70
161
113
71
142 162
R
122
82
b r
114
98
52
62 72
s
123
c
143
s
163
83 99 115
53 73 63
144
T
124
84
d
54
u
125
e
85
55
v
126
f
86
100
64
145
101
65
146
102
t u
164
116
74
165
117
75
v
166
118
56 66 76
w
127
g
147
w
167
87
103 119
77 57 67
x
130
h
150
88 104
58 68
x
170
120
78
y
131
89
59
i
151
105
69
z
132
j
152
90
106
6A
5A
133
91
56
k
153
107
66
A
134
92
5C
135
93
50
136
94
5E
1 m n
137
-
95
5F
0 y z
156
110
6E
157
111
6F
154
108
6C
155
109
60
DEL
176
126
7E
177
121
7F
174
124
7C
175
125
70
171
121
79
172
122
7A
173
123
76
KEV
ASCII CHARACTER
...._
ESC
__
I
33
27
......__
.....
16
OCTAL
DECIMAL
HEX
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.
56 APPENDICES
Table A-7 Italian Character Set
87
B6
B5
BITS
B4 B3 B2 Bl ROW
COLUMN
0
NUL
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0 12
1 1 0 1
10
11
13
1 1 1 0 14
1 1 1 1 15
BS
HT
LF
VT
FF
CR so
SI
11
9
9
12
10
A
13
11
B
14
12
10
8
15
13
D
16
14
E
17
15
F
20
16
10
DC1
21
(XONI 17
11
22
18
12
DC3
(XOFFJ
23
19
13
24
20
14
25
21
15
26
22
16
27
23
17
CAN
SUB
ESC
35
29
1D
36
30
1E
37
31
1 F
32
26 lA
33
27 lB
30
24
18
31
25
19
34
28 lC
SP
2
"
$
%
&
*
+
I
44
36
24
45
37
25
46
38
26
47
39
27
40
32
20
41
33
21
42
34
22
43
35
23
50
40
28
51
41
29
52
42
2A
53
43
2B
54
44
2C
55
45
20
56
46
2E
57
47
2F
3
0
2
3
4
5
6
7
8
9
<
=
>
?
65
53
35
66
54
36
67
55
37
70
56
38
71
57
39
72
58
3A
60
4B
30
61
49
31
62
50
32
63
51
33
64
52
34
73
59
3B
74
60
3C
75
61
30
76
62
3E
77
63
3F
4
A
B c
D
E
F
G
H
I
J
K
L
M
N
0
110
72
48
111
73
49
112
74
4A
113
75
48
114
76
4C
115
77
40
116
78
4E
117
79
4F
100
64
40
104
68
44
105
69
45
106
70
46
107
71
47
101
65
41
102
66
42
103
67
43
p
5
Q
R s
T u v w x y z
A
122
82
52
123
83
53
124
84
54,
120
BO
50
121
81
51
125
85
55
126
86
56
127
87
57
130
88
58
131
89
59
132
90
5A
133
91
5B
134
92
5C
135
93
50
136
94
5E
137
95
5F
6 a b c d e g h k
1 m n
0
150
104
68
151
105
69
152
106
6A
146
102
66
147
103
67
MO
96
60
141
97
61
142
98
62
143
99
63
144
100
64
145
101
65
153
107
6B
154
108
6C
155
109
60
156
110
6E
157
111
6F
p
7 q r s u v w x y z
160
112
70
161
113
71
162
114
72
163
115
73
164
116
74
165
117
75
166
118
76
167
119
77
170
120
78
171
121
79
172
122
7A
KEY
ASCII CHARACTER
Emsc
OCTAL
27 DECIMAL
18 HEX
THIS CHART ASSUMES CHARACTER SET IS LOADED l!'ITO 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 57
Table A-8 Japanese (JIS Roman) Character Set
87
86
85
BITS
84 83 82 81 ROW
0 0 0 0
0
0 0
1
0 0 1 0
0 0
1
1
0 1 0 0
0
1 0 1
0 1 1 0
0
1 1
1
1 0 0 0
1
0 0 1
1 0 1 0
1 0
1 1
1 1 0 0
1
1 0 1
1 1 1 0
1 1 1
1
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
0
0
0
COLUMN
0
NUL
BS
HT
LF
5
6
6
6
10
8
8
11
9
9
7
7
7
2
2
2
3
3
3
4
4
4
5
5
1
1
1
0
0
0
12
10
A
VT
13
11
8
FF
14
12 c
CR
15
13
D
so
16
14
E
SI
17
15
F
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
4
1
2
3
5 6 7
20
16
10
DC1
21
(XON)
17
11
22
18
12
SP
!
"
DC3
(XOFF)
23
19
#
13
CAN
24
20
14
25
21
15
26
22
16
27
23
17
30
24
18
31
25
19
SUB
32
26
1A
$
%
&
(
'
)
*
40
32
20
41
33
21
42
34
22
43
35
23
44
36
24
45
37
25
46
38
26
47
39
27
50
40
28
51
41
29
52
42
2A
0
1
2
3
4
5
6
7
8
60
48
30
61
49
31
62
50
32
63
51
33
64
52
34
65
53
35
66
54
36
67
55
37
70
56
38
9
71
57
39
:
72
58
3A
@
A
100
64
40
101
65
41
p
120
80
50
a
121
81
51
'
a
140
96
60
141
97
61
p q
160
112
70
161
113
71
102 122
142
162
B
66
42
R
82
52
b
98
62
r
114
n
c
103
s
123
c
143
s
163
67 83
99
115
43 63
53 73
D
E
104
68
44
105
69
45
T
124
d
84
144
100
t
164
116
54 64
74
u
125
e
145
u
165
85
101
117
65
55 75
F
G
H
I
J
106
70
46
107
71
47
110
72
48
111
73
49
112
74
4A
v
126
86
f
146
102
v
166
118
66
56 76
w
127
g
147
w
167
87 103
119
77 57 67
x
130
h
150
88 104
58
68
x
170
120
78
y
131
89
59
i
151
105
69
z
132
j
152
90
106
6A
5A
y z
171
121
79
172
122
7A
34
28
1C
35
29
1D
36
30
-
54
'
44
2C
55
45
2D
56
46
2E
153
ESC
33
+ 53
;
73
K
27 43 59
18
28
38
113 [ 133
k
<
74
60
3C
L
114
76
4C
[IIIt
134
92 itfo;:JJf:~;~
5C
1
154
108
6C
=
75
61
M
115
77
4D
J
135
93
SD
m
155
109
6D
3D
>
76
N
116
A
136
n
156
62 78
94 110
4E 5E 6E
3E 1 E
75
48
9i
58
107
68
{
I
}
-
176
173
123
78
174
124
7C
175
125
7D
126
7E
37
31
1 F
I
57
47
2F
?
77
63
3F
0
117
79
4F
137
-
95
5F
0
157
111
6F
DEL
177
127
7F
KEV
ASCII CHARACTER
..._
ESC
__ 33
27
...__
.....
18
OCTAL
DECIMAL
HEX
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.
58 APPENDICES
Table A-9 Katakana Character Set
87
86
85
BITS
,....---
84 83 82 81 ROW
0 0 0 0
0 0 0
1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1
0
1
2
3
4
5
6
7
8
9
10
11
12
1J
14
15
0
0
0
COLUMN
0
NUL
BS
HT
LF
6
6
6
5
5
5
4
4
4
3
3
3
10
8
8
11
9
9
7
7
7
0
0
0
1
1
1
2
2
2
12
10
A
VT
13
11
8
FF
14
12 c
CR
15 lJ
D
so
16
14
E
SI
17
15
F
0
0
1
CAN
J1
25
19
SUB
J2
26
1A
ESC
3J
27
18
J4
28 lC
26
22
16
27
2J
17
JO
24
18
1
20
16
10
DC1
21
(XON)
17
11
22
18
12
DC3
(XOFF)
23
19
13
24
20
14
25
21
15
35
29 lD
36
30
1 E
J7
Jl
1F
0
1
0
2
SP
0 r
42
34
22
43
J
35
23
I
44
36
24
45
•
37
25
46
7
38
26
47
1'
J9
27
50
p
40
28
51
?
41
29
40
32
20
41
33
21
I.
52
42
2A
5J
7t"
4J
28
~
54
44
2C
55
.1.
45
2D
56
3
46
2E
57
7
47
2F
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
-
LA
5
120
80
50
121
81
51
6
3
60
-
48
30
p
61
49
31
'J
"f-
4
100
64
40
101
65
41
62
50
102
--(
'Y
66
42
32
?
63
9'1
-
103
T
67
33
43
64 104
I
52
t'
68
34 44
J.
t
~
122
82
52
123
83
53
124
84
54
140
~
96
60
~
141
97
61
142
~
98
62
143
~
99
63
144
~
100
64
65
7t
53
35
)
105
69
45
1.
125
85
55
145
~
101
65
1J
66
54
36
-
106
-
70
46
3
126
86
56
146
~
102
66
67
107 127 147
4=-
55
~
71
7
87
~
103
J7
47
57
67
1
,..,
70
56
J8
71
57
J9
*
_)
110
72
48
111
7J
49
~
130
88
58
~
150
104
68
131 151
Jl,.,
89
~
105
59 69
112
72
:J
58
))
74
JA
4A
7J
-fj
59
J8
1J2 152
u
llO
~
106
5A
6A
11J
1JJ 153
t.
75
D
91
~
107
48 58 68
......
74
""'..,)
60
JC
114
-:;
76
4C
1J4
154
J
92
~
108
5C
6C
75 115 1J5 155
:A
61
"\
77
:.J
93
~
109
JD
4D 5D SD
t
')
76
62
3E
77
63
3F
if\
116
78
4E
117
-:::;
79
4F
136
'
. 94
5E
137
157
95
156
~
110
6E
r
111
6F 5F
7
160
~
112
70
161
~
113
71
162
~
114
72
163
~
115
73
164
~
116
74
~
165
117
75
166
~
118
76
~
167
119
77
170
~
120
78
~
171
121
79
172
~
122
7A
173
~
12J
78
174
~
124
7C
175
r
125
7D
176
r
126
7E
177
DEL
127
7F
KEY
ASCII CHARACTEREJJD$C OCTAL
27 DECIMAL
18 HEX
SUPPLEMENTAL GRAPHIC SET
NOTE: ALL PRINT CHARACTERS IN THIS CHARACTER
SET DIFFER FROM THE ASCII CHARACTER SET.
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
PRINTtNG.
APPENDICES 59
Table A-10 Multinational Character Set
0 0 0
1
0
0
0
0
0
1
0
1
0
0
1
87
86
B5
BITS
,..--
84 BJ B2 Bl ROW
0 0 0 0
0 0 1 0
0 0 1 1
0 1 0 0
0
1 0 1
0 1 1 0
0
1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1
0
1
2
J
4
5
6
7
8
9
10
11
12
13
14
15
1
COLUMN
0
1
2
3
0
NUL
0
0
2
2
2
3
3
3
4
4
4
5
5
5
6
6
6
7
7
7
1
1
1
DC1
(XON)
20
16
10
23
DC3
19
(XOFF)
21
17
11
22
18
12 lJ
24
20
14
25
21
15
26
22
16
27
23
17
40
SP
J2
20
i
¢
£
41
JJ
21
~
44
36
24
45
¥
37
25
~
46
38
26
47
§
39
27
42
34
22
4J
35
2J
0
±
2
3
~
µ
10 30 50
BS
8
CAN
24
):::(
40
~
8
18
28
11
HT
9
9
31
25
19
©
51
41
29
1
•
•
62
50
J2
63
51
33
60
4B
JO
61
49
Jl
64
52
34
65
53
J5
66
54
J6
67
55
37
70
56
38
71
57
39
72
58
3A
12 32
52
LF
10
SUB
26 ! 42
Q
A lA
2A
13
33
53
VT
11
ESC
27
(( 43
»
B
18
28
14
FF
12 c
15
CR
13
D
16
so
14
E
17
SI
15
F
J4
28 lC
35
29 lD
J6
30
1 E
37
Jl
1 F
~
~
~
~
54
44
2C
55
45
2D
56
46
2E
57
47
2F
114
1h
~
l
73
59
J8
74
60
JC
75
61
JD
76
62
JE
77
6J
JF
1
0
0
1
0
1
1
1
0
1
1
I
4
5 6
100
120
'A
64
~
80
40 50
121
101
A.
65
N
81
41
51
140
a
96
60
141
a
97
61
102
A
66
42
122 142
0
82
a
98
52
62
103 123
/
A.
67
0
83
4J
53
104
A
68
44
124
0
84
54
143
a
99
63
144
a
100
64
;,.
105
69
45
0
125
85
55
a
145
101
65
106
~
70
46
126 146
0
86
ae
102
56 66
107 127 147
c;
71
CE
87
Cf
103
47 57 67
110 130 150
e
72
0
88
e
104
48
58
68
~
7
"
0
114
72
160
112
70
161
1 lJ
71
162
16J
6
115
7J
164
0
116
74
165
0
117
75
111
E
73
49
112
e
74
4A
131 151
u
89
e
105
59
69
132 152
u
90
e
106
5A
6A
113 133
E
75
0
91
48
58
114
76
4C
115
f
77
4D
e
153
107
68
u
1J4
92
5C
'
I
154
108
6C
1J5 155
y
93
I
109
5D 6D
156
116 1J6
1
78
~
94 I 110
4E
5E 6E
117
y
79
4F
B
1J7
95
5F
157
·,·
111
6F
166
0
118
76
167
oe
119
77
Ill
170
120
78
171
u
121
79
/
u
172
122
7A
17J
u
123
78
174
ii
124
7C
175
y
125
7D
~
176
126
7E
177
DEL
127
7F
KEV
ASCII CHARACTER
ESC
J3
27
I 18
OCTAL
DECIMAL
HEX
SUPPLEMENTAL GRAPHIC SET
NOTE: ALL PRINT CHARACTERS IN THIS CHARACTER
SET DIFFER FROM THE ASCII CHARACTER SET.
MA-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,
60 APPENDICES
Table A-11 Norwegian/Danish Character Set
B7
86
B5
BITS
r - -
B4 B3 B2 Bl ROW
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1 11
1 1 0 0 12
1 1 0 1
1 1 1 0 14
1 1 1 1
10
13
15
COLUMN
0
NUL
BS
HT
LF
VT
FF
CR so
SI
10
13
11
B
14
12 c
15
13
D
16
14
E
17.
15
11
9
9
12
10
A
20
16
10
DC1
IXON)
DC3
IXOFF)
CAN
SUB
ESC
33
27
18
34
28 lC
35
29
10
36
30 lE
37
31 lF
30
24
18
31
25
19.
32
26 lA
26
22
16
27
23
17
23
19
13
24
20
14
25
21
15
21
17
11
22
18
12
2
SP
II
#
$
%
&
*
+
I
52
42
2A
53
43
28
50
40
28
51
41
29
54
44
2C
55
45
20
56
46
2E
57
47
2F
46
38
26
47
39
27
40
32
20
41
33
21
42
34
22
43
35
23
44
36
24
45
37
25
0
3
2
3
4
5
6
7
8
9
<
=
>
?
73
59
3B
74
60
3C
75
61
30
76
62
3E
77
63
3F
65
53
35
66
54
36
63
51
33
64
52
34
67
55
37
70
56
38
71
57
39
72
58
3A
61
49
31
62
50
32
L
M
N
0
4 p
5
A
B c
D
E
F
G
H
J
110
72
48
111
73
49
112
74
4A
106
70
46
107
71
47
101
65
41
102
66
42
103
67
43
104
68
44
105
69
45
K
Q
R s
T u v w x y z
121
81
51
125
85
55
126
86
56
127
87
57
130
88
58
122
82
52
123
83
53
124
84
54
131
89
59
132
90
5A
6 a b c d e g h
146
102
66
147
103
67
150
104
68
151
105
69
152
106
6A
141
97
61
142
98
62
143
99
63
144
100
64
145
101
65
k p
7 q r s t u v w x y z
160
112
70
161
113
71
162
114
72
163
115
73
164
116
74
165
117
75
166
118
76
167
119
77
170
120'
78
171
121
79
172
122
7A
117
79
4F
I
m n
137
95
5F
0
;
~~
:::::::::1::::::::::
6E :;:;:;:;:;:;:;:;:;:;;;:;:;
~;;
DEL
6F
~ ~~
7E
177
127
7F
KEY
l\SCll CHARACTER
ESC
___ 33
27
....__
.....
18
OCTAL
DECIMAL
HEX
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 61
Table A-12 Spanish Character Set
87
86
85
BITS
r - -
84 83 82 81 ROW
0 0 0 0
0 0 0
1
0 0 1 0
0 0
1
1
0
1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
0
1
2
3
4
5
6
7
8
9
10
0
0
0
COLUMN
0
NUL
BS
HT
LF
4
4
4
3
3
3
5
5
5
6
6
6
7
7
7
10
8
8
11
9
9
0
0
0
1
1
1
2
2
2
12
10
A
1
0 1 1
1 1 0
0
1 1 0 1
1
1 1 0
1 1 1 1
11
12
13
14
15
VT
13
11
8
FF
SI
14
12 c
CR
15
13
D
so
16
14
E
17
15
F
0
0
1
CAN
31
25
19
SUB
32
26
1A
ESC
33
27
18
34
28
1C
26
22
16
27
23
17
30
24
18
1
20
16
10
DC1
21
(XONI
17
11
22
18
12
DC3
(XOFFI
23
19
13
24
20
14
25
21
15
35
29
1D
36
30
1 E
37
31
1 F
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
2 4 5 6 7
3
SP
I
(
!
II
$
%
&
)
*
+
42
34
22
43
35
23
40
32
20
41
33
21
50
40
28
51
41
29
44
36
24
45
37
25
46
38
26
47
39
27
52
42
2A
53
43
28
0
1
2
3
4
5
6
7
8
9
:
;
65
53
35
66
54
36
67
55
37
70
56
38
71
57
39
60
48
30
61
49
31
62
50
32
63
51
33
64
52
34
72
58
3A
A
K
113
75
48
\
a k
153
107
68
p q
122
82
98
162
B
102
66
42
R
52
b
142
r
62
c
103
s
123
c
143
s
163
67 83
99
115
43 63 73
53
114
72
D
E
104
68
44
105
69
45
124 144 164
T d t
84 100 116
54 64
74
u
125
e
145
u
165
85
101
117
65
55 75
F
G
H
106
70
46
107
71
47
110
72
48
v x
126
86
56
130
88
f h
146
102
66
150
104
v x
166
118
76
w
127
g
147
w
167
87
103
119
67 77
57
170
120
58
68 78
I
J
100
64
40
101
65
41
111
73
49
112
74
4A
p
120
80
50
Q
121
81
51
y
131
89
59
z
132
90
5A
133
91
58
i j
151
105
69
152
106
6A
140
96
60
141
97
61
y z
160
112
70
161
113
71
171
121
79
172
122
7A
173
123
78
73
59
38
I
54
74 114
134 154
<
60
L
76
92
1
108
'
44
2C 4C
3C 5C 6C
-
55
=
75
M
115 135 155 175
45 61
77 93
m
109
125
2D
56
46
2E
3D
>
76
N
62
3E
4D
116
78
4E
A
5D
136
94
5E
n
6D
156
110
6E
-
176
7D
126
7E
7C
124
174
57
47
2F
?
77
63
3F
0
117
79
4F
137
-
95
5F
0
157
111
6F
DEL
177
127
7F
KEY
ASCII CHARACTER
ESC
___
33
27
...__
...
18
OCTAL
DECIMAL
HEX
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.
62 APPENDICES
Table A-13 Swedish Character Set
87
B6
85
BITS
COLUMN
84 83 B2 Bl
ROW,
0
0 0 0 0 0
,
NUL
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0 10
1 0 1 1 11
1 1 0 0 -,2
1 1 0 1
1 1 1 0
13
14
1 1 1 1 15
BS
HT
LF
VT
FF
CR so
SI
12
10
A
15
13
0
16
14
13
11
B
14
12 c
10
8
11
9
17
15
DC1
IXONJ
DC3
IXOFFJ
CAN
SUB
ESC
32
26
1A
33
27
18
34
28
TC
30
24
18
31
25
19
35
29
10
36
30
1 E
37
31
1 F
23
19
13
24
20
14
25
21
15
26
22
16
27
23
17
20
16
10
21
17
11
22
18
12
2
SP
II
#
$
%
&
*
+
I
44
36
24
45
37
25
42
34
22
43
35
23
40
32
20
41
33
21
50
40
28
51
41
29
46
38
26
47
39
27
52
42
2A
53
43
28
54
44
2C
55
45
20
56
46
2E
57
47
2F
3
0
3
4
5
6
7
8
9
<
=
>
?
73
59
38
74
60
3C
75
61
30
76
62
3E
77
63
3F
65
53
35
66
54
36
67
55
37
62
50
32
63
51
33
60
48
30
61
49
31
64
52
34
70
56
38
71
57
39
72
58
3A
4
A
B c
D
E
F
G
H
I
J
K
L
M
N
0
113
75
48
114
76
4C
115
77
40
110
72
48
111
73
49
112
74
4A
102
66
42
103
67
43
104
68
44
100
64
40
101
65
41
105
69
45
106
10
46
107
71
47
116
78
4E
117
79
4F
p
5 a
R s
T u v w x y z
136
94
5E
137
95
5F
134
92
5C
135
93
50
131
89
59
132
90
5A
133
91
58
124
84
54
125
85
55
122
82
52
123
83
53
120
BO
50
121
81
51
126
86
56
127
87
57
130
88
58
1 m n
0
6 a b c d e g h
150
104
68
151
105
69
152
106
6A
146
102
66
147
103
67
143
99
63
144
100
64
140
96
60
141
97
61
142
98
62
145
101
65
k p
7 q r s t u v w x y z
160
112
70
161
113
71
162
114
72
163
115
73
164
116
74
165
117
75
166
118
76
171
~21
79
172
122
7A
167
119
77
170
120
78
~;~
DEL
6F
177
127
7F
KEY
ASCII CHARACTER
ESC
33 OCTAL
27 DECIMAL lB
~---'--...I
HEX
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.
AP PEN DICES 63
Table A-14 United Kingdom Character Set
87
86
85
BITS
84 83 82 Bl ROW
0 0 0 0
0 0 0
1
0 0 1 0
0 0 1 1
0 1 0 0
0
1 0 1
0 1 1 0
0
1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
12
1 1 0 1
1 1 1 0
0
1
2
3
4
5
6
7
8
9
10
11
13
14
1 1
1
1
15
0
0
0
COLUMN
0
NUL
BS
HT
LF
2
2
2
3
3
3
1
1
1
0
0
0
4
4
4
5
5
5
7
7
7
6
6
6
10
8
8
11
9
9
12
10
A
VT
13
11
B
FF
14
12 c
CR
15
13
D
so
16
14
E
SI
17
15
F
0
0
1
CAN
31
25
19
SUB
32
26 lA
ESC
33
27
18
34
28
1C
35
29
10
36
30
1 E
37
31
1F
26
22
16
27
23
17
30
24
18
1
20
16
10
DC1
21
IXON)
17
11
22
18
12
DC3
23
IXOFF)
19
13
24
20
14
25
21
15
0
1
0
2
SP
!
II
$
%
&
,
(
)
*
+
53
43
28
54
'
44
2C
-
55
45
20
56
46
2E
I
57
47
2F
40
32
20
41
33
21
42
34
22
43
35
23
44
36
24
45
37
25
46
38
26
47
39
27
50
40
28
51
41
29
52
42
2A
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
3
4
0
1
2
3
4
5
6
7
8
9
:
;
< 74
60
3C
L
=
75
61
30
M
>
76
62
N
3E
?
73
59
38
77
63
3F
K
0
F
G
H
I
J
106
70
46
107
71
47
110
72
48
111
73
49
112
74
4A
113
75
48
114
76
4C
115
77
40
116
78
4E
117
79
4F
@
A
B
102
66
42
c
103
67
43
D
E
104
68
44
105
69
45
100
64
40
101
65
41
65
53
35
66
54
36
67
55
37
70
56
38
60
48
30
61
49
31
62
50
32
63
51
33
64
52
34
71
57
39
72
58
3A
5 6 7 p
120
80
50
' 140
96
60
p
160
112
70
a
121
a
141
q
161
81 97 113
51 71
61
122 142 162
R
82
b r
114
98
52 62 72
s
123
c
143
s
163
83 99 115
53 63 73
144
164
T
124
84
d t
100 116
54 64 74
u
125
e
145
u
165
85
101
117
65
55 75
v
126
f
146
v
166
86
102 118
56 66 76
w
127
g
147
w
167
87 103
119
57 67 77
x
130
h
150
88 104
58
68
x
170
120
78
y
131
89
59
i
151
105
69
y z
[
132
90
5A
j k
152
106
6A
153
107
68
z
{
171
121
79
172
122
7A
173
123
78
\
]
A
133
91
58
134
92
5C
135
93
50
136
94
5E
137
-
95
5F
1 m n
0
156
110
6E
157
111
6F
154
108
6C
155
109
60
-
I
}
DEL
174
124
7C
175
125
70
176
126
7E
177
121
7F
KEV
ASCII CHARACTER
ESC
33
27
1B
OCTAL
DECIMAL
HEX
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
DECSHORP
Set vertical pitch
DECVERP
Page length selection
DECSLPP
Pn =Oto 252
ESC
033
Pn=
ESC
033
Pn=
133
0
Pn
2 4 w
167
5
10 10 12
16.5 5
6 8
6 8.25 CPI
133
0
6
1
Pn
***
2 3
6 8 12 z
172
4 5 6
2 3
4 LPI
ESC
033
133
Pn
***
164
Pn (lines/page)= Paper length (inches/page)
X Vertical pitch (lines/inch)
Partial line down
PLO
Partial line up
PLU
Select density
DEC DEN
Select graphic rendition
SGR
ESC
033
K
133
Move down 1 /2 line (paper up 1 /12 inch)
ESC
033
ESC
033
Pn =
Pn =
L
114
133
0,
2
Move up 1 /2 line (paper down 1 /12 inch)
Pn
042 z
172
Select normal density printing
Select enhanced density printing
ESC
033
133
Pn = O - Reset
Pn
Pn = 1 - Bold on
Pn= 4 - Underline on
073
Pn
Pn
=
22 - Bold off m
155
Pn= 24 - Underline off
65
66
APPENDICES
Escape Sequence Summary (Cont)
Escape Sequence/Description Name/Mnemonic
Device attribute
DA
ESC
033 133 c
143
Sends back identification code
ESC [ ?
1
033
133 077
061
Device status report
DSR
ESC
033
ESC
033
ESC
033
133
[
133
[
133 n
156
?
077
?
077
061
2
061
Brief status report
(sent back by printer)
DSR
Extended status reports
(sent back by printer)
DSR
Enter graphics mode
Exit graphics mode
ESC
033 133
?
077
3
063
7
067 n
156 n
156 n
156 c
143
Send extended status report
Disable all unsolicited status reports
Enable unsolicited brief reports and send extended status report
Enable unsolicited extended report and send extended status report
No malfunction detected
Malfunction detected
ESC
033
ESC
033
133
[
133
0
060
3
063 n
156 n
156
ESC
033 133 followed by
ESC
[
033
ESC
033
133
[
133 followed by
ESC [
033 133
0
060
?
077
3
063 n
156
2
062 n
156
?
077
Pn
Pn
Pn
Pn
Pn
Pn
Pn
=
21 Hardware failure
=
22
Communication failure (event)
=
23 .Input buffer overflow (event)
=
24
Printer deselected
=
26 Cover open
=
27 Paper empty
0
060
,
...
073
ESC
033
! n
$ p q
Enter graphics mode
120 161
Repeat introducer, n
=
0 to 65535
Graphic carriage return
Graphic new line
No malfunction detected n
156
Malfunction detected
Pn n
156
ESC
033
\
134
APPENDICES 67
Character Set Selection so
CTRL/N (016)
SI CTRL/O (017)
SS2
SS3
LS2
LS3
ESC N (033 116)
ESC
0
(033 117)
ESC n (033 156)
ESC o (033 157)
LS1R ESC (033 176)
LS2R ESC
I
(033 175)
LS3R ESC
I
(033 174)
Select GO to be GL
Select G1 to be GL
Select next character from G2
Select next character from G3
Select G2 to be GL
Select G3 to be GL
Select G1 to be GR
Select G2 to be GR
Select G3 to be GR
Assign Character Sets
ESC Gn Ch
Assign set ch to Gn where Gn is
"("=GO
")" = G1
"*"
= G2
"+"=
G3 and ch is from the list below
8-ASCll
A- Britain
5- Finland*
C- Finland
J-JISRoman
I - JIS Katakana
6 - Norway/Denmark*
E - Norway/Denmark
Z- Spain
R- France
9 - French Canada*
Q -
French Canada
K- Germany
Y- Italy
7 - Sweden*
H - Sweden
< -
Multinational
O - VT100 Special Graphics
* Preferred
0 = OPEN; C = CLOSED
68
APPENDICES
Country
US(ASCll)
Britain
Finland
France
French Canada
Germany
Italy
Japan
Norway/Denmark
Spain
Sweden
Switch Bank 1
4 3
Switch
2
0
0
0
0
0
0
0
0 c c c
0
0
0
0 c c c c
0
0
0
0 c c
0
0 c
0
0 c c
0
0 c
0 c
0
0 c
0 c
0 c
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.
Baud Rate
4800
2400
1200
600
300
200
110
Data Format
7 Bits + odd parity
7 Bits + even parity
7 Bits+ 8th bit mark
7 Bits + 8th bit space
8 Bits
+ odd parity
8 Bits + even parity
8 Bits + no parity
Switch Bank 2
Switch
2
0
0
0 c c c c
0 c
0 c
0 c
0
Switch Bank 2
Switch
4 5
0 c c
0 c c
0
0 c c
0
0 c c
3
0
0 c
0 c
0 c
6 c c c c
0
0
0
APPENDICES 69
0
=
OPEN; C
=
CLOSED
Aspect Ratio
2:1
2:5.1
Signal Level
Busy= Hi: Ready= Lo
Busy = Lo: Ready = Hi
(Switch 5)
Switch Bank 1
Protocol Switch
0 c
(Switch 7)
XON/XOFF
Ready/Busy
0 c
Right Margin
Truncated
Wrap
(Switch 6)
0 c
(Switch 8)
0 c
Power Up Conditions
Printer selected - on-line
Printer status report - disable unsolicited report
Horizontal pitch - 1 O c;haracters/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 settings.
Attributes
Enhanced
Bold
Underline
Maximum characters/line
16.5
x
132
12
Vertical Pitch (Characters/Inch)
10 8.25 6
x x x x x x x x x x x
96 80 66 48
5
x x x
40
Prined in Japan
E1-1672 830910000@
Digital Equipment Corporation • Maynard, MA 01754
advertisement