Special Functions Of The M8510A - C.ITOH 8510A User Manual

Dot matrix serial impact printer
Table of Contents

Advertisement

Referring to the EVFU programming example, the following are examples of US
code usage:
00011111
00000001
00011111
00000100
00011111
00011101
13. Special Functions of the M8510A
Introduction
US Code
Advance to Channell (TOF)
US Code
Advance to Channel 4 (Line 17)
US Code
Absolute advance of 13 lines
The M8510A has a number of special functions which can be selected by the use of "Escape Se-
quences". These are multiple-byte commands beginning with the ASCII ESC code, (27 decimal or
1 B hexadecimal), followed by one or more ASCII codes, which cause the printer to enter various
operating modes (proportional spacing, graphics, etc.) These escape sequences are explained below.
13-1. Incremental and Logic Seek Print Mode
In incremental print mode, the M851 OA prints each character as it is received from the host computer.
A carriage return causes the dot head to move to the left margin. In logic seek mode characters are
stored in a buffer until a print command (e.g. carriage return) is received, or an entire line of data is
received with no print command. Printing is bidirectional, and the dot head always moves at high
speed to the starting point of each line. The logic seek mode is assumed when the printer is powered
on.
Command
Decimal Data
Hex. Decimal Data
Function
ESC C
27
91
IB
5B
Incremental Print Mode
ESC =:J
27
93
IB
5D
Logic Seek Print Mode
Note: In incremental mode, once the dot head reaches the rightmost printing position, and no print
command has been received, all characters will be printed in the same column.
13-2. Character Pitch
The character pitch is the number of characters per inch in a line of print. The M851 OA has four
basic pitches: Pica (10 CPI); Elite (12 CPI); Compressed (17 CPI) and Proportional, which varies
according to the actual characters printed. When the printer is powered on, it will assume either pica
or proportional, depending on the setting of DIP switch 2-5 (see Section 7-8).
Command.
Decimal Data
Hex. Decimal Data
Character Pitch
ESC P
27
~o
IB
50
Proportional
ESC N
27
'l~
IB
4E
Pica Pitch (10 CPI)
ESC E
27
b~
IB
45
Elite Pitch (12 CPI)
ESC
Q
27
ij
IB
51
Compressed Pitch (17 CPI)
Example: Printing in proportional, compressed, elite and pica pitches.
DATA:
I
ESC
I
P ABC D
I
ESC
I
Q
ABC D
I
ESC
1
E ABC D
I
ESC
I
NAB CD@[]
PRINT:
ABCDABCMBCDABCD
-46-

Advertisement

Table of Contents
loading

Table of Contents