STAR XB24 22U2 printer User manual
Below you will find brief information for printer XB24 22U2. The XB24 22U2 is a printer that emulates the functions of the Epson LQ-860/LQ-1060 and the IBM Proprinter X24E/XL24E. The printer has two emulation modes: Standard mode and IBM mode. In standard mode, the printer emulates the functions of the Epson LQ-860/LQ-1060, and the graphics commands for NEC 24-wire printers. The printer also has a variety of character sets, including the standard character set and the IBM character set, and can be configured with the use of various settings to meet specific needs. The printer also includes control commands, which are used to control the printer's functions. These commands can be used to control the character size, pitch, and underlining. It can be used to print text in different languages, and graphics images, such as bit-image graphics and 24-bit dot graphics.
Advertisement
Advertisement
Chapter
7
PRINTER CONTROL COMMANDS
The printer has two emulation modes: Standard mode and IBM mode.
In standard mode, the printer emulates the functions of the Epson LQ-860/
LQ-1060, and the graphics commands for NEC 24-wire printers. In IBM mode, the printer emulates the IBM Proprinter X24E/XL24E. Additional command codes are included as a superset of these emulations.
The emulation is changed by means of EDS switch A- 1. When
“EMULATION
STD”, the printer will be in standard mode, and when “EMULATION IBM”, the printer will be in IBM mode (see Chapter 6). It is not possible to change the emulation by means of software control.
This chapter describes the printer’s control commands. Some commands are common to both the standard and IBM modes. In the descriptions of the commands, all commands will given by functions. The name of each command is followed by a table like the one below:
Mode ASCII
Std.
<ESC> “x” “1”
<ESC> “X1’ cl>
Decimal
27 1x1 49
27120 1
Hexadecimal
1B
78
31
1B 78 01
Mode:
ASCII:
Indicates the mode in which the command is recog- nized.
Std. Standard mode (EDS switch A-l is
“EMU-
LATION STD”.)
IBM IBMmode (EDS switch A-l is”EMULATION
IBM”.)
Both Both standard and IBM modes
Indicates the ASCII coding of the command. Con- trol characters are enclosed in pointed brackets: For example, <l> means character code 1.
Decimal: Gives the command in decimal character codes.
Hexadecimal: Gives the command in hexadecimal character codes.
Parameters for which values must be supplied are indicated by italic letters such as n, m or d.
FONT CONTROL COMMANDS
Select draft quality characters
Mode ASCII std. &SC>
‘SXI‘ “0” cEsc> “X" db
Decimal
27120 46
27120 0
Hexadecimal
16 78 30
18 76 00
Changes from letter quality to draft quality. Ignored if the
FONT LOCK mode was selected during power-up.
Select draft pica characters
Model ASCII Decimal
127 73 0
Hexadecimal
IlB 49 00
Changes to draft quality characters with pica pitch (10 cpi). Ignored if the
FONT LOCK or PITCH LOCK mode was selected during power- up*
Select draft elite characters
Mode ASCII
IBM &SC> T <8>
Decimal
27 73 8
Hexadecimal
1B 46 06
Changes to draft quality characters with elite pitch (12 cpi). Ignored if the
FONT LOCK or PITCH LOCK mode was selected during power- up*
Select draft condensed characters
Mode ASCII
IBM <ESC> “I” <16>
Decimal
27 73 16
Hexadecimal
1B 46 10
Changes to draft quality characters with condensed pitch (17 cpi).
Ignored if the
FONT LOCK or PITCH LOCK mode was selected during power-up.
-
--
-
-
74
.-
Select LQ characters
Mode
Std.
ASCII
<ESC> “x” “1”
<ESC> “X” <l>
Decimal
27 120 49
27120 1
Hexadecimal
1B 78 31
1B 78 01
Changes from draft quality to letter quality. The initial LQ font is
Roman unless a different font has been selected by a preceding command. Ignored if the
FONT LOCK mode was selected during power-up.
Select L Q pica characters
Mode
IBM
ASCII
<ESC> “I" <2>
Decimal
27 73 2
Hexadecimal
1B 49 02
Changes to letter quality characters with pica pitch (10 cpi). Ignored if the
FONT LOCK or PITCH LOCK mode was selected during power- up.
Select LQ elite characters
Mode
IBM
ASCII
<ESC> “I” <LF>
Decimal
27 73 10
Hexadecimal
1B 49 OA
Changes to letter quality characters with elite pitch (12 cpi). Ignored if the
FONT LOCK or PITCH LOCK mode was selected during power- up.
Select L Q condensed characters
Mode ASCII
IBM <ESC> “I” <JX2>
Decimal
27 73 la
Hexadecimal
1B 49 12
Changes to letter quality characters with condensed pitch (17 cpi).
Ignored if the
FONT LOCK or PITCH LOCK mode was selected during power-up.
75
Select LQ proportional characters
Mode
IBM
ASCII
<ESC> “I” <3>
Decimal
27 73 3
Hexadecimal
16 49 03
Changes to letter quality characters with proportional pitch. Ignored if the
FONT LOCK or PITCH LOCK mode was selected during power-
UP.
Select LQ font
Mode
Both
Std.
ASCII
<ESC> ‘I? n
<FS> “C” n
Decimal
27 107 n
20 67 n
Hexadecimal
18 6B n
IC 43 n
Selects an LQ font according to the value of n. In draft mode, this command remains dormant and takes effect later when LQ is selected. Ignored if the
FONT LOCK mode was selected during power-up or the corresponding Font Cartridge is not installed. n Font
0 Roman
1 Sanserif
2 Courier
3 Prestige
4 script
5 OCR-B
6 OCR-A
(Fc-22)
(Fc-2Z)
7 Orator
8 Orator 2 (Fc- 1Z)
9 TW-Light (Fc-3Z)
10 Letter Gothic (FC- 1Z) n Font
11 Blippo
12 H-Gothic
13 Orane
14 Cinema
(Fc- 1Z)
(FC-3Z)
(FC- 12)
15 CODE 39 (Fc-2Z)
16 UPC/EAN (FC-2Z)
17 Old Style
18 Firenze
(FC-SZ)
(Ix-SZ)
32 SLQ Roman
33 SLQ TW-Light (Fc-1OZ)
Select font
-
Mode
Bo*
ASCII
“(” “(” “F” “)” “)” d
Decimal Hexadecimal
40 40 70 41 41 d 28 26 46 29 29 d
Changes to the font according to the value of d. Ignored if the
FONT
LOCK mode was selected during power-up or the corresponding Font
Cartridge is not installed.
--
76
d Font
0 Roman
1 Sanserif
4
5
6
2
3
Courier
Prestige script
OCR-B
OCR-A
7 Orator
8 Orator 2
9 Draft
Select italic characters
(Fc-2Z)
(Fc-2Z)
(Fc- 1Z)
Mode std.
ASCII
<ESC> “4”
Decimal
27 52
Hexadecimal
1B 34
Causes subsequent characters to be printed in italics.
Select upright characters
Mode
Std.
ASCII
<ESC> “5”
Decimal
27 53
Hexadecimal
IB 35
Stops italic printing and causes subsequent characters to be printed upright.
Emphasized printing
Mode
Both
ASCII
<ESC> “E”
Decimal
27 69
Hexadecimal
1B 45
Causes subsequent characters to be emphasized by adding extra thickness to vertical strokes.
Cancel emphasized printing
Mode
Both
ASCII
<ESC> “F”
Cancels emphasized printing.
Decimal
27 70
Hexadecimal
1B 46
Double-s trike printing
Mode ASCII
Both cESC> “c”
Decimal
27 71
Hexadecimal
18 47
Causes subsequent characters to be printed in double-strike mode with a slight vertical paper motion in between, causing a thickening of horizontal strokes.
For bold print, use of double-strike is recommended in LQ mode, and combined use of emphasized and double-strike is recommended in draft mode.
Cancel double-strike printing
Mode ASCII
Both <ESC> “IT
Cancels double-strike printing.
Decimal
27 72
Start underlining
Hexadecimal
1B 48
Mode ASCII
Both <ESC> “-” “1”
<ESC> “-” <l>
Decimal
27 45 49
27 45 1
Hexadecimal
1B 2D 31
1B 20 01
Causes subsequent characters to be underlined. IBM block graphics characters and spaces skipped by horizontal tabulation are not un- derlined.
Stop underlining
Mode ASCII
Both . <ESC> ‘0’ “0”
<ESC> “-” <o>
Stops underlining.
Decimal
27 45 40
27 45 0
Hexadecimal
1B 2D 30
IB 2D 00
-
-
.-
78
Start overlining
Mode ASCII
IBM <ESC> ‘,’ “1” cESC> ‘,’ cl>
Decimal
27 95 49
27 $5 1
Hexadecimal
1B 5F 31
1B 5F 01
Causes subsequent characters to be overlined. Spaces skipped by horizontal tabulation are not overlined.
Stop overlining
Mode ASCII
JBM cESC> “-” “0”
<ESC> “-” co>
Stops overlining.
Select score
Decimal
27 95 40
27 95 0
Hexadecimal
1B 5F 30
1B 5F 00 hodeI ASCII
Std. cESC> “(,’ “-” O> x0> cl> nl n2
1 Decimal
27 40 45 3
0
1 nl n2
1 Hexadecimal 1
1B 28 2D 03
00 01 nl n2
Start score according to the values of nl and n2, as shown below. nl Function
1 Underlining
2 Strike-through
3 Overlining n2 Function
0 Cancelscore
1 Single continuous line
2 Double continuous line
5 Single broken line
6 Double broken line
79
Se/ect ornament character
Mode ASCII
Std. <ESC> “a” n
Decimal
27 113 n
Hexadecimal
16 71 n
Selects an ornament character according to the value of n, as shown below. n Character
0 Normal
1 Outline
2 Shadow
3 Shadow and outline
Superscript
Mode ASCII
Both - &SC> “SW “0”
<ESC> “S” <o>
Decimal
27 03 40
27 03 0
Hexadecimal
1B 53 30
1B 53 00
Causes subsequent characters to be printed as superscripts. Does not change the character pitch.
Subscript
Mode
Both
ASCII
<Esc> “S” “1”
&SC> “S” <l>
Decimal
27 03 49
27 03 1
Hexadecimal
18 53 31
1B 53 01
Causes subsequent characters to be printed as subscripts. Does not change the character pitch.
Cancel superscript or subscript
Mode ASCII
Both cEsc> ‘T”
Decimal
27 04
Hexadecimal
1B 54
Stops printing superscripts or subscripts and returns to normal printing.
Y
-
-
-
80
CHARACTER SET COMMANDS
Select standard character set
Selects the standard character set. This is the power-up default in
Standard mode if EDS switch C-l is set to “STD ITALIC”.
Select IBM character set
Both <pJC> .y ‘61”
Std. cEsc>
<FS>
“t” <I>
.?., “1"
<Fs> '1"
61>
1 Decimal
27 116 49
27 116 1
20 73 49
2073 1
1 Hexadecimal
1B 74 31
18 74 01
1c 49 31
1c 49 01
Selects an IBM character set. This is the power-up default in IBM mode, or EDS switch C- 1 is set to “STD GRAPH” in standard mode.
Select character set #I
Decimal
27 56
Hexadecimal
1B 37
Mode ASCII
, Both <ESC> “7”
Selects character set #l.
Select character set #2
Mode ASCII
Both <ESC> “6”
Selects character set #2.
Decimal
27 54
Hexadecimal
1B 36
81
Select international character set
Mode ASCII
Std. <ESC> “R” n
Decimal
27 02 n
Hexadecimal
1B 52 n
Selects an international character set in the Standard character set according to the value of n. n Character set n Character set
0 U.S.A
1 France
2 Germany
3 England
4 Denmark1
5 Sweden
6 Italy
7 Spain1
8 Japan
9 Norway
10 Denmark11
11 Spain II
12 Latin America
13 Korea
14 Irish
64 Legal
One of these character sets can be selected as power-up default by
EDS switch C-5.
Select IBM code page
Mode ASCII
Both <ESC> “[,. ‘T’ <4> <o>
&<O>nl n2
Decimal Hexadecimal
27
9184 4 0 lB5B 54 04 00
0 OnIn 00 00 nl ?l2
Changes the code page of the current IBM character set according to the values of nl and n2. nl n2
1 181
3 82
3 92
3 93
3 95
3 97
Code Page
#437 U.S.A.
#850 Multi-lingual
#860 Portuguese
#86 1 Icelandic
#863 Canadian French
#865 Nordic
One of these code pages can be selected as power-up defaults by
EDS switch C-4.
V
-
-
-
-
-
-
-
-
-
82
. .
L-
- i
Enable printing of all character codes
Mode
IBM
ASCII
&SC> ‘T nl n2
Decimal
27 92 nl n2
Hexadecimal
1B SC nl n2
Enables printing of all characters in the IBM character set, including those assigned to character codes which are normally considered control codes. This command remains in effect for the next nl + n2 x 256 characters, where nl and n2 are numbers between 0 and 255.
During this interval no control functions am executed. If a code with no assigned character is received, the printer prints a space.
Enable printing of all character codes on next character
Mode ASCII
IBM <Es0 “A” n
Decimal
27 94 n
Hexadecimal
1B 5E n
This command operates like <ES0 ‘T’ except that it remains in effect for only one character.
Select slash zero
Mode ASCII
Both
<ESC> “-*’ “1”
<Esc> “."" <l>
Decimal
27126 49
27126 1
Hexadecimal
1B 7E 31
1B 7E 01
Causes subsequent zem characters to be overprinted with a slash (8).
Select normal zero
Mode ASCII cESC> ‘.-” “0’
Both
<Esc> “-” <o>
Decimal
27126 40
27126 0
Hexadecimal
1B 7E 30
1B 7E 00
Causes subsequent zero characters to be printed normally (0), without a slash.
83
CHARACTER SIZE AND PITCH COMMANDS
Pica pitch
Mode ASCII
Std. cEsc> “F
IBM cDC2>
Decimal
27 00
10
Hexadecimal
18 50
12
In Standard mode, changes from either elite or semi-condensed to pica pitch (10 cpi) or from condensed elite to condensed pica (17 cpi). In IBM mode, changes from either elite or condensed to pica
(10 cpi). Ignored if the PITCH LOCK mode was selected during power-up.
Elite pitch
Mode ASCII
Std. cEsc> “M”
IBM <ESC> “:”
Decimal
27 77
27 50
Hexadecimal
1B 4D
1B 3A
Changes from either pica or semi-condensed to elite pitch (12 cpi) or from condensed pica to condensed elite (20 cpi). Ignored if the
PITCH LOCK mode was selected during power-up.
Semi-condensed pitch
Mode ASCII
Std. <ESC> “g”
Decimal
27 103
Hexadecimal
1B 67
Changes from either pica or elite to semi-condensed pitch (15 cpi).
Ignored if the PITCH LOCK mode was selected during power-up.
Condensed printing
Mode ASCII
Both
6Sb
Std. cEsc> CSb
Decimal
15
27 15
Hexadecimal of
1B OF
Changes from pica to condensed pica (17 cpi) or from elite to condensed elite (20 cpi).
Ignored if the PITCH LOCK mode was selected during power-up.
-
_
- _
-
-
-
-
-
-
-
-
-
-
84
Cancel condensed printing
Mode ASCII
Both 6)(32>
Decimal
18
Hexadecimal
12
In Standard mode, changes from condensed pica to normal pica or from condensed elite to normal elite. In IBM mode, always changes to normal pica. Ignored if the PITCH LOCKmode was selected during power-up.
Expanded printing
Mode ASCII
Both
<Esc> “W’ “1”
<ESC> “w” cl>
Decimal
27 87 48
27 87 1
Hexadecimal
1B 57 31
1B 57 01
Causes subsequent characters to be expanded to double width.
Cancel expanded printing
Mode ASCII
<pJC> “w” “0”
Both
<ESC> “W’ <o>
Decimal
27 87 48
27 87 0
Hexadecimal
1B 57 30
1B 57 00
Stops expanded printing and returns to normal width.
Expanded printing for one line
Mode ASCII
Both <so>
Std. &SC> <so>
Decimal
14
27 14
Hexadecimal
OE
1B OE
Causes subsequent characters in the current line to be expanded to double width. Characters return to normal width after the next line feed (<LF>). The <DC4>, <VT>, <FF>, and <ES0 “W’ 0 com- mands also cancel expanded printing.
Cancel one-line expanded printing
IModel ASCII
1 Both 1 <DC4>
1 Decimal
120
1 Hexadecimal
I 14
Stops one-line expanded printing set with <SO> or <ESC> <SO>.
Does not cancel <ESC> “W” 1.
1
I
Select character width
Mode ASCII
Std. cFS> “E” n
Decimal
2869 n
Hexadecimal
1c 45 n
Select a character width according to the value of n as shown below.
n Character width
0 Normal-wide
1 Double-wide
2 Triple-wide
Select proportional spacing
Mode ASCII std. *
<ESC> 1. 9. “1” cEsc> “p"
61>
IBM
<mc>
..r 61>
Decimal
27 112 49
27 112 1
27 80 1
Hexadecimal
1B 70 31
1B 70 01
1B 50 01
Causes subsequent characters to be proportionally spaced. Ignored if the PITCH LOCK mode was selected during power-up.
Select fixed spacing
Mode ASCII
&SC> .,,w “0’
Std.
<ESC> .‘p” co>
IBM
<ESC>
“P’ 60>
Decimal
27 112 48
27 112 0
27 00 0
Hexadecimal
1B 70 30
1B 70 00
1B 50 00
--
Causes subsequent characters to be printed with fixed character spacing. Ignored if the PITCH LOCK mode was selected during - - power-up.
-
Select master print mode
Mode ASCII
Std. cEsc> “!” n
Decimal
27 33 n
Hexadecimal
1B 21 n
Selects a combined print mode according to the value of n. The value of n is the sum of the values given below for the desired character- istics.
-_
86
Function
Underline
Italic
Expanded
Double strike
Emphasized
Condensed [*]
Proportional [*]
Elite [*]
n value
128
64
32
16
8
4
2
1
[*] Ignored if the PITCH LOCK mode was selected during power-up.
Examples: n = 1 gives elite; n = 9 (1 + 8) gives emphasized elite;n
= 137 (1 + 8 + 128) gives underlined emphasized elite.
increase character spacing
Mode ASCII
Std.
<t%!> 6sb
Decimal
27 32 n
Hexadecimal
1B 20 n n
Increases the spacebetweencharacters by n dots, where n is anumber from 0 to 127. Used in microjustification.
Select double or quadruple size
IModel ASCII
I Std. I cESC> “h” n
1 Decimal
1 27 104 n
1 Hexadecimal
IlB66n
Selects the size of subsequent characters as shown below. Extra- high characters align along the cap-line of normal characters, with the base line temporarily moving down. Line spacing is temporarily doubled when n = 1 and quadrupled when n = 2.
n Effect
0 Normal size
1 Double-high, double-wide
2 Quadruple-high, quadruple-wide
I
I
87
Select character size
Mode ASCII
Both “(” “(” “S” ..),, ‘S)” d
Decimal Hexadecimal
40 40 83 41 41 d 28 28 53 29 29 d
Selects a combination of character height and width according to the value of d, as below.
Does not move the base line. d Line spacing Character height
0 Single width Single height
1 Double width Single height
2 Single width Double height
3 Double width Double height
Print double-height characters
Mode ASCII
<ESC> “W” “1”
Std. _
<ESC> “Ww
61>
<FS> “V” “1”
<FS> "V" <l>
Decimal
27 119 49
27 119 1
28 86 49
20 06 1
Hexadecimal
1B n 31
1B 77 01
1c 56 31
1c 56 01
Prints subsequent characters at double height without moving the base line, and without changing the line spacing.
Return to normal height
-
-
-
-
-
Terminates double-height printing and prints subsequent characters at normal height.
88
Select character height, width, and line spacing
IMode] ASCII
I Both I cEsc> “[,’ “@” n <4> m co>
I Decimal
I 2791 0 nm
I Hexadecimal I
Selects a combination of character height, width, and line spacing line. n Line spacing
0 Unchanged
1 Unchanged
2 Unchanged
16 Single
17 Single
18 Single
32 Double
33 Double
34 Double
Character height
Unchanged
Single height
Double height
Unchanged
Single height
Double height
Unchanged
Single height
Double height m Character width
1 Single width (same as &SC> “W’ 0)
2 Double width (same as <ESC> “W’ 1)
89
VERTICAL POSITION COMMANDS
Set line spacing to l/8 inch
Mode ASCII
Both cEsc> “0’
Decimal
27 48
Hexadecimal
18 30
Sets the distance the paper advances or reverses in subsequent line feeds to l/8 inch.
Set line spacing to 7/60 or 7/72 inch
Mode ASCII
Both
<DC>
“1”
Decimal
27 49
Hexadecimal
1B 31
Sets the distance the paper advances or reverses in subsequent line feeds to 7/60 inch (standard mode) or 7/72 inch (IBM mode).
Set line spacing to l/6 inch
Mode
ASCII
Std. cEsc> “2”
Decimal
27 50
Hexadecimal
1B 32
Sets the distance the paper advances or reverses in subsequent line feeds to l/6 inch.
Set line spacing to n/360 inch
Mode ASCII
Std.
6ESC> I‘+” n
6FS> “3” n
Decimal
27 43 n
28 51 n
Hexadecimal
1B 2B
1C 33 n n
Sets the distance the paper advances or reverses in subsequent line feeds to n/360 inch, where n is between 0 and 255.
-
-
-.
-
-
-
-
t_
‘
Set base unit for line spacing
Mode
IBM
ASCII
<ESC>
“[” ‘T’ 64>
Co>
CO> CO>
Co> n
Decimal Hexadecimal
279192 4 0 lB585CC4
0 0 0 n WWWn
00
Sets the base unit for the line spacing commands, <ES0 “3” and
&SC> “J”. If the value of n is 180, the base unit is set to l/l 80”. If the value of n is 216, the base unit is set to l/216”. If otherwise specified, this command is ignored. This command becomes effec- tive only after &SD “3” or <ES0 “J” is received, The default base unit is set to l/216”.
Set line spacing to n/180 inch or n/216 inch
Mode ASCII
Both cESC> “3” n
Decimal
27 51 n
Hexadecimal
1B 33 n
Sets the distance the paper advances or reverses in subsequent line feeds to n/l80 inch or n/216 inch, where n is between 0 and 255. If n = 0, in Standard mode the line-feed distance is set to 0, but in IBM mode this command is ignored.
Set line spacing to n/60 inch or n/72 inch
Mode ASCII
Both 6ESC> “A” n
Decimal
27 65 n
Hexadecimal
18 41 n
In Standard mode, sets the distance the paper advances or reverses in subsequent line feeds to n/60 inch, where n is between 0 and 255.
If n = 0, the line spacing is set to 0.
In IBM mode this command defines the distance the paper advances or reverses in subsequent line feeds to n/72 inch, where n is between
1 and 85. The new line spacing does not take effect until next <ESC>
“2” command.
91
Execute <ES& “A”
Mode ASCII
IBM cEsc> “T’
Decimal
27 50
Hexadecimal
1B 32
Sets the line spacing to the value defined by the last preceding
<ESC> “A” command. Sets the line spacing to l/6 inch if there is no preceding <ESC> “A” command.
Line feed
Mode ASCII
Both dF>
Decimal
10
Hexadecimal
OA
Prints the current line and feeds the paper to the next line. See the preceding commands for the line spacing.
Reverse line feed
Mode ASCII
Std. <ESC> <LF>
IBM <ESC> “1”
Decimal
27 10
27 93
Hexadecimal
1B OA
1B 50
Prints the current line and feeds the paper in the reverse direction to the preceding line.
See the preceding commands for the line spacing. Ignored when the friction feed is used.
Select forward feed mode
Mode
Std.
ASCII
<FS> “F”
Decimal
2670
Hexadecimal
1c 46
Cancels the reverse feed mode and selects forward feed mode. This is the default setting at power-on.
Select reverse feed mode
Mode ASCII
Std. cFs> “R”
Decimal
28 82
Hexadecimal
1C 52
Selects reverse feed mode. Reverses the direction of all vertical movements. Ignored when friction feed or bottom feed is used.
92
-
-
-..
-
-
-
Perform one n/180-inch or n/216-inch line feed
Mode ASCII
Both <ES6 “P’ n
Decimal
27 74 n
Hexadecimal lB4A n
Feeds the paper once by n/180 inches or n/216 inches, where n is between 1 and 255. Does not move the print position right or left in the standard mode. Does not change the line-spacing setting.
Petiorm one tVl804nch reverse line feed
Mode ASCII
Std. cESC> “‘j” n
Decimal
27106 n
Hexadecimal
IB 6A n
Feeds the paper once by 4180 inches in the reverse direction, where n is between 1 and 255.
Does not move the print position right or left Does not change the line-spacing setting.
Feed paper n lines
Mode
Std.
ASCII cESC> “f’ “1” n
<ESC> “f’ cl> n
Decimal
27 102 49
27 102 1 n n
Hexadecimal
1B 66 31
1B & 01 n n
Feeds the paper n lines from the current line, where n is between 0 and 127.
Set top of page at current position
Mode ASCII
IBM <ESC> “4”
Decimal
27 52
Hexadecimal
1B 34
Sets the current position as the top-of-page position. Note that this can also be done from the control panel.
93
Set page length to n lines
Mode ASCII
Both cESC> “c” n
Decimal
27 67 n
Hexadecimal
1B 43 n
Sets the page length to n lines in the current line spacing, where n is between 1 and 127 in Standard mode or between 1 and 64 in IBM mode. Changing the line spacing later does not alter the physical page length. The current line becomes the top of the page.
Set page length to n inches
Mode ASCII
Both <ESC> “c” CO> n
Decimal
27 67 0 n
Hexadecimal lB4300 n
Sets the page length to n inches, where n is between 1 and 32 in
Standard mode or between 1 and 64 in IBM mode. The current line becomes the top of the page.
-
Set bottom margin
Mode ASCII
Both cESC> ‘TV n
Decimal
27 78 n
Hexadecimal
1B 4E n
Sets the bottom margin to n lines, where n is between 1 and 127 in
Standard mode or between 1 and 255 in IBM mode. The bottom margin is reset when you change the page length.
Cancel bottom margin
Mode ASCII
Both <ESC> “0”
Cancels the bottom margin.
Form feed
Decimal
27 79
Hexadecimal
1B 4F
1 Both 1 cFF>
1 Decimal
I 12
1 Hexadecimal 1 la: I
Feeds the paper to the top of the next page according to the cut-tent page length, and moves the print position to the left margin. When the automatic sheet feeder (ASF) is selected with EDS switch E-3, this command ejects the current page.
94
-
-
--
-
Return to top of current page
Mode ASCII
Std. -&SC> <FF>
Decimal
27 12
Hexadecimal
1B OC
Feeds the paper backward to the top of the current page. Ignored when the friction feed is used.
Disable paper-out detector
Mode ASCII
Both <Esc> “8”
Decimal
27 56
Hexadecimal
18 38
Causes the printer to disregard the signal sent by the paper-out detector, enabling printing to the bottom of the paper. Overrides the setting of EDS switch E-2.
Enable paper-out detector
Mode
ASCII
Both <Es> ‘Y
Decimal
27 57
Hexadecimal
1B 39
Causes the printer to stop printing before the end of the paper.
Overrides the setting of EDS switch E-2.
Set vertical tab stops
Mode ASCII
Both &SC> “B” nl
Decimal Hexadecimal n2 . . . . co> 27 66 nl n2 . . . 0 1B 42 nl n2 . . 00
Cancels all current vertical tab stops and sets new vertical tab stops at lines nl, n2, etc., where nl, n2, etc. are numbers between 1 and
255. A maximum of 16 vertical tab stops can be set. The tab stops must be specified in ascending order, any violation of ascending order terminates the tab stop list. Standard termination is by the <o> control code. The vertical tab stops ate set in tenns of the current line spacing and do not move if the line spacing is changed later.
95
--
Set vertical tab stops every n lines
Mode ASCII std. cESC> “e” cl> n n
Decimal
27 101 49
27 101 1 n n
Hexadecimal
18 66 31
1B 66 01 n n
Cancels all current vertical tab stops and sets new tab stops every n lines, where n is between 1 and 127.
Set vertical tab stops in channel
Mode ASCII
Both
cEsc> “b” n0 nl
?l2 . . . . -co>
Decimal
27 98 n0 nl n2 . . . . 0
Hexadecimal
1B 62 n0 nl n2 . . . 00
Cancels all current vertical tab stops in channel n0, (where n0 is between 0 and 7) and sets new vertical tab stops in this channel. (A channel is a set of vertical tab stops selected by the 430 “I’ command.) See &SC> “B” for parameters nl, n2, . . . co>.
Select vertical tab channel
-
Mode ASCII
Std. <Esc> “/’ no
Decimal
1 27 47 n0
Hexadecimal
1B 2F n0
Selects a set of vertical tab stops designated by a channel number
(n0) from 0 to 7. The tab stops in each channel are set by <ES- ‘9-T.
Vertical tab
Mode ASCII
Both <VT>
Decimal
11
Hexadecimal
OB
Feeds the paper to the next vertical tab stop and moves the print position to the left margin. Performs a line feed if no vertical tabs are set, as at power-up. Feeds to the top of the next page if vertical tabs are set but the current line is at or below the last vertical tab stop.
_
-.
HORIZONTAL POSITION COMMANDS
Set left margin
Mode ASCII
Std. <Esc> “1” n
Decimal
27108 n
Hexadecimal lB6C n
Sets the left margin at column n (where n is between 0 and 255) in the current character pitch (pica pitch if proportional spacing is selected). The left margin does not move if the character pitch is changedlater.The leftmarginmustbe atleasttwocolumns totheleft of the right margin and within the limits below:
Printer Type Normal Carriage
Pica
Elite
Semi-condensed
Condensed pica
Odns76
OSnS91
OInSl14
Osn~130
Condensed elite
Expanded pica
Expanded elite
OIngl52
Osn538
Oln545
Expanded semi-condensed OlnS57
Expanded condensed pica OlnS4
Expanded condensed elite OIns76
Wide Carriage
Osns;132
Osn 5158
Osn1;198
OSn 5226
OlnS255
OSnS66
OdnS79
OSn599
OI;nr113
Odn1132
97
Set right margin
Mode ASCII
Std. cESC> “Q” n
Decimal
27 81 n
Hexadecimal
1B 51 n
Sets the right margin at column n in the current character pitch (pica pitch if proportional spacing is curtentl y selected). Column nbecomes the last character position in the line.
The right margin does not move if the character pitch is changed later. The right margin must be within the limits below:
Printer Type Normal Carriage
Pica
Elite
Semi-condensed
4SnS80
5SnS96
6Sn6120
Condensed pica
Condensed elite
Expanded pica
7SnS137
8SnSl60
2SnS40
Expanded elite 3zSni48
Expanded semi-condensed 3SnSKl
Expanded condensed pica 4SnS68
Expanded condensed elite 4Sns80
Wide Carriage
4SnS136
5SnS163
6SnS204
75nS233
8snS255
2SnS68
35nS81
34nS102
4sn5116
4sn5136
Set left and right margins
We ASCII
IBM <ESC> “X” nl n2
Decimal
27 88 nl n2
Hexadecimal
1B 58 nl d
Sets the left margin at column nl and the right margin at column n2.
See the preceding commands formargintestrictions and othernotes.
Carriage return
-
Mode ASCII
Both <CR>
Decimal
13
Hexadecimal
00
Prints the current line and n9nns the next print position to the left margin. If EDS switch F- 1 is set to “AUTO-LF ON”, also performs a line feed.
-
Set automatic line feed
Mode ASCII
IBM <ESC> “5” <l>
Decimal
27 53 1
Hexadecimal
1B 36 01
Causes the printer to perform both a carriage return and line feed eachtimeitteceivesa<CR>code.Thiscommandtakespriotityover
EDS switch F- 1.
Cancel automatic line feed
Mode ASCII
IBM <EN.!> “5” <o>
Backspace
Mode ASCII
Both CBS>
Decimal
8
Hexadecimal
08
Moves the print position one column to the left. Ignored if the print position is at the left margin. This command can be used to overstrike or combine characters.
Left justify
Mode ASCII
Std. &SC> ..,.. ‘0’
<ESC>
“a” <o>
Decimal
27 97 48
27 97 0
Hexadecimal
1B 61 30
1B 61 W
Aligns subsequent text with the left margin, leaving the right margin w.%~.
Center text
Mode ASCII
Std. &SD “a” “1”
&SC>
“a” cl>
Decimal
27 97 49
27 97 1
Hexadecimal
1B 61 31
1B 61 01
Centers subsequent text between the left and right margins.
99
Right justify
Mode ASCII
Std. <ESC> “a” “2” cESC> “a” c2>
Decimal
27 97 54
27 97 2
Hexadecimal
1B 61 32
1B 61 02
Aligns subsequent text with the right margin, leaving the left margin wzw.
Full justify
Mode ASCII std.
<ESC> “a” “3”
<ES& “a” <3>
Decimal
27 97 51
27 97 3
Hexadecimal
1B 61 33
1B 61 03
Aligns subsequent text between the left and right margins.
Set horizontal tab stops
Mode ASCII
Both <ESC> “D” nl n2
. . db
Decimal Hexadecimal
Cancels all current horizontal tab stops and sets new tab stops at columns nl, n2, etc. in the current character pitch (pica pitch if proportional spacing is currently selected), where nl, n2, etc. are numbers between 1 and 255. The maximum number of horizontal tab stops allowed is 32 in Standard mode and 64 in IBM mode. The tab stops must be specified in ascending order; any violation of ascending order terminates the tab stop list. Standard termination is by the <o> control code. To clear all tab stops, specify &SC> “D”
<o>.
Set horizontal tab stop every n columns
Mode ASCII std. - cESC> “err “0” n
<Es5 “err CO> n
Decimal
27 101 48
27 101 0 n n
Hexadecimal lB6630 lB66W n n
Cancels all current horizontal tab stops and sets new tab stops every
n columns, where n is between 1 and 127.
-
-
--
-
-~
100
Reset all tab stops
Mode
IBM
ASCII cESC> “R”
Decimal
27 82
Hexadecimal
18 52
Resets the horizontal tab stops to their power-up values in which a tab stop is set every 8 column starting at column 9. Also clears all vertical tab stops.
Horizontal tab
Mode
Both
ASCII
<HT>
Decimal
9
Hexadecimal
09
Moves the print position to the next horizontal tab stop. Ignored if there is no next horizontal tab stop in the current line. Note that when underlining is selected, spaces skipped by horizontal tabulation are not underlined.
Relative horizontal tab
Mode
Std.
ASCII
<ESC> 7” nl n2
Decimal
27 92 nl n2
Hexadecimal
1B 5C nl n2
Moves the print position right or left a specified distance. Ignored if the resulting position is beyond the right or left margin. The formulas for the distance and direction are as follows:
If n2 is between 0 and 63, the print head moves right by (nl + n2 x
256) dots.
If you want to move the print head to the left, nl and n2 are obtained by subtracting the value from 65536, and dividing the result into high and low bytes.
Relative horizontal tab in inches
Mode ASCII
IBM <ESC> “d” nl n2
Decimal
27 100 nl n2
Hexadecimal
1B 64 nl n2
Sets the next print position to (nl + n2 x 256)/120 inches from the current position.
Ignored if this position is beyond the right margin.
101
Absolute horizontal tab in inches
Mode
Std.
ASCII
<ESC> ‘3” nl n2
Decimal
27 36 nl ni?
Hexadecimal
IB 24 nl n2
Sets the next print position to (nl + n2 x 256)/60 inches from the left margin on the current line. Ignored if this position is beyond the right margin.
Absolute horizontal tab in columns
Mode
Std.
ASCII
<ESC> “f’ “0”
&SC> "f' <O> n n
Decimal
27 102 48
27 102 0 n n
Hexadecimal lB6630 lB6600 n n
Moves the next print position to column n from the left margin, where
n is between 0 and 127.
-
-
102
GRAPHICS COMMANDS
Print normal-density g-bit graphics
Mode
Both
1
ASCII cESC> “K” nl n2 ml m2 .
Decimal
27 75 nl ni? ml m2 .
Hexadecimal
1B 48 nl n2 ml m2
J
Prints bit-image graphics at 60 dots per inch horizontally. The graphic image is 8 dots high and nl + n2 x 256 dots wide. Maximum width is 8 inches (480 dots) for normal carriage printer, and 13.6 inches (8 16 dots) for wide carriage printer. ml, m2, . . . are the dot data, each a 1 -byte value from 0 to 255 representing 8 vertical dots, with the most significant bit at the top and the least significant bit at the bottom. The number of data bytes must be nl + n2 x 256. Dots beyond the right margin are ignored. At the end of bit-image printing the printer returns automatically to character mode.
Print double-density 8-bit graphics
Mode
Both
ASCII
&SC> “L” nl n2 ml m2 .
Decimal
27 76 nl n2 ml m2 .
Hexadecimal
1B 4C nl ni? ml m2 .
Prints bit-image graphics at 120 dots per inch horizontally (maxi- mum 960 dots wide for normal carriage printer, 1632 dots for wide carriage printer). See <ES0 “K” for other information.
Print double-density, double-speed 8-bit graphics
Mode
Both
ASCII
<Esc> “Y nl ?l2 ml m2 . . .
Decimal
27 09 nl n2 ml m2 . . .
Hexadecimal
1B 5Q nl n2 ml m2 . . .
Prints bit-image graphics at 120 dots per inch horizontally (maxi- mum 960 dots wide for normal carriage printer, 1632 dots for wide carriage printer), skipping every second dot in the horizontal di- rection. See <ES0 “K” for other information.
_.-
Print quadruple-density 8-bit graphics
Mode
Both
ASCII cESC> 3” nl n2 ml m2 .
Decimal
27 90 nl n2 ml m2 . . .
Hexadecimal
1B 5A nl n2 ml m2 . . prints bit-image graphics at 240 dots per inch horizontally (maxi- mum 1920 dots wide for normal carriage printer, 3264 dots for wide carriage printer), skipping every second dot in the horizontal di- rection. See <ESC> “K” for other information.
Print hex-density 24-bit graphics
.-
Mode
Std.
ASCII cFS> ‘z” nl n2 ml m2 m3 . . .
Decimal Hexadecimal
28 90 nl n2 1C 5A nl n2 ml m2 m3 . . . ml m2 m? . . .
Prints 24-bit dot graphics at 360 dots per inch horizontally. The graphics image is 24 dots high and nZ + n2 x 256 dots wide. Maxi- mum width is 8 inches (2880 dots) for normal carriage printer, and
13.6 inches (4896 dots) for wide carriage printer. In the data ml, m2, m3 . . . each three bytes represent 24 vertical dots. In the leftmost position, the most significant bit of ml is the top dot; the least sig- nificant bit of ml is the eighth dot from the top; the most significant bitofm2istheninthdot;theleastsignificantbitof~isthesixteenth dot from the top; the most significant bit of m3 is the seventeenth dot from the top; the least significant bit ofm3 is the bottom dot. The rest of data is similar. The number of data bytes must be 3 x (nl + n2 x
256). Dots beyond the right margin are ignored. At the end of dot graphics printing, the printer returns automatically to character mode.
Select graphics mode
-
-
-
-
-
-
-
-
-
Mode
Both
ASCII
<ES6 I‘*” n0 n2 nl ml m2 .
Decimal
27 42 n0 nl n2 ml m2 . . .
Hexadecimal
1B 2A n0 nl n2 ml m2 . . .
Selects one of eleven graphics modes depending on the value of nO and prints bit-image graphics in this mode. See <ESC> “K” (for 8- bit graphics) or <FS> “2” (for 24-bit graphics) for information on nl, n2, ml, m2, . . .
104
n0 Graphics mode
0 8-bit Normal-density (60 dots per inch)
1 8-bit Double-density (120 dots per inch)
2 8-bit Double-density, double-speed (120 dots per inch)
3 8-bit Quadruple-density
4 8-bit CRT graphics, mode I
6 8-bit CRT graphics, mode II
32 24-bit Normal-density
(240 dots per inch)
( 80 dots per inch)
( 90 dots per inch)
( 60 dots per inch)
33 24-bit Double-density
38 24-bit CRT graphics
39 24-bit Triple-density
(120 dots per inch)
( 90 dots per inch)
(180 dots per inch)
40 24-bit Hex-density (360 dots per inch)
Select graphics mode
Mode
IBM.
ASCII
<ESC> “(.. “g” nl n2 m0 ml m2 . . .
Decimal Hexadecimal
28 91 103 nl n2 1B 58 67 nl n2 m0 ml m2 . . . m0 ml m2 . . .
Selects one of eight graphics modes depending on the value of m0 and prints dot graphics in this mode. The graphics image is (nl + n2 x 256) - 1 dots wide. See <ESC> “K” (for 8-bit graphics) or d;S>
7” (for 24-bit graphics) for information on ml, m2, . . . mo
0
1
2
3
8
9
11
12
Graphics mode
8-bit Normal-density
8-bit Double-density
(60 dots per inch)
(120 dots per inch)
8-bit Double-density, double-speed (120 dots per inch)
8-bit Quadruple-density (240 dots per inch)
24-bit Normal-density
24-bit Double-density
24-bit Triple-density
24-bit Hex-density
( 60 dots per inch)
( 120 dots per inch)
(180 dots per inch)
(360 dots per inch)
105
Convert graphics density
Mode
Std.
ASCII
<ESC> I’?.’ n m
Decimal
2763 nm
Hexadecimal lB3F nm
Converts graphics defined by subsequent <ES0 “K”, <ESC> “L”,
&SC> “Y” or &SC> “Z” commands to a density mode defined by
<ESC> “**‘. n is ‘K’, “ L”, “Y” or ‘7, indicating the mode to be converted. m is a code from <o> to <4> or <6> indicating one of the modes of <ES0 “*“.
-
-
-
-
-
-
-
-
-
-
-
-
DOWNLOAD CHARACTER COMMANDS
Define download characters
,
Mode
Std.
ASCII
<ESC> “gi” <o> nl n2 m0 ml m2 dl d2 . . . dx
Decimal
27 38 0 nl n2mOmlm2 dl d2 . . . dx
Hexadecimal
1B 26 00 nl n2mOmlm2 dl d2 .,. dx
Defines one or more new characters and stores them in RAM for later use. EDS switch A-2 must be set to “RAM DOWNLOAD”; oth- erwise RAM is used as an input buffer, not downloading characters, and this command is ignored.
nZ is the character code of the first character defined and n2 is the character code of the last character defined. nZ must be equal to or less than n2.
The data for each character start with three bytes specifying propor- tional spacing attributes: the first byte, mO, specifies the left of the character, the second byte, ml, specifies the character width; the third byte, m2, specifies the right of the character.
These values must not exceed the following maximum limits: r
Character mode
LQ semi-cond
LQ proportionat
. .
1 37 (
I “I
4L
LQ prop. superlsubscrint I 37 I
4L I
Next comes the dot data. Normal character height is 24 dots, so there must be 3 x ml bytes of dot data. If the printer is in super/subscript mode, however, the character height is 16 dots, so there must be 2 x ml bytes of dot data.
Each data byte indicates eight vertical dots, with the most significant bit being the top dot, and the least significant bit being the bottom dot.
For further details, please refer to chapter 8.
107
.-
Define download characters
Model ASCII
IBM
.&SC> “z” nl & “#’ n3 w# <o> ns ml m2 m!J dl d2 -** . . . dx
1 Decimal
27 61nln2 dn4 on5
1 Hexadecimal
35 lB3Dnln2 ml m2 . . . m9 dl d2 . . . dx
23 n3n4 oon5 mlm2 . ..m9 dl d2 . . . dx
1
Defines new characters and stores them in RAM for later use. EDS switch A-2 must be set to “RAM DOWNLOAD”; otherwise RAM is used as an input buffer, not downloading characters, and this com- mand is ignored.
Downloading characters in IBM mode requires Dot Pattern data and
Character Index Table data.
Dot Pattern data controls which pins fire when printing a character.
Index Table data is placed in a “lookup table” that provides infor- mation on where Dot Pattern data is stored in memory and defines certain attributes of the character.
(nl + n2 x 256) give the number of bytes to be downloaded. n3 and n4 indicate the low order and high order addresses in which data is to be stored. n3 should be 15 and n4 should be 128 for this printer. n5 determines the character mode to be downloaded, as shown below: n.5 Character mode Character width
0 Draft
1 LQ pica
10
36
2 LQ proportional
3 LQ elite
18-42
30
ml through m9 indicate Index Table data.
ml and m2 indicate the address where Dot Pattern is stored. ml is the high-order byte. m3 indicates the number of columns in the character memory, and m4 indicates the number of columns in the character less 1.
-
.-.
-
-.
-
-
-
-
108
m5 throughm9 arecompressionmaskbits. Datacompressionallows the efficient use of memory in storing downloaded characters pro- viding space for mom characters than would be available without compression. The printer repeats the previous dot column in the current column when the current column compression mask bit is set to 1.
It is necessary to define all of Index Table data before the Dot Pattern data to download many characters. dl, &, . . . dx is the Dot Pattern data being downloaded.
Each data byte indicates eight vertical dots, with the most significant bit being the top dot, and the least significant bit being the bottom dot.
Copy character set from ROM into RAM
Mode
Std.
ASCII
<ESC> ‘I:‘. <o> n <o>
Decimal
27 58 0
Hexadecimal n 0 lB3A 00 n 00
Copies the selected character set with n, as shown below, to the corresponding download character RAM area, overwriting any download data already present. Ignored when EDS switch A-2 is not set to “RAM DOWNLOAD”.
n Font
0 Roman
1 Sanserif
2
3
4
5
6
Courier
Prestige script
OCR-B
OCR-A
(Option)
(Option)
7 Orator
8 Orator 2 (Option)
9 TW-Light (Option)
10 Letter Gothic (Option) n Font
11 Blippo
12 H-Gothic
13 Orane
14 Cinema
(Option)
(Option)
(Option)
15 CODE 39 (Option)
16 UPCZEAN (Option)
17 Old Style (Option)
18 Firenze (Option)
32 SLQ Roman
33 SLQ TW-Light
34 SLQ Script (Option)
109
Select download character set
Mode
Std.
ASCII cESC> “%” “1”
<ESC> “Q” cl>
Decimal
27 37 49
27 37 1
Hexadecimal
1B 25 31
1B 25 01
Selects the download character set. Ignored when EDS switch A-2 is not set to “RAM DOWNLOAD”.
Shift download character area
Shifts the download character area defined between 0 to 127 to the area between 128 to 255.
Select draft pica download character set
Mode
IBM
ASCII
<ESC> “I” <4>
Decimal
27 73 4
Hexadecimal
1B 49 04
Selects the download character set, draft quality, and pica pitch (10 cpi). Ignored if the FONT LOCK mode was selected during power-up or if EDS switch A-2 is not set to “RAM DOWNLOAD”.
Select draft elite download character set
Mode
IBM
ASCII
<ESC> “I” <FF>
Decimal
27 73 12
Hexadecimal
1B 49 OC
Selects the download character set, draft quality, and elite pitch (12 cpi). Ignored if the FONT LOCK mode was selected during power-up or if EDS switch A-2 is not set to “RAM DOWNLOAD”.
-
-
-.
-
110
Select draft condensed download characters
Mode ASCII
IBM cESC> “I” <DC4>
Decimal
27 73 20
Hexadecimal
1B 46 14
Selects the download character set, draft quality, and condensed pitch (17 cpi). Ignored if the FONT LOCK mode was selected during power-up or if EDS switch A-2 is not set to “RAM DOWNLOAD’*.
Select L Q pica download characters
Mode
IBM
ASCII
&SC> "I" <6>
Decimal
27 73 6
Hexadecimal
1B 46 06
Selects the LQ download character set with pica pitch (10 cpi).
Ignored if the FONT LOCK mode was selected during power-up or if
EDS switch A-2 is not set to “RAM DOWNLOAD”.
Select LQ elite download characters
Mode ASCII
IBM <ESC> “I” <So>
Decimal
27 73 14
Hexadecimal
1B 46 OE
Selects the LQ download character set with elite pitch (12 cpi).
Ignored if the FONT LOCK mode was selected during power-up or if
EDS switch A-2 is not set to “RAM DOWNLOAD”.
Select L Q condensed download characters
Mode ASCII
IBM <ESC> “I” cSYN>
Decimal
27 73 22
Hexadecimal
1B 46 16
Selects the LQ download character set with condensed pitch (17 cpi). Ignored if the FONT LOCK mode was selected during power-up or if EDS switch A-2 is not set to “RAM DOWNLOAD”.
Select LQ proportional download characters
Mode ASCII
IBM <ESC> “I” <7>
Decimal
27 73 7
Hexadecimal
1B 46 07
Selects the LQ download character set with propottional pitch.
Ignored if the FONT LOCK mode was selected during power-up or if
EDS switch A-2 is not set to “RAM DOWNLOAD”.
111
--
Select ROM character set
Mode
Std.
ASCII
<ESC> “%” “0”
<ESC> “%” CO>
Decimal
27 37 40
27 37 0
Hexadecimal
18 25 30
IB 25 00
Stops using the download character set and returns to the built-in
ROM character set. Ignored when EDS switch A-2 is not set to
“RAM
DOWNLOAD”.
COLOR SELECTION COMMANDS
Select print color
IMode 1 ASCII
1 Both 1 <ESC> Y’ n
1 D ecimal
1 27 114 n
1 Hexadecimal
IiB72n
Selects the printing color according to the value of n, as shown below. Ignored if the color ribbon is not installed. n Color
0 Black
1 Magenta
2 cyan
3 Violet
R Color
4 Yellow
5 Orange
6 Green
I
1
Select print color
Mode ASCII
‘Both “(9. “(9. “C”
“),, .‘),,
Decimal Hexadecimal d 40 40 67 41 41 d 28 28 43 29 29 d
Changestheprintingcoloraccordingtothevalueofd,asshownbelow.
Ignored if the color ribbon is not installed. d Color
0 Black
1 Magenta
2 cyan
3 Violet d Color
4 Yellow
5 Orange
6 Green
-
-
-
112
OTHER PRINTER COMMANDS
Set MSB to I
Mode
Std.
ASCII cESC> “>*’
Decimal
27 62
Hexadecimal
1B 3E
Sets the most significant bit of each subsequent byte received to 1, allowing users with a 7-bit interface to access characters with ASCII codes greater than 127.
Set MSB to 0
Mode
Std.
ASCII
&SC> “z”
Decimal
27 61
Hexadecimal
1B 30
Sets the most significant bit of each subsequent byte received to 0.
Accept MSB as is
Mode
Std.
ASCII
<Esc> w”
Decimal
27 35
Hexadecimal
1B 23
Cancels the preceding commands and accepts the most significant bit as it is sent to the printer.
Delete last character sent
Mode
Std.
ASCII
<DEL>
Decimal
127
Hexadecimal
7F
Deletes the last character received. Ignored if the last character received has already been printed, or if the last character received was all or part of a command.
Cancel last line
Mode
ASCII
Both <CAN>
Decimal
24
Hexadecimal
16
Deletes the last line currently present in the print buffer.
Set printer off-line
Mode
Std.
IBM
ASCII
<Jx!3>
<Esc> "Q" n
Decimal
19
27 61 n
Hexadecimal
13
18 51 n
Sets the printer off-line. The printer, disregards all subsequent characters and commands except <DCl>, which returns it to the on- line. The printer’s ON LINE indicator does not go off.
In the IBM mode, the value of n should be 36 for normal carriage printer, and 35 for wide carriage printer.
Set printer on-line
Mode
Both
ASCII
<Da>
Decimal
17
Hexadecimal
11
Returns the printer on-line state, allowing it to receive and process all subsequent characters and commands. This command is ignored if the printer was set off-line by pressing the ION on the control panel. button
Stop printing
Mode
IBM
ASCII
<ESC> “‘j”
Decimal
27 106
Hexadecimal
1B 6A
Prints the entire contents of the input buffer, then sets the printer off- line. The ON LINE indicator on the control panel goes off.
Bell
Mode
Both
ASCII
CBEb
Decimal
7
Sounds a brief beep tone from the printer.
Hexadecimal
07
-
114
Bi-directional printing
Mode
Both
ASCII
<ESC> “U” “0”
<ESC> "U" <o>
Decimal
27 85 48
27 85 0
Hexadecimal
1B 55 30
1B 55 00
Causes subsequent printing to be done in the normal bi-directional mode, which is faster than m&directional printing.
Uni-direc tional printing
Mode
Both
ASCII cESC> "u" cESC>
“1”
“U” <l>
Decimal
27 05 49
27 85 1
Hexadecimal
1B 55 31
1B 55 01
Causes subsequent printing to be done uni-directionally, ensuring maximum vertical alignment precision.
One-line uni-direc tional printing
Mode
Std.
ASCII
<ESC> “4
Decimal
27 60
Hexadecimal
1B 3C
Immediately returns the print head to the left margin, then prints the remainder of the line from left to right. Normal printing resumes on the next line.
Manual feed
Bo*
<ESC>
4.
I
,‘(,.
<EM><O>
“0” ..y. ,‘y.
I
Decimal
1 27 25 0
I 40 40 48 41 41
1 Hexadecimal
1 1B 19 00
I 28 28 30 29 29
Selects manual sheet feeding even when the optional automatic sheetfeederismounted. IgnoredifEDSswitchE-3issetto“ASFOFF”.
1
Auto feed
Mode
Borh
ASCII cESC> <EM> c4>
‘,(,. ..(.. “4” ,,y ,.yl
Decimal
27 25 4
40 40 52 41 41
Hexadecimal
1B 19 04
28 28 34 29 29
Selects the automatic sheet feeder. Ignored if EDS switch E-3 is set to “ASF OFF”.
115
Select ASF bin #I
Mode
Bo*
ASCII
&SC> cEM><l>
.,(., “(” II 1 1, “)” “)”
Decimal
27 25 1
40 40 49 41 41
Hexadecimal
10 19 01
20 28 31 29 29
Selects the ASF bin #l , and feeds paper from bin #l . Ignored if EDS switch E-3 is not set to “ASF-DUAL ON”.
Select ASF bin #2
Mode
Bo*
ASCII
<ESC> <EM> <2>
,‘(.. .,(., “2” ,,),. ‘,)..
Decimal
27 25 2
40 40 50 41 41
Hexadecimal
1B 19 02
28 28 32 29 29
Selects the ASF bin #2, and feeds paper from bin #2. Ignored if EDS switch E-3 is not set to “ASF-DUAL ON”.
Eject paper from ASF
Mode
Bo*
ASCII cESC> <EM> “R”
6‘ 11 6, 9, "R" ..),, ")"
Decimal
27 25 82
40 40 a2 41 41
Hexadecimal
10 19 52
28 20 52 29 29
Ejectsthecurrentpage. Ignored ifEDS switchE-3 is set to“ASFOFF”.
Set print start position on ASF
Mode ASCII
&SC> <EM> ‘T”
Both “(” ,.(,. ‘T” ‘.).. n
,,).. n
Decimal
27 25 04 n
4040844141n
Hexadecimal
1B 19 54
2028542929 n n
Skips n/6 inches at the top of the page, where n is equal to or greater than 1. Ignored if EDS switch E-3 is set to “ASF OFF”.
Reset printer
Mode
Both
Std.
ASCII
<ESC> “@I” cFS> “@”
Decimal
27 64
28 64
Hexadecimal
1B 40
1c 40
Reinitializes the printer. Clears the print buffer and returns settings to their power-up values. Does not clear the input buffer or change
ASF selections.
116
-
-
_
-.
..~.
-_
‘-
chapter 8
DOWNLOAD CHARACTERS
With this printer you can create new characters and symbols, download their dot data, and have them printed in place of selected characters in the regular character set. Characters that can be generated in this way range from simple but useful symbols like the check mark through to complex Chinese or
Japanese characters.
Regular characters ate permanently stored in the printer’s ROM, but char- aeters you design ate downloaded and stored in RAM for use.
Before you start to define your own characters, you must set the EDS switch
A-2 to “RAM DOWNLOAD”.
Otherwise, the RAM is used to store the input buffer, and the download commands are ignored.
DEFINING YOUR OWN CHARACTERS WITH
STANDARD MODE
Designing and printing your own characters has two requirements: first, designing the shape of the character, calculating the data necessary to make the shape, and sending that data to the printer, and secondly, sending the commandtoprintthedownloadedcharactersinsteadoftheregularcharacters.
There are a number of design constraints for download characters: l
The matrix or grid on which you design the characters depends upon the print mode as shown below:
Character mode
Draftcharacters
LQ pica characters
LQ elite characters
LQ semi-condensed
LQ proportional
Draft super/subscript
LQ super/subscript
LQ prop. super/subscript
Horizontal
9
31
27
19
37
7
19
37
Vertical
24
24
24
16
24
16
16
16
117
. The minimum width of a character is five dots. l
Dots cannot overlap.
9 You may define any position in the ASCII table.
Photocopy the grid in Figure 8- 1 to help design your new characters. We will use a tiny representation of a telephone symbol for our example.
-
Figure 8-l. Use this grid (or one similar to it) to define your own characters.
Assigning the character data
Now, we calculate the vertical numerical values of the columns of dots, and enter them underneath the grid. Each vertical column (which has a maximum of 24 dots) is first divided into three groups (or two groups for super/ subscripts) of eight dots. Each group of eight dots is represented by one byte, which consists of eight bits.
This is where the numbers down the left side of the grid come in. Notice that there is a number for each row of dots and that each number is twice the number below it. By making these numbers powers of two we can take any combination of dots in a vertical column and assign them a unique value.
118
_
Figwv 82 Telephone symbol witi normal LQ pica.
Assigning a value of character space
Besides being able to specify the actual width of the character, this printer allows you to specify the position in the standard grid where the character will print. You must specify the dot column in which the printed character starts and the dot column in which the character ends. Why, you may ask, would you want to define a character this way instead of merely defining the overall width of the character? Because this printer’s proportional character definitions can also be used to print normal width characters, and by centering even the narrow characters in the complete grid they will look good even you are not printing them proportionaly.
The three bytes are used to specify the width of the character and the space to be allowed on either side of it. The left space (in dot columns) is specified by m0 and the right space is specified by m2. The second byte (ml) specifies the width of the character in dots. By varying the width of the character itself andthespacesaround it, youcan actu~ycreateproportionalwidthcharacters.
119
When defining characters, the number of printed columns (ml), and the sum of side spaces and the character width (&I + ml + m2) cannot exceed the value shown below.
Character mode
Draft characters
LQ pica characters
LQ elite characters
LQ semi-condensed
LQ proportional
Draft super/subscript
LQ super/subscript
LQ prop. super/subscript
ml mO+ml+m2
37
7
19
37
9
31
27
19
12
36
30
24
42
12
36
42
Sample program
To demonstrate how to use the download characters, let’s use the “telephone” character and the other user-defined characters to print a small graph. This program will do just that:
1000 WIDTH "LPT1:".255
1010 LPRINT CHRf(27);"xl":
1020 LPRINT CHR$(27);*&~:CHRS(O):
1030 LPRINT CHRS(60);CHRS(61);
1040 FOR N=60 TO 61
1060 READ CW :LPRINT
1080 FOR M=I TO CW'3
1090 READ MM
1100 LFRINT CHRS(MM):
1110 NEXT M
1120 NEXT N
1130 LPRINT CHRS(27);"D";CHRS(ll);CHRS(O)
1140 LPRINT CHRS(27);"k":CHRS(4):
1150 LPRINT CHRS(27);"h";CHRS(l);
1160 LPRINT u DIFFUSION RANGES OF"
1170 LPRINT u CARS & TELEPHONES"
1180 LPRINT CHR$(27);"h";CHRS(O)
1190 LPRINT CHRS(27);"k";CHRS(O);
200 LPRINT CHR$(27);"X";CHR$(l);
210 LPRINT "USA":CHRS(9):
220 FOR I=0 TO 681 STEP 25 :LPRINT
1230 LPRINT
240 LPRINT CHR$(9);
250 FOR I=0 TO 781 STEP 25 :LPRINT
260 LPRINT
270 LPRINT "GERMANY";CHR$(9);
280 FOR I=0 TO 412 STEP 25 :LPRINT
290 LPRINT
300 LPRINT CHRS(9);
310 FOR I=0 TO 488 STEP 25 :LPRINT
320 LPRINT
120
-
1330 LPRINT "JAPAN" :CHRS(9):
1340 FOR I=0 TO 347 STEP 25 :LPRINT CHR$(60); :NEXT
1350 LPRINT
1360 LPRINT CHR$(9)
1370 FOR I=0 TO 493 STEP 25 :LPRINT CHR$(61): :NEXT
1380 LPRINT
1390 LPRINT CHR$(9):"+-";
1400 SCALES="+-+-"
1410 FOR I=2 TO 8 :LPRINT SCALES; :NEXT
1420 LPRINT "+-+"
1430 LPRINT CHRS(9);"O ";
1440 FOR I=1 TO 8
1460 NEXT I
1470 LPRINT CHRS(27);"X":CHRO(O)
1480 LPRINT CHRS(27);"M":
1490 LPRINT CHRS(27):"S'~:CHRS(O):
1500 LPRINT CHR$(9):"(100 UNITS/1000 PERSONS)"
1510 LPRINT CHRS(27):"T";
1520 LPRINT CHR$(27):"@"
1530 END
2000 ' DATA
2010 1 Telephone Symbol
2020 DATA 3. 31, 2
2030 DATA 0, 0, 0, 7, 0, 0, 8, 0, 0, 23, 0,
2040 DATA 19, 15,192, 40, 16, 0, 80, 47,192, 32. 80,
0, 40. 0, 0
0, 80,175,192
2050 DATA 47, 80, 0, 80.175.192. 47, 80, 0, 80,163,
2060 DATA 80.163.192. 33, 64, 0, 80.163.192, 47, 80,
92, 33, 64, 0
0, 80.1 75.192
2070 DATA 47, 80. 0, 80.175.192, 32, 80, 0, 80, 47,
2080 DATA 19, 15,192. 40, 0, 0. 23. 0, 0, 8, 0,
92, 40. 16. 0
0, 7, 0, 0
2090 DATA 0, 0, 0
2100 * Car Symbol
2110 DATA 3, 31, 2
2120 DATA 0. 0. 0. 0, 30, 0, 0, 0, 0, 0, 60,
0, 0,
3. 0
2130 DATA 0,252,128, 0, 3, 64, 1.252,128, 2, 3.
64, 5, 24,128
2140 DATA 10, 3, 0. 20,124, 0, 40, 0, 0, 80,126,
2150 DATA 64.126. 0. 63.128. 0. 64,126. 0. 63,128,
0. 32, 0,
0, 64,124,
0
0
2160 DATA 32. 3. 0, 64,124,128, 32, 3, 64, 64,124,128, 48. 3, 64
2170 DATA 76,124,128, 51. 3, 0, 12,252, 0, 3, 0, 0. 0,254, 0
2180 DATA 0, 0, 0
USA
GERMANY
JAPAN
DIFFUSION
RANGES OF
CARS & TELEPHONES
ttttttttt~~ttttttttttttttttt
RRR(PL)R~RRRRRRRRRRR~~~~~~~~~~~~~~ ttttttttttttttttt
RR4MRRu4MRRRRRRRRRRR ttttstttttsttt
RRMbRRRRRRR4RRRRRRRR
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
0 12 3 4
(100 UNITS/1000 PERSONS)
5 6 7 8
121
DEFINING YOUR OWN CHARACTERS WITH IBM
MODE
Downloading fonts in IBM mode requires downloading character Dot
Pattern data and character Index Table data. Dot pattern data controls which pins fire when printing a character. Index Table data is placed in a “lookup table” that provides information on where Dot Pattern data is stored in memory and defines certain attributes of the character.
Assigning the download character set
You can define one of more download character sets for later use in IBM - mode.
Before you start to design your characters, you must define what character set(s) you want to download.
The character width on which you design the characters depends upon the character set as shown below:
Character set
Draft characters
LQ pica characters
LQ elite characters
LQ proportional
Character width Character ID
9
35
29
17-41
0
1
2
3
After you have decided your download character set, you must tell the printer where the download character data to be stored, and how many download character sets you will define.
The first download font area starts from c8OOF>h, and you must enter 0 for the Format byte.
This Format byte indicates the printer that the RAM is stored the download - character set.
Following the format byte, you must enter the Character ID data. If you want to define mom character set, add 128 to the Character ID data.
The second area starts from ~89 11 >h, the third area starts from c92 12>h, and the last area starts from <9B 13>h. But you need not enter Format byte for these area.
122
Assigning the character dot pattern
We will use a tiny representation of a telephone symbol for our example.
JL
16
8
4
2
1
After you have designed the character pattern, you need to compress the Dot
Pattern.
Data compression allows you to store mote download characters than without compression. It is a more efficient use of memory. The printer will repeat the previous dot column when the current column compression mask bit is set to “1”.
Fill up the adjacent dot even they do not print, then compare the each vertical line to the left line. If the line is the same as the left one, write “1” in the column of the “compression mask bit”. If it is not, write “0”.
123
Figure S-4.
After you have written the “compression mask bit” data, line up all the character data for the “compression mask bit” that requires “0”. The telephone symbol looks like in Figure 8-5.
Figure S-5.
124
--
Now we calculate the vertical numerical values of the columns of dots, and enter them underneath the grid. Each vertical column is first divided into three groups of eight dots. Each group of eight dots is represented by one byte, which consists of eight bits.
That’s where the numbers down the left side of the grid come in Notice that there is a number for each tow of dots and that each number is twice the number below it. By making these numbers powers of two we can take any combination of dots in a vertical column and assign them a unique value.
Assigning the Index Table data
Unlike defining in the Standard mode, you must assign the Index Table with the IBM mode.
This Index Table is prepared for the information of each character attribute data, such as character type (Normal 24-dot high, or 30-dot high block graphics), the dot pattern data in the memory, and the compression mask bit data.
Each character requires 9 index table data.
The first and the second bytes (ml and m2) indicates the position of the first dot pattern in the memory. ml is the high order byte, and m2 is the low order byte.
The third byte, m3, indicates the character type and the dot pattern data width in the memory.
If the character is normal, simply, enter the width of dot pattern in the memory. If your character is block graphics, add 128 to the width of dot pattern in the memory.
Our telephone symbol is normal character and the width of dot pattern in the memory should be 25, so this value is 25.
This byte indicates the character width to be printed, and information of the repetition dots for block graphics characters.
If your character is a normal character, add 192 to the character width.
If your character is a block character, and it should be printed as line draw character, add 64 to the character width. If the block character is not a line draw character, this byte should be the same as the character width.
Our telephone symbol is normal pica character, so the character width is 35, and this byte should be 227.
125
bits. Each bits of this byte shows the data that will translate the compressed dot pattern data back to the original character pattern.
For example, the compression mask bits of our telephone symbol are
You must define the index table data for all characters from 0 to 255. If you do not want to define a particular character, enter 0 into that index table data.
Sample program
To demonstrate how to define and to use the download characters in IBM mode, let’s use the “telephone” character and the other user-defined char- acters to print a small graph. This program will do just that:
1000 WIDTH "LPT1:",25S
1010 LPRINT CHR$(27);"=";CHRf(164);CHR$(9);"X";
1030 '
1040 LPRINT CHR$(I);
1050 FOR I-O TO 59
1060 LPRINT STRINGS(9,O);
1070 NEXT I
1080 FOR IT=1 TO 9 :READ MM :LPRINT CHRS(MM) : :NEXT IT
I ; :NEXT IT
100 FOR I=62 TO 255
110 LPRINT STRINGS(9,O);
120 NEXT I
130 ' DOT PATTERN
140 FOR DP=l TO 159
150 READ MM
160 LPRINT CHRS(MM);
170 NEXT DP
180 ' PRINTOUT PROGRAM
190 LPRINT CHR$(27);"D":CHR$(l l);CHRS(O)
200 LPRINT CHRS(27);"k";CHRS(4
):
210 LPRINT CHR$(27);"h";CHR$(l
):
1220 LPRINT v DIFFUSION RANGE
1230 LPRINT u CARS & TELEPHONES
1240 LPRINT CHR$(27):"h";CHRS(O);
1250 LPRINT CHR$(27):"k";CHR%(O)
1260 LPRINT "USA";CHR$(9);
1270 LPRINT CHR$(27):"I";CHRS(6):
1280 FOR I=0 TO 681 STEP 25 :LPRINT CHRS(60);
1290 LPRINT
1300 LPRINT CHRS(9);
1310 FOR I=0 TO 781 STEP 25 :LPRINT CHR$(61);
1320 LPRINT CHR$(27):"I";CHR$(Z)
1330 LPRINT "GERMANY";CHR$(9);
1340 LPRINT CHR$(27):"I";CHRS(6);
1350 FOR I=0 TO 412 STEP 25 :LPRINT CHRS(60);
1360 LPRINT
1370 LPRINT CHRS(9);
1380 FOR I=0 TO 488 STEP 2.5 :LPRINT CHR$(61);
1390 LPRINT CHR$(27):"I":CHR$(Z)
1400 LPRINT "JAPAN";CHR$(9);
1410 LPRINT CHR$(27);"I";CHR$(6);
1420 FOR I=0 TO 347 STEP 25 :LPRINT CHRS(60);
:NEXT I
NEXT I
NEXT I
NEXT I
NEXT I
126
Y
1430 LPRINT
1440 LPRINT CHR$(9);
1450 FOR I=0 TO 493 STEP 25 :LPRINT CHRS(61); :NEXT I
1460 LPRINT CHR$(27);"I";CHR$(2)
1470 LPRINT CHR$(9);"+-";
1480 SCALES="+-+-"
1490 FOR I=1 TO 7
500
510
LPRINT
LPRINT
“+-•+”
CHR$(9);"0 ';
520
530
FOR I=l
LPRINT
TO 8
II
:I:
:LPRINT SCALE$;
540 NEXT I
550 LPRINT CHR$(27);“:”
570
LPRINT
LPRINT
CHR$(27);"S";CHRS(O);
CHRS(9);" (100 UNITS/l 000 PERSONS)"
580 LPRINT
590 LPRINT
END
CHR$(27);"T";
CHRS(27);"@"
:NEXT I
000 ' DATA
010 ' Index Table Data
020 DATA 137. 17, 25,227, 96, 4,242, 0, 96
030 DATA 137, 92, 28,227, 96. 0, 80. 64, 96
2040 * Dot Pattern Data
2050 * Telephone symbol
2060 DATA 0, 0, 0, 7, 0, 0, 15, 0. 0, 31, 0. 0, 59, 0, 0
2070 DATA 59, 15,192, 56, 31,192,112, 63,192,112,127,192,112,255,192
2080 DATA 127.255,192.127,243,192,113,227,192,127,243,192.127,255,192
2090 DATA 112,255,192,112.127.192.112, 63.192, 56, 31,192. 59, 15,192
2100 DATA 59. 0, 0, 31, 0, 0, 15, 0, 0, 7, 0. 0, 0, 0. 0
2110 e Car symbol
2120 DATA 0, 0. 0. 0, 30, 0, 0,
28,
0, 0,
60,
0. 0, 63, 0
2130 DATA 0,255,128, 0.255.192. 1.255,192. 3.255.192, 7.127,128
2140 DATA 14,127, 0, 28.124, 0, 56,124, 0.112.126, 0. 96,124, 0
21.50 DATA 127,254, 0,127.252, 0, 96.124, 0. 96.127. 0, 96.127.128
2160 DATA
2170 DATA
96,127,192.112.127,192,124.127.128,
3,124. 0, 0,254, 0, 0, 0, 0
63,127, 0. 15,124. 0
127
MEMO
chapter 9
MS-DOS AND YOUR PRINTER
When using your printer with an IBM PS/2, PC-AT or compatible, you will probably be using PC-DOS or MS-DOS as an operating system. A number of software tricks may be useful here. This chapter is not, however, a substitute for the operating system manuals supplied with your computer.
To learn how to print files, etc. it is best to read the relevant parts of these manuals.
INSTALLING APPLICATION SOFTWARE WITH
YOUR PRINTER
When installing application software, you may find that your printer is not specifically mentioned inthelists ofprinters given for installation. However, this should pose no problem. Read this section, and guidelines provided with your software on printer installation.
Choose one of the following (in order of preference) according to your selected Emulation mode.
1 # [ Standard mode IBM mode
1 Star XB24-200/250 * Proprinter X24E/XL24E
2 Star XB24-IO/15
3 Star LC24-200 Color
* Proprinter X24/XL24
NOTE: * does not support color printing.
You can also select one of NEC 24-wire printers to print graphics in the
Standard emulation mode.
129
If your software package does not mention printers by name, but asks instead what features your printer is capable of, the most common questions are:
“Can your printer perform a backspace?” and “Can it do a hardware form feed?“. You should answer “Yes” to both these questions.
Other software packages may allow you to install specific features. Spreadsheet programs will often ask for the maximum number of columns to be printed.
This is given below.
CPI
Pica
Elite
Semi-condensed
Condensed pica
Condensed elite
Proportional
10
12
15
17.1
20
Number of columns
Normal type Wide type
80
96
120
136
163
204
137
160
Variable
233
272
Sometimes the software installation will ask you for an initialization sequence to return to the default settings. The command for your printer is cESC> @.
Make sure that the EDS switches are set for the correct printer emulation, and that you have selected the appropriate character set using the EDS switches.
If you are in doubt about the configuration of your application software, seek expert advice. Your software supplier will probably be your most qualified reference.
EMBEDDING PRINTER COMMANDS
Many word-processors and other software lack commands for changing font, printing double-size characters, or printing in color. Your printer therefore has commands that can be embedded in documents to control these functions without software help. The commands consist of a capital letter enclosed in double parentheses, followed by a digit:
Font: ((F))O w?) 1 mP
((F))3
((F))4
((F))5
CM
Roman
Sanserif
Courier
Prestige script
OCR-B
OCR-A
-
-
I.
((F))7
KF)P
((EN9
Orator
Orator 2
Draft
Size: ((WO
(W 1
Gw
((S))3
Standard size
Double width
Double height
Double width and height
Color: ((C))0
((C)P
((C))3
((C))4
((C))5
KC))6
Black
Magenta
Cyan
Violet
Yellow
Orange
Green
If you want to print a title in double-size Script, then change to regular-size fonts for other text, you can use these commands as follows:
File as seen on computer screen:
((F))4
Printer
((S))3 commands
((F))O ((S))O
Font commands ((F))lcan
((F))3anywhere ((F))9in
Printout:
P-
.
COW
be ((F))2embedded a document.
Font commands can be embedded anywhere in a document.
When you use these commands there are several points to note: l
The font ((F)) command is ignored if the
FONT LOCK mode was selected when power was switched on. l
The color ((C)) command is valid only when the color ribbon is installed. l
A line consisting of commands alone prints as a blank line.
131
!
[ f
/
/
j
1 r l
The software will not know that these are commands, so you cannot trust your software to give you the correct line width. The printed line may be considerably shorter than the line on the screen; the extra space being the space that was occupied by the commands.
One way to handle the last problem is to prepare your document without the commands, then insert them as a final step, with the margins released. The find, replace, and copy functions of word-processing software can be helpful here.
If you do not use these commands or the panel controls, the printer will print standard-size, Roman characters.
The printer supports various commands in addition to the above, such as quadruple-size printing. Most of these other commands consist of the escape code followed by one or more letters or numbers.
If your software enables you to place the escape code in your files, or if you are able to define this as a user option during installation, you can also embed these escape sequences.
PROGRAMMING THE PRINTER WITH DOS
COMMANDS
If your system includes the file PRINT.COM you can use the main DOS printing command. Simply type the word PRINT followed by the name of the file you want to print. To print a file named README.DOC, for example, tYPe:
A>PRINT README.DOC
The computer may respond with the following message, asking which - printer to use:
Name of list device [PRN]:
If your computer is connected to only one printer, press RETURN to select the default choice (PRN). Printing will begin and the A> prompt will reappear. You can execute other commands or programs while the file is being printed.
A single PRINT command can print two or more files. List the file names consecutively on the same line, or use wild-card characters (* and ?). Each file will be printed starting on a new page. The PRINT command also has
132
-
-
-
-
-
-
-
-
-
control options. For example, you can terminate a printing job in progress with the /T option. (The printer may not stop printing immediately as there may be considerable data stored ahead in its buffer.) For the /T option, type:
A>PRINT/T
See your DOS manual for further information about the PRINT command.
If your system does not include PRINT.COM, you can print files by using the
PRN device name in COPY or TYPE commands such as the following:
A>COPY README.DOC PRN
A>TYPE README.DOC >PRN
COPY and TYPE do not permit you to execute other commands while the file is printing.
If you want a particular font, or print pitch, you can make these settings from the control panel before you start printing. See Chapter 5.
If you print from the DOS command level very often, it will be advantageous to create a printer setup file. Then instead of setting font style etc. manually each time, you can complete the setup with a single command from your computer. For example, you can create a file containing printer commands to selectletterquality, and selectelitepitch withthe Standardmode. You can find the commands in Chapter 7. We suggest the following:
. Letter quality l
Elite pitch
CESCB “x” “1” cEsc> “!” <l>
<ES0 I‘!” <l> is a powerful command that, in addition to selecting elite pitch, cancels unwanted features such as underlining which might be left from previous commands. The angle brackets around the cl> indicate character code 1, which is a control code, not the printable digit “1”.
You may want to place additional commands in this file, such as left and right margins, line spacing and bottom margin commands. Or you may want to create a variety of setup files with a different set of commands in each.
To avoid excess line feeds, you should place the commands on one line in the setup file. You may or may not be able to generate a setup file with word- processing software; it depends on whether your software lets you enter control codes. If your system includes the file EDLIN.COM, however, you can easily create a setup ftIe with the DOS line editor.
133
An appropriate name for this setup file would be LQELlTE.DAT. To use the
DOS line editor, type the command EDLIN LQELlTE.DAT, then type the underlined parts of the following display. Press RETURN at the end of each line. Do not type the symbol “A”. This symbol means to hold the CTRL key down while pressing the next key: for example, “V means to type CXRL-V.
W means to type GIRL-C, which indicates the end of the input.
A>EDLIN LQELITE.DAT
New file
*r l:*^VTxl-V[!^VA
*V indicates that the following character is a control code. *V[ enters the
<ESC> code. <ESC> has character code 27, and “r‘ is the 27th character from A in the ASCII sequence. Similarly, *VA enters the control code cl>.
See your DOS manual if you need further information about EDLLN.
You can now set up the printer by sending it the file LQELlTE.DAT. To avoid unnecessary logging of commands, switch hard-copy output off (by pressing CI’RL-PRTSC if hard copy is on). To print the file README.DOC in LQ elite type, give the following two commands:
A>COPY LQELITE.DAT PRN
A>PRINT README.DOC
For greater convenience you can make a batch file that will set up the printer and print any specified file with a single command. To create such a batch tile with the name LQPRINT.BAT, type in the first four lines shown next.
*Z means to press the CTRL and 2 keys simultaneously. To use this file to print README.DOC, type the fifth line.
A>COPY CON LQPRINT.BAT
COPY LQELITE.DAT PRN
PRINT %1
^Z
A>LQPRINT README.DOC
The first line above is a copy command from the CONsole screen to a file named LQPRINT.BAT. The next two lines are the contents of this file. The
% 1 is a dummy parameter: whatever file name you type after LQPRINT will be substituted for %l and printed.
134
-
--
-
-
-.
_
-
PROGRAMMING WITH BASIC
As an example of programming the printer on Microsoft BASIC, we have listed the program for the IBM-PC. This program runs in the printer’s
Standard mode, and the downloadable condition.
1000 ’ set control codes
1010 E$=CHRS(27)
1020 D$=E$+“xO”
1030
LS=ES+“xl”+ES+“k”
1040 RMS=LS+CHRS (0)
1050 HSKHRS(9)
1060 PIS=ES+“P”
1070
1080
’ Start printing
1090 LPRINT
1100 LPRINT
1110 LPRINT
1120 LPRINT
1130 LPRINT
1140 LPRINT
1150 LPRINT
1160 LPRINT
1170 LPRINT
1180 LPRINT
1190 LPRINT
1200 LPRINT
1210 LPRINT
1220 LPRINT
1230 LPRINT
1240 LPRINT
1250 LPRINT
IIcHRs(O):”
,;D$;“Draft characters,“:
‘Escape code
‘Draft quality
‘Letter quality
‘Roman character
‘Horizontal tab
‘Pica pitch
Resident fonts are:”
,;LS;CHRS(l):” Sanserif characters.“;
,;LS;CHRS(Z);” Courier characters.”
,;L$;CHRS(4);” Script characters ,”
,:LS;CHRS(7):” Orator characters,“;
,:LS;CHR$(12):” H-Gothic characters,”
,;L$:CHR$(32);“SLQ Roman,“:
;;L$:CHRS(33):“SLQ TW-Light.”
RMS;“Print pitches are:”
HS;PI$;“Pica pitch (IO CPI) ,“;
HS;ES;“g”;“Semi-condensed
‘Set HT pitch (15 CPI) ,“;
1260 LPRINT
1270 LPRINT
1280 LPRINT
1290 LPRINT
1300 LPRINT
1310 LPRINT
1320 LPRINT
HS;PIS:
CHRS(I5); ‘Select condensed print
“Condensed pica pitch (17 CPI)
“M” : Condensed elite pitch (20 CPI:
HS;ES;“pl”;
PIS;“Normal proportional ,“;
‘Cancel condensed print
‘Select proportional spacing
1330 LPRINT
1340 LPRINT
1350 LPRINT
1360 LPRINT
1370 LPRINT
1380 LPRINT
1390 LPRINT
1400 LPRINT
CHRS(18);
E$:“pO” ‘Cancel proportional
HS;ES;“wl”;” Double-height ,“;ES;“wO”
HS;E$;“Wl”;” Double width, “:ES;“WO” spacing
1410 LPRINT
1420 LPRINT
CHRS(28) ;“E”;CHRS(O)
HS;ES:“h”;CHR$(I);“Double-sized,”
HS:E$;“h”:CHRS(2);“Quad-sized.“;
1430 LPRINT
1440 LPRINT
ES:“h”;CHRS(O)
1450
1460
LPRINT
LPRINT
ES:“Q”;CHRS(47) ‘Set right margin
RMS;“Various line and character spacings:”
‘Center text 1470 LPRINT ES:“al”
-- -
1480
1490 LPRINT ES;“A”;CHR$(I); ‘Line spacing set
‘Increase character space
1500 ” ” I) ;
1510 LPRINT “THE SPACINGS ARE CHANGED”
1520 NEXT I
1530 FOR I=7 TO 1 STEP -1
1540 ‘Line spacing set
1550 LPRINT ES;” “;CHRS(I);
1560 LPRINT “THE SPACINGS ARE CHANGED”
1570 NEXT I
‘Increase character space
1590 LPRINT E$;“3”;CHR$(30);
1600 LPRINT ES;” “;CHRf(O);
‘Left justify
‘Set l/6” line spacing
‘Normal character space
1610 LPRINT :LPRINT
620 LPRINT RM$:“Other features:”
630 LPRINT H$;E$:“q”:CHR$( 1) “;
640 LPRINT E$:“q”:CHR$(Z) ;“SHADOWED”;E$;“q”;CHR$(O) :‘I,
660 LPRINT ES:“q”:CHR$(O);“, ”
1670 LPRINT H$:E$:“E”:“Emphasized”;E$;“F”;“,
1680 LPRINT E$‘“G”.“Double-strike”
;
“;
;
1690 LPRINT E$I”4”I”Italics”;E$;“5”;“, ”
1700 LPRINT H$;E$:“-l”:“Underlining”:E$:“-0”:”. “;
1710 LPRINT E$;“(-“;CHRS(3):CHR$(O);CHRS(I):CHRS(2);CHRS(2);
1720 LPRINT “Strike-through”;
1730 LPRINT E$:“(-“;CHR$(3);CHR$(O);CHRf(2):CHR$(O):”,
1740 LPRINT E$;“(-“;CHR$(3);CHR$(O);CHRS(l);CHRS(3);CHRS(I);
1750 LPRINT “Overlining”:
1760 LPRINT E$;“(-“;CHRS(3):CHR$(O):CHR$(I);CHRS(3):CHR$(O);“,
1770 LPRINT HS:E$:“SO”;“SUPERSCRIPT”:E$:“T”:” and “;
“;
”
1800 SSS=ES+“SO”
1810 GOSUB 2520
,, ”
1790 LPRINT H$;RM$;:’ “;
‘Superscript
‘Select download character 1820 LPRINT ES:“%l”;
1830 FOR I=1 TO 5
1840 LPRINT CHRS(60) ‘Print download character
1850 NEXT I
‘Select normal character
‘Cancel superscript 1870 LPRINT ES ;“T”;
1880 GOSUB 2650
1890 LPRINT ES*“%l”*
1900 FOR I=1 TG 5 ’
‘Select download character
1910 LPRINT CHRS(60);
1920 NEXT I
‘Print download character
1940 SSS=E$+“S 1”
1950 GOSUB 2520
‘Select normal character
‘Subscript
‘Select download character
1970 FOR I=1 TO 5
1980 LPRINT CHRS(60);
1990 NEXT I
‘Print download character
‘Select normal character
‘Cancel superscript 2010 LPRINT E$:“T”
2020 LPRINT H$;RMS;“Dot graphics:”
2030 RESTORE 3170
2040 LPRINT ES;“A”:CHRS(8);
2050 FOR I=1 TO 3
2060 LPRINT E$;“fO”;CHR$(B);
2070 LPRINT E$:“*“:CHR$(33):CHRS(240)
2080 FOR J=l TO 240*3
‘Set 8/60” line spacing
;CHRS(O) :
2090 READ DAT
2100 LPRINT CHRS(DAT):
2110 NEXT J
2120 LPRINT
2130 NEXT I
‘Initialize printer
2150 END
2500 ’
2510 ’ SUBROUTINES
2520 Define super/subscript download character
2530 LPRINT SSS; ‘Select super/subscript
2540 LPRINT ES;“&“:CHR$(O);CHR$(60):CHR$(60);
2.550 RESTORE 3010
2560 READ LS :LPRINT CHR$(LS);
2570 READ
CW
:LPRINT CHRS(CW):
2580 READ RS :LPRINT CHRS(RS) ;
136
-
-
-
-
_-
-
-
c
%
.
L i
2590
2600
FOR M=I TO
CW*2
READ MM
2610 LPRINT CHR$(MMI;
2620
NEXT M
2630 RETURN
2640 ’
2650 ’
Define LQ pica download character
2660 LPRINT C$;
2670 LPRINT E$;"&";CHR$(O);CHR$(60):CHR$(60):
2680 RESTORE 3070
2690 READ LS :LPRINT CHR$(LS);
2700 READ CW :LPRINT CHR$(CW);
2710 READ RS :LPRINT CHRS(RS);
2720
FOR M=l TO CW*3
2730 READ MM
2740 LPRINT CHR$(MM):
2750
NEXT M
2760 RETURN
3000
' DATA
3010 ’
Super/subscript download character data
3020 DATA
3030
DATA
9, 19, 8
12, 0, 16, 0, 44, 0, 80,120. 32,128, 95,120, 32.128
3040 DATA 95,120, 32,128, 65,120, 32,128, 95,120, 32,128, 95.120
3050 DATA 32,128, 80.120. 44, 0.
16, 0, 12. 0
3060 ’
3070 ’
LQ pica download character data
3080 DATA
3, 31, 2
3090
3100 DATA 19, 15.192, 40, 16, 0,
80. 47,192, 32, 80, 0, 80,175,192
3110
DATA 0, 0, 0, 7. 0, 0. 8. 0, 0,
23, 0,
0. 40, 0, 0
DATA 47. 80, 0, 80,175,192, 47. 80, 0,
80,163,192, 33. 64, 0
3120
3130
3140
DATA 80,163,192, 33, 64, 0,
80,163,192, 47, 80. 0. 80,175,192
DATA 47, 80, 0, 80.175,192, 32, 80, 0,
80, 47,192. 40, 16, 0
DATA 19. 15,192, 40. 0, 0,
23, 0, 0, 8, 0, 0, 7, 0, 0
3150 DATA 0, 0, 0
3160
3170 '
Dot graphics data
3180 ' IST LINE
3190 DATA 0, 0, 0, 0, 0. 0, 0. 0. 0. 0. 0, 0. 0, 0. 0
3200 DATA 0, 0, 0, 0, 0. 0, 0, 0, 0. 0. 0, 0. 0. 0. 0
3210 DATA 0, 0. 0, 0, 0, 0, 0, 0, 0. 0. 0, 0. 0. 0, 0
3220 DATA 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0. 0, 0. 0
3230 DATA
3240
3250
DATA
0, 0, 0.
1,255,255,
0. 0. 0, 0, 0. 0.
0,127,255, 0.255.255
3, 0, 0, 7, 0, 0, 7, 0, 0. 15, 0. 0
DATA 31, 0. 0,
31, 0, 0, 31, 0, 0, 31, 0. 0, 31, 0, 0
3260 DATA 31, 0. 0,
31, 0, 0, 31, 0. 0, 31, 0. 0, 31, 0, 0
3270 DATA 31, 0, 0, 31, 0, 0,
31, 0, 0, 31, 0, 0, 31, 0, 0
3280 DATA 31. 0, 0. 31,128, 0,
31.224, 0, 31,248, 0, 31.255, 0
3290
3300
DATA 31,255,224, 15,255,248,
7,255,255, 1,255,255, 0.127,255
DATA 0,
7,255, 0, 0,255, 0, 0, 63. 0, 0, 63, 0. 0,248
3310 DATA 0,
3,192, 0. 63, 0. 0,248. 0, 1,128, 0, 3, 0. 0
3320
DATA 7, 0, 0, 15, 0, 0, 15, 0, 0, 31. 0, 0. 31, 0, 0
3330 DATA 31, 0, 0,
31, 0, 0, 31, 0, 0, 31, 0, 0, 31, 0, 0
3340
DATA 31, 0, 0, 31, 0, 0,
31, 0, 0. 31, 0, 0, 31, 0, 0
3350
DATA 31, 0, 0,
31, 0, 0, 31, 0, 0, 31, 0, 0, 31, 0, 0
3360 DATA 31,255,255, 31.255.255, 31,255,255, 31.255.255, 319255.255
3370 DATA 31,255,255, 15.255.255, 0. 0, 0, 0. 0, 0. 0. 0. 0
3380 DATA 0. 0, 0, 0, 0, 0, 0, 0. 0, 0, 0, 0, 0, 0, 0
3390 DATA 0, 0, 0, 0, 0, 0. 0, 0, 0, 0, 0. 0, 0. 0, 0
3400 DATA 0, 0. 0, 0, 0,
60, 0. 3,255, 0, 11.195. 0, 28, 0
3410
3420
DATA 0,
12. 0, 0, 96, 0, 0,192, 0, 0,192. 0, 1,128, 0
DATA 3. 0, 0, 3, 0, 0, 7, 0, 0, 7, 0, 0, 15, 0, 0
3430 DATA 15, 0, 0,
31, 0, 0. 31, 0, 0, 31, 0, 0. 31, 0, 15
3440
DATA 31, 0, 31, 31, 0,
31, 31, 0, 31, 31, 0, 31, 31, 0, 31
3450
DATA 31, 0, 31. 31, 0, 31, 31, 0, 31, 31, 0, 31, 31, 0, 31
3460 DATA 31, 0, 31, 31, 0,
31, 31, 0, 31, 31, 0. 31, 31, 0, 31
3470
DATA 31, 0, 31, 31, 0,
31, 31, 0, 31, 31, 0, 31, 31, 0, 63
3480 DATA 31,255,255, 31,255,255, 31.2559247, 31,255.231. 31,255,199
137
3490 DATA 15,255,135, 255, 7, 0. 0 3, 0. 0, 1. 0, 0, 0
3500 DATA
3510 DATA
0,
0,
0,
0,
0,
0. i:
0,
0, 0,
0, 0,
0. 0
0, 0
0,
0,
0,
0.
0,
0.
0,
09
0, 0, 0
0,254, 0
3520 DATA 1,255,240, 7, 0 63, 15, 0, 0,
3530 DATA 31, 0, 0, 31,
3540 DATA 31. 0, 0, 31,
0, 0, 31. 0
0, 0. 31, 0
3550 DATA 31,192, 0, 31, 0, 31,255
0, 31, 0.
0, 31,128,
0.
0,
255, 31.255.255, 31,255,255
3560 DATA 31.255.255, 7,255 255, 0,255,240,
3570 DATA 1,240, 0, 3, 0, 7. 0 0, 15, 0. 0, 31, 0, 0
3580 DATA 31. 0. 0, 31,
3590 DATA 31, 0. 0, 31.
0, 0, 31, 0
0. 0, 31, 0
3600 DATA 31,192. 0, 31, 0, 31,255
3610 DATA 31.255.255, 0,255
0, 31, 0.
0, 31,128,
0.
0,
0, 31.255,240,
255, 0.2559255.
31, 0,
31,128,
0
0
31.255.255
1.255.240
3620 DATA 3,192, 0,
3630 DATA 31. 0, 0,
7, 0,
31,
0
0, 0, ::: 0
3640 DATA 31, 0, 0, 31,
3650 DATA 31,255,2SS,
0, 0, 31, 0
31,255
0, 31,
0, 31,
0,
0,
0.
0.
0. 31, 0, 15,
255, 31,255,2SS,
31. 0, 0
31, 0, 0
31,135,255
31,255,240
3660 DATA 15,252, 0. 47. 128, 0, 0, 0 0, 0, 0, 0,
1,254, 0
0. 0, 0
3670 ' 2ND LINE
3680 DATA 0. 0, 0,
3690 DATA
3700 DATA
3710 DATA
3720 DATA
0.
0,
0,
0,
0,
0,
0,
0.
0,
0,
0,
0,
0,
::
0,
0,
0,
0,
0,
0,
0,
0. 0,
0
:: 0
0
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0.
0.
0, i:
0,
0
0:
0
0
0
3730 DATA 255.255.255,
3740 DATA 0, 0, 0,
3750 DATA 0, 0, 0,
3760 DATA 255,255,255,
3770 DATA 0, 3,255,
::
0.
0,
3780 DATA 0, 0, I). 0,
3790 DATA 254, 0. 0,
0,
0,
0,
0,
0,255,
0.
0,
0, 0,
0,
0.
0,
0,
0, 0
0. 0
0, 0, 0, 0,
0.255,255,255,
0, 0, cl
255,255,255
0, 0 0 0 0
0, 0
;: 0: 0: 0:
0, 0
7,255
0, 0, 0. 0,
255, 0,255,255,
0. 0
0. 0
0, 0, 0
0, 0, 0
31, 0, 0. 7. 0, 0, 0
0,224, 0, 0, 0, 0
0, 0, 0, 0. 0. 0, 0
3800 DATA
3810 DATA
0.
0,
0, 0,
1,255,
3820 DATA 255,255,255.
3830 DATA 0. 0, 0.
0,
0,
0.
0,
0,
0, 0.
15.255,
0, 0
0,127
0, 0, 0. 7,
255, 1,255,255,
0. 0, 63
15,255,255
0, 0,
0. 0,
0. 0
0, 0
0. 0, 0, 0
255,255
0,
0,
0,
0,
0.
0.
09
0.
0,
0,
0,
0,
0
0
0, 0, 0. 03
255,255.255.255,
0, 0, 0
255,255,255
3840 DATA 0. 0, 0,
3850 DATA 255,255,255,
3860 DATA 255.255.255.
3870 DATA
3880 DATA
0;
0,
0;
0.
255.
0;
0.
255.255.
0,
0,
0,
0,
0
0
3890 DATA 0. 7,224. 0. 63.252
3900 DATA 59. 0. 0. 30. 0. 0
0.
0.
0,
0
0,
0,
0.
0,
0.
0, 0, 0. 0, 0, 0
0, 0. 0. 0. 0, 0
128.120, 31. 92,224, 3, 97,128, 0
14. 0, 0,
0, 0, 0, 0, 0. 0
12. 0, 0, 12, 0, 0
3910 DATA 0, 0, 0, 0. 0, 0 0. 0, 0, 0, 0. 0. 0, 0. 0
3920 DATA 0. 0, 0. 0, 0, 0
3930 DATA 12&,127,128,128,127,128
0. 0. 0.
128,127,128,
0, 0, 0, 0, 63, 0
28,127,128,128,255,128
3940 DATA 223,255.128.255.255.128 255.255, 0, 24. 0,
3950 DATA 224, 0. 0,224, 0, 0,224, 0 0,224 0.
0,224,
0
0,
224. 0,
0
0
3960 DATA 224,
3970 DATA 224,
0,
0.
0.224,
1,224,
0,
0.
0.224,
3,240,
0
0
0.224
15,255
0, 0
255,255
224, 0, 0
255,255, 254
3980 DATA 255,255,254,255,255,252,255~2SS 248,255 255,224 255,255, 128
3990 DATA 0, 0, 0, 0, 0. 0. 0, 0 0. 0 0, 0 0, 0. 0
4000 DATA
4020 DATA
0. 0,
0, 63,
0,
0,
0.
0.
0, 0.
3,248.
0.
0.
0
4010 DATA 0. 0. 0, 0. 0, 0,240, 0
0, 0
0,255
0. 31, 0
0, 0
0 i: 3
0, 0,
15,248,
0, 0,
0
4030 DATA 0. 0. 0, 0. 0. 0. 0, 0. 0.
0
4040 DATA 0. 0, 0, 0. 0. 0. 0. 0.
255
4050 DATA 255,128, 0,240, 0, 0. 0. 0, 0.
0
4060 DATA
4070 DATA
0,
0,
0, 0,
7,255,
0. 0. 0
0, 63,255
0, 0
1,255
0
25:: 31
0.
0. cl
0.
0 cl
25::25:
0,
0,
0,
0,
0,
3,255,
0
:
127
255
4080 DATA
4090 DATA
0,127,254, 0. 7,252 0, 0
0, 0, 0, 0, 0. 0. 0. 0
4100 DATA 248. 0, 0,255, 0, 0.255.192
4110 DATA 0, 0. 0, 0. 0. 0. 0. 0
4120 DATA 0, 0, 0, 0, 0, 0 0, 0
127.
0,
0,
0.
0
0
0,128
0
0
0,
2
0,
0,
7
0
0
0
I
0,
128,
0,
0,
0,
0,
0
0
0
0, 0, 0 a, 0, 63
4130 DATA 0. 31.255, 7.2559255 255,255
4140 DATA 255,255,192,255,248, 0 255, 0
4150 DATA 0, 0. 0, 0, 0, 0 0, 0
255,255
0. 0
0; 0
255,255
0, 0
0, 0
255,255, 254
0, 0,
0, 0,
0
0
-
-
-
-
c
4160 ' 3RD LINE
4170 DATA 0. 0, 0. 0, 0, 0,
4180 DATA 0, 0, 56, 0, 0,120,
4190 DATA 0, 3.246, @, 7,248,
0, 0. 0, 0, 0, 24. 0,
0, 56
0. 0,248, 0, 1,248, 0, 1,248
4200 DATA 0, 31,248, 0, 63,248,
0, 7,248, 0. 15,248. 0, 15,248
0.127.248, 0,127,248, 0,255,248
3.255,248,199.255,248,247,255,248 4210 DATA 0,255,248. 1,255,248,
4220 DATA 255,255.248,
4230 DATA
31,255,240,
15,255,192, 15,255,192,
5,255,240, 15,255,224, 15.255.224
5,255,192, 15,255,128, 15,255,128
4240 DATA 15,255. 0. 15,255, 0, 15,255, 0, 15,254, 0. 15,254, 0
4250 DATA 252.252, 24,252,252, 56,2 49,252,248,249.252,248,243,255,248
4260 DATA 227,255,248,231,255,248,1 99,255,248,231,255,248,255,255,248
4270 DATA 31.255.248. 15,255,248.
4280 DATA 15,255,248. 15.255.248,
15.255.248. 15,255,248, 15,255,248
15,255,248, 15.255.248, 15.207.248
4290 DATA 31, 15,248. 30, 31,248,2 52, 63,248,248,127,248,240,127,240
4300 DATA 224,255,240,225,255.240.1 95,255.224,199,255,192,247,255,128
4310 DATA 255.255.128, 63,255, 0, 31,254, 0, 15,254, 0. 15,252, 0
4320 DATA 15.248, 0, 15.240, 0,
4330 DATA 15,192. 0, 15.128, 0,
15.240.
15, 0,
0. 15,224,
0, 31. 0,
0, 15,192,
0, 62, 0,
0
0
4340 DATA 252, 0, 0,252, 0, 0.248, 0, 0.240, 0,224.240, 0.240
4350 DATA 224. 1.240.192. 1.248. 0. 3.248. 0. 3.248, 0, 3,248
4360 DATA 0, 7,248, 0.
7.246,
0, 63.248. 0,127,248, 0,127,248
4370 DATA 0,255.248. 0.255.248, 1.255.248, 1.255,248. 1.255.248
4380 DATA 3.255,248, 3.255.248. 3.255.248.131.255,248,199,255,248
4390 DATA 103,255.248.119.255.248. 55.255.248. 639255.248, 319255,248
4400 DATA 31.255.248, 31.255.248. 15.255.248, 15.255.248, 15.255,248
4410 DATA 15.255.248, 15.255.248. 15.255.248. 15.255.248, 15,255,240
4420 DATA 15,255,240, 15.255,224. 15.255.192. 15.255,192, 15,254. 0
4430 DATA 15.254. 0. 15.254. 0. 15.254. 0. 15.254. 0, 15,254, 0
4440 DATA 15,252. 0, 15.252. 0. 15.248, 0. 15.240. 0. 31.240. 0
4450 DATA 31.224, 0. 31.192. 0, 55,128. 0. 48. 0. 8. 96. 0, 24
4460 DATA 192. 0. 24,128. 0. 56. 0. 0, 56, 0. 0.120. 0, 0.120
4470 DATA 0, 0.248. 0. 0.246. 0. 1.248. 0. 1.248. 0. 3.248
4480 DATA 0. 3.248, 0. 7.248. 0. 7,246. 0. 15.248. 0. 15.248
4490 DATA 0. 31.248. 0. 31,240. 0. 63 240. 0 63.224, 0.127.224
4500 DATA 0.127.192. 0.255.192. 0.255 128. 1 255.128. 1,255, 24
4510 DATA 3.255. 56. 3.255.248.231.255 248.255 255.248. 31.255,248
4520 DATA 15.255.248. 15.255.246. 15.255 248. 15 2-55.248, 15,255,24&
4530 DATA 15,255,246. 15.255,248. 15.255 248. 15 255.248, 15.255.240
4540 DATA 15.255.240. 15.255.240s IS.255 224. 15 255.224. 15.255.192
4550 DATA 15.255.192, 31.255.128.2S4.127 128.252 127. 24.248.255, 56
4560 DATA
246,255.248.240,255.248,22S.255
'46.193 255.248.131.255.246
4570 DATA 3.255.24s. 7.255.248.13S.255 246.231 255.248.255.255.248
4580 DATA 63.255.24b. 31.255.246. 15.255 246. 15 255.248. 15.255.240
4590 DATA 15.255.240. 15.2S5.224. 15.255 192. 15 255.128. 15.255. 0
4600 DATA 15,254. 0. 15.252. 0. IS.LJb 0 15 240. 0. 15,224, 0
4610 DATA 15.192. 0. IS. 0. 0. 62. 0 0.252 0. 0.248. 0. 0
4620 DATA 240. 0. 0.224, 0. 0.192. 0 0.128 0, 0. 0. 0. 0
4630 DATA 0. 0. 0. 0. 0. 0. 0. 0 0. 0 0. 0. 0. 0. 0
4640 DATA 0. 0. 0. II. 0. 0. U. U 0. 0 0. 0. 0. 0. 0
139
-.
How the program works
This program begins by assigning a number of printer commands to BASIC string variables (lines 1000 to 1060). You can find most of these commands near the beginning of chapter 7.
The WIDTH “LIpTl :” 255 statement in line 1080 means infinite line width.
It prevents the IBM-PC from inserting unwanted carriage returns and line feeds in graphics data.
Actual printing begins in line 1090. Using the preassigned commands, the program prints samples of its different fonts, followed by samples of the print pitches, then some double and quadruple-sized printing.
Next comes the central attraction of the program: a line of text printed fourteen times in expanding and contracting loops to give a bane1 effect. The work is done by four printer commands: a command setting the right margin
(line 1450); a centering command (line 1470); a command to vary the line spacing (lines 1490 and 1540); and a command to micro-adjust the space between characters (lines 1500 and 1550).
Next the program returns to normal spacing and gives a demonstration of the printer’s word-processing abilities: italic printing, bold printing, underlin- ing, subscripts, etc.
The row of telephone symbols in the next printed line is created by downloading two new character patterns, which are printed in place of the character “<“ (character 60). Details can be found in Chapter 8.
The final part of the program uses dot graphics to print an “M & W” logo. The dot pattern of the logo was originally laid out on graph paper, then converted to the data in lines 3 180 to 4640 with the help of a calculator. Each number represents eight vertical dots. (See “Graphics commands” in Chapter 7 for details.)
The pattern is printed in three rows, each row is twenty-four dots high and
240 dots wide. Line 2040 sets the line spacing to 8/60 inch so that the rows will connect vertically. The loop in lines 2050 to 2 130 does the printing in three passes of the print head.
-
-
140
Resident fonts are:
Draft character-s,
Sanserif characters,
Prestige characters,
ORATOR CHARACTERS,
SLQ Roman,
Roman characters,
Courier characters,
Sdpt m,
H-Gothic characters,
SLQ TW-Light.
Print pitches are:
Pica pitch (10 CPI) , Elite pitch (12 CPI),
Semi-condensed pitch (15 CPI), Condensed elite pitch (20 CPI),
Normal proportional,
Double-height,
Double width.
_.
widtlx, Tx-ipIe
Double-sized,
: Quad-sized.
Various line and character spacings:
Other features:
OUTLBNBD, tw.kLDowm, mxm
Emphasized, v,mo
Double-strike,
SUPERSCRIPT and
SUBSCRIPT,
Download characters: t~~**SS%%tttrrt
Dot graphics: wm8.i s
Italics,
, verlining,
I 142
MEMO
--
-^
chapter 10 TROUBLESHOOTING
AND MAINTENANCE
The following section on troubleshooting and maintenance is intended only as a brief guide to these functions. Remember that your printer is a highly sophisticated electronic device, which also contains high voltage inside. For that reason, only carry out those operations described in this chapter.
CAUTION: Any attempt to carry out operations other than those described here may result in electric shock and/or damage to the printer.
When carrying out any repairs or maintenance, always follow the instructions carefully.
TROUBLESHOOTING
Your printer is a reliable piece of precision machinery, which should not cause you any trouble, provided it is used and treated sensibly. However, the few elementary tips below should help you avoid having to make unnecessary service calls. The following table gives you ideas on where to look in this section if you experience faults:
-
Power supply
If the POWER indicator does not illuminate, check the following:
Check
Is the power cable properly plugged into the electrical outlet?
Is power being supplied to the outlet?
Possible remedy
Turn off the printer, ensure the power cable is securely connected, and then turn the printer back on.
Is the printer voltage correct?
Turn off the printer, unplug it, and try the outlet with another appliance to determine if electricity is being supplied from that outlet.
Check the bottom panel of your printer to ensure that the outletvoltagecorresponds to thevoltagerequiredby the printer. If they do not match, DO NOT try to operate the printer. Contact your supplier.
Printing
If your printer does not print, or suddenly stops printing, check the following:
Check
Is the interface cable con- nected securely?
Is the ON LINE indicator illu- minated?
Is the”PAPER 0UT”message flashing?
Is the printer beeping inter- mittently?
Is the paper caught up inter- nally?
Is the ribbon caught up around the print head?
Is the software you are using properly installed for your printer?
Can the printer perform self- test operations?
Possible remedy
Check both ends of the cable - printer and computer to make sure that the connector is firmly in position.
If itisnocpressthel on-line.
ON LINE @uttontosettheprinter
If it is, the paper has run out. Load more paper.
The release lever is moved while the paper is in printing position. Move the release lever to the original position.
Turn off the power, remove the jammed paper, replace, tumontheprinter,andcontinueprinting.Makesurethat the loading edge of the paper is smooth and uncreased.
Turn off the power, remove the ribbon, retension it, and replace it. This problem occurs most frequently with a worn ribbon, so you may need to replace the ribbon.
Check the installation settings in your software, and reinstall if necessary.
Turn the printer off, and turn it on again, holding down one of the buttons to perform a self-test. If these do not work, contact your dealer.
-
-
-.
144
If the print is faint, or uneven, check the following:
Is the ribbon worn out?
11
The ribbon has a long life, but will eventually need
If dots are missing in the printing, check the following:
1 Possible remedy Check
Are dots missing at random in the printing?
The ribbon has become slack, causing it to get caught
I up. Stop printing, remove the ribbon cartridge, retension
1 andreplace it.
Is a line of dots missing con- 1 The print head may be damaged. Stop printing, and the contact your supplier. I sistently throughout printing?
I
If your application software cannot print the fonts or characters selected, check the following:
Check
Is your application software properly installed?
Are fonts not being selected
ProperlY?
Are characters other than thoseexpfxXedbeiiprinted?
Possible remedy
Check the software installation, and re-install the software if necessary.
Check the software installation, and insert the com- mands necessary for font changes into the software.
If you have selected the optional font, you need to install the related Font cartridge to the printer.
Either you are using the wrong International Character
Set (reset with EDS switches or software commands), or you have the wrong character set selected (for example if characters other than IBM block graphic characters are being printed). Correct this with EDS switches or the appropriate software sequences.
If the printout is not what is expected:
Check
Is the printer installed wr- rectly?
Is the printer not printing anything that you are ex- lalbne?
Possible remedy
Your software may think that it is driving a diiferent emulation to the one actually set. Check the EDS set- tinas to make sure YOU have the right emulation.
/
Use the Hex Dump mode to analyze the output from the computer to the printer. This will enable you determine that therinht escaoe seouence. etc are beine transmitted.
145
Paper feeding
If cut sheet paper (without ASF) is not feeding smoothly, check the following:
1 Check
Is the paper release lever pushed front (to the b posi- tion)?
Is the paper guide in place and vertical?
Are the left and right guides too close together?
Possible remedy
Set the release lever to the & position.
The paper guide should be in place and vertically for cut sheets to feed smoothly.
If the left and right guides are too close together, the paper will not feed smoothly. Move them a little further anart to allow the naner feed freelv.
If it is, then deselect it. Is the ASF selected with the
EDS setting?
Are you trying to feed paper using the front panel buttons while the ON LINE indicator illuminated?
You can only feed paper in this way the printer is off- line. Set the printer off-line and then feed paper.
There are limits to the thickness of paper that can be fed in this way. Try with thinner paper.
Clean the surface of the platen roller with a cloth barely dampended with a little alcohol. platen?
If fanfold (continuous) paper is not being fed correctly using the tractor feed, check the following:
Possible remedy
Make sure the release lever is pushed to the b position.
Check
Is the paper release lever pushed to the b position?
Is the paper guide in the ver- tical position?
Are the holes on each side of the paper aligned with regard to each other in the tractor units?
Are the tractor units too close or too far apart?
Are the tractor units locked in position and the covers closed?
When using the tractor feed, the paper guide should be horizontal.
If the two sides of the paper are out of alignment, realign them so that the tractor holes match up.
Misalignment of the tractor units, making the paper too close or too tight, will prevent a smooth paper feed.
Correct this if necessary.
146
1 Check
Is the paper feeding freely into the printer?
Is the paper caught up around the perforation?
Are you trying to feed paper using the front panel buttons while the ON LINE indicator illuminated?
Is the paper too thick?
1 Possible remedy
The paper should not be too far from the printer (less than 1 meter/3 feet), and there should be no cables or other obstacles obstructing its path. The paper should also be feeding straight into the printer, and an angled feed may cause jams and blockages.
It is recommended to skip around the perforation. If you
You can only feed paper in this way the printer is off- line. Set the printer off-line and then feed paper.
There are limits to the thickness of paper that can be fed in this way. Try with thinner paper.
If the ASF is not operating or is not feeding paper correctly, check the following:
Check
Has the correct ASF option been selected with the EDS switch?
Is the release lever set to the
C position?
Is the ASF correctly mounted?
Is paper caught up near the print head?
Are the left and right guides too close together?
Is there too much paper in the paper feed hopper or stacker?
Was the paper fanned before being fed into the ASF?
Has the paper been used al- ready or is it creased?
Are you trying to feed paper using the front panel buttons while the ON LINE indicator illuminated?
Is the paper too thick or too thin?
L
Possible remedy
Select correct option.
The release lever should be set to the single-sheet position.
Make sure that the ASF is properly seated on the printer.
Stop printing, remove the jammed sheet (you may have to remove the ASF for this), and continue.
If the left and right guides are too close together, the paper will not feed smoothly. Move them a little further apart to allow the paper to feed freely.
The ASF’s paper feed hopper and stacker can hold between 100 to 150 sheets each. Make sure that there is no more paper than this in either the hopper or stacker.
If this is not done, paper jams may occur. Remove the stack of paper from the ASF and fan it before reinserting.
Only new, uncreased paper should be used with the
ASF.
You can only feed paper in this way the printer is off- line. Set the printer off-line and then feed paper.
There are
limits to the thickness of paper that can be fed in this way. Try with different paper.
147
If the paper park facility does not appear to be working correctly, check the following:
Check
Is the paper release lever in the C position?
Has the fanfold paper been properly parked?
Possible remedy
The paper release lever must be set to the C position after the fanfold paper has been parked.
Make sure that the “PAPER OUT” message comes on flashing after the fanfold paper has been parked.
If text is being printed all on one line, or with extra blank lines, check the following:
Check
Is the text all on the same line?
Istextbeingprintedwithextra blank lines?
Possible remedy
Carriage returns are not beii expanded to <CR> +
<LF> pairs. Check the EDS setting and correct.
Twolinefeedsarebeingprinted. Eithermakesureyour software print just a carriage retum or (if thii is not possible), set the AUTO LF to OFF with the EDS setting.
If the page length and margins are not what is expected, check the following:
Check
Istheprintingstartingtoo high or too low on the page?
Doestheprinter’spagelength not match the physical page length?
Possible remedy
Use the Micro Feed facility to adjust the print position relative to the page.
Use the EDS switches to set up the correct page length, or use software wmmands to do it.
Essentially, your printer is a robust piece of equipment, but should be treated with a modicum of care in order to avoid malfunctions. For example:
. Keep your printer in a “comfortable” environment. Roughly speaking, if you am comfortable, then the environment is suitable for your printer (see
Chapter 2). l
Do not subject the printer to physical shocks or excessive vibration. l
Avoid over-dusty environments. Dust is the enemy of all precision mechanical devices.
9 To clean the exterior of the printer, use a cloth barely dampened with either water with a little detergent or a little alcohol, but do not allow any liquid to fall inside the printer. l
The interior of the printer may be cleaned with a smaII vacuum cleaner or a compressed-air aerosol (sold for this purpose). When performing this operation, be sure not to bend or damage any cable connections or electronic components.
REPLACING THE PRINT HEAD
This is not a job which you will need to do very often. The print head has been designed to last for about 200 million dots. In noxtnal everyday use, this will translate to years of life. However, if the print quality is faint, even after you have changed the ribbon or you have adjusted the gap between the print head and the platen (see Chapter 4). the print head may need replacement.
Only use a replacement print head as recommended by your supplier.
1. Turn OFF the printer, and unplug the power cord.
2. Open the front cover, and remove the ribbon cartridge.
3. If the printer has been in operation immediately before this operation, the print head wilI be hot, Allow time for the print head to cool before attempting to work on it.
4. Unscrew the two screws that hold the print head in place and set them aside.
5. Disengage the connector, then remove the print head.
6. Place the new print head on its support, seating it on the two pins.
149
7. Fasten the print head down with the two screws.
8. Replace the ribbon cartridge and close the front cover, then plug the power cord back in.
Print head
70-7. Replacing the print head.
I
1 x i
L
*
Chapter 11
REFERENCE
SPECIFICATIONS
Printing system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial Impact Dot-matrix
Printing speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pica
High-Speed Draft 332 cps
Elite
-
Semi-condensed
-
Draft
Letter Quality
250 cps 300 cps 375 cps
83.3 cps 1OOcps 125 cps
Print direction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bi-directional, logic-seeking
U&directional, logic-seeking
(selectable)
Print head . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 pins
Life: 200 million dots
Line spacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . l/6, l/8, n/60, n/72, n/180, n/216, n/360 inches
Font styles
Standard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Draft, High-Speed Draft, Roman,
Sanserif, Courier, Prestige, Script, Ora- tor, H-Gothic, SLQ Roman, SLQ TW-
Light
Option [FC- 12 Cartridge] . . . . . . . . Orator 2, Letter Gothic, Blippo, Cinema
[FC-22 Cartridge] . . . . . . . . OCR-B, OCR-A, CODE 39, UPC/EAN
[FC-3Z Cartridge] . . . . . . . . TW-Light, Orane
[FC4Z Cartridge] . . . . . . . . Russian
[FC-SZ Cartridge] . . . . . . . . Old Style, Firenze
[FC-10Z Cartridge] . . . . . . SLQ Script
.
151
characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ASCII
International
IBM code page
96
16 sets(*)
IBM special 111
IBM block graphic 50
6 sets (**)
DOwnlOad
255
* USA, France, Germany, England, Denmark I, Sweden, Italy, Spain I,
Japan, Norway, Denmark II, Spain II, Latin America, Korea, Irish, m@
** #437 (USA), #850 (Multi-Lingual), #860 (Portuguese), #861 (Icelan- dic), #863 (Canadian French), #865 (Nordic)
Number of columns . . . . . . . . . . . . . . . . . . . . . . . . CPI Normal type Wide type
Pica 10 80 136
Elite 12 96 163
Semi-condensed
Condensed pica
Condensed elite
15
17.1
20
120
137
160
204
233
272
Proportional Variable Variable
Character matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . Draft
Pica 24x9
Elite 24x9
Semi-condensed
Condensed pica
Condensed elite
Super/subscript
Proportional
16x7
24 x 9
24x9
16x7
-
Super/subscript proportional -
LQ
24x31
24x27
16 x 19
24x 16
24x 16
16x 19
24 x n
24 x n
SLQ
48x31
48x27
32x 19
48 x 16
48 x 16
32 x 19
48 x n
48xn
Bit image dot-matrix . . . . . . . . . . . . . . . . . . . . . . DPI g-pin normal 60 g-pin double g-pin high-speed double *
120
120 g-pin quadruple * g-pin CRT I g-pin CRT II
24-pin normal
24&n double
240
80
90
60
120
152
Normal type
8x480
8x960
8x960
8 x 1920
8x640
8 x 720
24 x 480
24x960
Wide type
8x 816
8 x 1632
8 x 1632
8x3264
8 x 1088
8 x 1224
24x 816
24 x 1632
24-pin CRT III
24-pin Triple
24-pin Hex *
90 24 x720
180 24 x 1440
360 24x2880
24 x 1224
24 x 2448
24x4896
* It is impossible to print adjacent dots in the mode marked with an asterisk (*).
Paper feed . . . . . . . . . . . . . , . . . . . . . . . . . . . . . . . . . . . . . . . Friction or push tractor (standard)
Bottom feed or Push/PulI feed (option)
Paper feed speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.7 inches/second max
Paper specifications . . . . . . . . . . . . . . . . . . . . . . . Normal type
Cut sheet
Width 4" - 11.7”
I-m@
Wide type
4” - 16.5”
(101 - 297 mm) (101 - 419 mm)
7.17” - 14.3” 7.17” - 14.3”
Thickness
Weight
(182-364mm) (182-364mm)
0.07 - 0.12 mm 0.07 - 0.12 mm
52 - 90 g/m”
45 - 77 kg
14-241b
52 - 90 g/m2
45 - 77 kg
14 - 24 lb
Fanfold (continuous)
Width
4” - 10” 4” _ 16”
LmN
Thickness
Weight
(101 - 254 mm) (101 - 406 mm)
5.5” (Minimum) 5.5” (Minimum)
(140 mm) (140 mm)
0.07 - 0.12 mm 0.07 - 0.12 mm
0.35 mm (Total for multi-part forms)
52-82 g/m2 52 - 82 g/m*
45-70kg
14-221b
45-70kg
14 - 22 lb
Copies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Original + 2 copies (Multi-part mode off)
Original + 4 copies (Multi-part mode on)
153
I
I
/
Maximum buffer size . . . . . . . . . . . . . . . . . . . . . Without Download
29 kB (Normal type)
76 kB (Wide type)
With Download
200 Bytes (Normal type)
46 kB (Wide type)
Emulations
Standard mode . . . . . . . . . . . . . . . . . . . . . . . . . Epson LQ-860/LQ-1060, NEC 24-w&
Graphics commands
IBM mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IBM Proprinter X24E/XL24E
Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Centronics parallel (standard)
RS-232C/422 serial (option)
-
Ribbon type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . On-carriage, dedicated
Film ribbon (Black only)
Monochrome (Black only)
Color (Black, magenta, cyan, violet, yellow, orange, green)
Ribbon life
Film ribbon (FZ24) .................. 0.2 million characters (LQ pica)
Monochrome (LZ24) ............... 4 million characters (draft pica)
Color (X24CL) ........................ 1 million characters (draft pica)
Dimensions and Weight . . . . . . . . . . . . . . . . . Normal type
Width
Wide type
466 mm (18.3”) 608 mm (23.9”)
Depth
Height
400 mm (15.7”) 400 mm (15.7”)
157 mm (6.2”) 157 mm (6.2”)
Weight 9.9 kg (21.8 lb) 12.3 kg (27.1 lb)
Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120VAC, 220VAC, 240VAC, 50/60 Hz
(varies according to the country of pur- chase)
-
154
options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Film ribbon cartridge (FZ24)
Color ribbon cartridge (X24CL)
Single-binAutomaticSheetFeeder(SF- lODMII/lSDMII)
Dual-bin Automatic Sheet Feeder (SF-
1 ORMII/l SRMII)
Pull Tractor Unit (F’IY-lOXM/lSXM)
Font cartridge (FC-lZ, FC-2Z, FC-3Z,
FWZ, FC-SZ, FC- 1OZ)
RAM cartridge (RC-32Z, DC-32Z)
Serial Interface Cartridge (IS-SXL)
Buffered Parallel Interface cartridge (IP-
128XL)
155
PINOUT OF INTERFACE CONNECTOR
The following describes the pinout of the interface connector (signals which are low when active are overlined).
Parallel inbetiace
-
-
-
156
Serial Interface
157
CHARACTER SETS
The following tables show the standard and IBM character sets.
The decimal character code of each character is shown in an inset to the lower right of the character.
The hexadecimal code can be found by reading the entires at the top and left edges of the table. For example, the character “A” is in column 4 and row 1, so its hexadecimal character code is 4 1. This is equivalent (4 x 16 + 1 = 65) to decimal 65, the number in the inset.
Control codes recognized by this printer are indicated by abbreviations inside pointed brackets < >.
_
Hexadecimal value
0 1 2 3 4’
I
5 6 7 n (NIL)
V
I 3
1
16
(X1)
(X2) l-7
2
IT IT8
" m3i #
b
3
-J-k
1
32 l-z b
(DL4)
I -_
$
1
2
3
4
1 48 1 1 64
A pii- l-ii-
B b [b6
c
E
[bi
P
P
S
’ k
Q
a l-r
R b
k
C
P rii b q l-F l-z r
f-% l-iiy
S
1
. b t k
GA
- Control code I--- Decimal value
- Hexadecimal value
(low order)
158 -
Standard character set #2
0
0 !NL)
1 2 l-z
0
3
I-T
4
,@ riT
P
5
I-E
'
6
T;j;;
P
7
n
I
A
I I I I
@
:
F
D
’
E F
-
International character sets
When an international character set is selected by a command from software, the following changes are made in the Standard Italic character set:
The command for selecting the international character set is:
<ESC> “R” n
Where n means character code n, i.e. CHR$ (n) in BASIC. The values of n are:
0 U.S.A.
1 France
2 Germany
3 England
6 Italy
7 Spain1
8 Japan
9 Norway
4 Denmark1 10 Denmark11
5 Sweden 11 Spain II
12 Latin America
13 Korea
14 Irish
64 Legal
161
IBM character set #2
Code Page +I437 (U.S.A.)
1
2
3
0 n
(NIL)
1 2 3
I
0 l-2
: 1 17 1 33 m21, " 2
II
4
@ F
5
’
6 7
I 11121
B
1 65 1 8: 1 97 1113
R b r
I3 1 19 1 35 1 51 1 67 1 83 1 99 clC4) $ T d t
-
162
I. I>
/ ? 0
J-T pii j-z 179-k
In
IT4
I* I
l-r6
0
(DEL) liF
-
-.
-
-.
I I
163
Code Page #SO (Multi-lingual)
Other characters are identical to Code Page #437.
-
-
.--
-_
164
Code Page #I860 (Portuguese)
Other characters are identical to Code Page ##437.
8 9 A B
-
C
L
-
D
Jl
- a
E
E
F
165
Code Page #861 (Icelandic)
Other characters are identical to Code Page #437.
8 D E F l-n u
~-P-l~-.l
5
I128 1144 I160 1176 1192 1208 1224 1240 l uLGBkl~:
.
L Jl a
I i
B *
J-iv 1193 1209 1225 lg
0 6
L
IE 6
-
:.<:.:
T -.-
1130 1146 1162 lT - r LA
1242
1221 lK3
-_
-
-
-
-
-
Code Page I#863 (Canadian French)
Other characters are identical to Code Page ##437.
167
168
8 9 A B C D E F
-
Character set #I
Other characters are identical to character set #2.
The duplication of control codes enables systems with a 7-bit interface to obtaincontrol functions when the most significant bit is set to 1 by the &SC>
‘5” command in the standard mode.
D m w
Nl)
E
F GI)
13
14
15
29
34
31
169
IBM special character set
Additional characters can be printed by special commands.
-,
-
-.
PROPORTIONAL SPACING TABLE
This table lists the widths of your printer’s proportional characters, for
Standard mode and IBM mode.
The values given are in 360th~ of an inch. For example, a value of 36 is
36/36Oths of an inch. You may need to enter these widths into a special table for your processing program so it can calculate the number of proportional characters that will fit on a line.
The following width table shows each character, its ASCII code (decimal) for each character set, and its width for Standard normal mode, Standard super/subscript mode, and IBM mode.
47 47 47 47 47 47 47 / 30 20 30
48 48 48 48 48 48 48 0 30 20 30
49 49 49 49 49 49 49 1 30 20 30
172
--
173
108 108 108 108 108 108 108 1 18 12 18
109 109 109 109 109 109 109 m 42 28 42
174
-
137 137 137 - 137 137 137 G 30 20 30
138 138 138 138 138 138 138 6 30 20 30
139 139 139 - - 139 139 i 18 12 18
175
153
154
155
156 156
157 157
158 158
159 159
160 160
161 161
162 162
163 163
Character cod
#861
142
143
144
145
146
147
148
150
153
154
176
^
I I I I I I I
22912291 - 12291229122912291 (J 1 30 1 30 1 36
178
Character COC
Character code
#865
- I -
11831145 - 1142
- I - 12121146
- 229 153
- 231 -
- I - 12351157
167
1581 -
180
-.
haracter co<
G5cJy-p
165 - 30 20 30
164 - ' 30 20 30
2511 - 1 -
- I - I l
I 30
I
20
I
30
q-e++
3 30 20 30
- I - I -
141 - = 30 20 30
- I - I / I
30
I
20
I
30
-+-j-e
0
24 16 24 w 42 28 42
181
182
MEMO
-
-
INDEX
El
Absolute horizontal tab, 102
Adjustment lever, 5.28
AllreSet,
Application software, 129
ASF bin number, 55
ASF control commands, 115-116
Auto Carriage Return, 68
Auto Line Feed, 68.99
Auto loading value, 53
Auto On-Line, 60
Automatic Sheet Feeder, 15,40,66
IB(
Backspace, 99
Bail lever, 5
Base unit for line spacing, 91
BASIC, 135
Bell command, 114
Bidirectional printing, 115
Bit image dot-matrix, 152
Bottom feed, 32
Bottom margin, 66,94
BUFFER CLEAR message, 54
Buffer size, 154
Character set commands, 81-83
Character set table, 158-170
Character size and pitch commands,
84-89 character space, 119
Character spacing, 87
Character width, 86
Characters, 152
Clamp lever, 5
CLEAR MACRO message, 56
Clear the buffer, 54
Code page, 63,82,162-168
#437,162-163
#850,164
#860,165
#861,166
#863,167
#865,168
Color selection commands, 112
Command summary, 187-191
Component, 4-5
Compression mask bit, 123
Condensed
pin ting, 84
Contents of the carton, 8
Control commands, 73-116
Control panel, 5,43-56
Copy characters, 109
CURRENT ASF BIN1 message, 55
CURRENT BLACK message, 55
El
Cancel command, 113
Carriage return, 98
Cartridge slot, 5 center text, 99
Character data, 118
Character dot pattern, 123
Character matrix, 117,152
Character set, 63
Character set # 1,169 lzl
Default settings, 57-72
Define download characters, 107,108
Delete command 113
Dimensions, 154
DIP Switch, 26
183
DOS commands, 132
Dot Adjustment mode, 7 1
Double-density graphics, 103
Double-height characters, 88
Double-size characters, 87
Double-strike printing, 78
Download, 60
Download character commands, 107-
112
Download character set, 110,122
Download characters, 117- 127
Draft, 61,74
Draft download characters, 110
Dual-bin Automatic Sheet Feeder, 20
El
EDS mode, 57
EDS setting, 70
ELECTIUC DIE SW message, 57
Electronic DIP Switch mode, 57
Elite pitch, 84
Emphasized printing, 77
Emulation, 60,154
Entry slot, 5
Expanded printing, 85
El
Factory settings, 59
Fanfold forms, 27.29
Features, 1
Font, 1,61,76
FONT button, 46
Font Cartridge, 23
FONT LOCK message, 49
Font lock mode, 49
Font quality, 61
Font style, 3, 151
Font style commands, 74-80
FONT&PITCH LOCK message, 49
Form feed, 52,94
Forward feed, 92
Forward micro-feed, 53
Front cover, 5
Full justify, 100
IGI
Graphics commands, 103-106
Graphics density, 106
Graphics direction, 60
Graphics mode, 104,105
IHI
HEX DUMP MODE message, 50
Hex-density graphics, 104
Hexadecimal dump, 50
High Speed Draft, 61
Horizontalpositioncommands,97-102
Horizontal tab, 101
Horizontal tab stops, 100
HS Draft, 61
III
IBM character set, 63,81,162-168
IBM code page, 63,82
Index table data, 125
Interface Cartridge, 25
Interface connector, 5,12
International character set., 63,82,161
Italic characters, 77
Italic style, 65
El
Left justify, 99
Left margin, 97
Letter Quality, 61.75
Line feed, 92
Line spacing, 90,15 1
Lines, 66
Loading fanfold forms, 29
Loading single sheets, 38
Locating the printer, 7
-
-
-
184
Long test mode, 48
W, 61.75
LQ download characters, 111 ml
Macro definition, 56
Maintenance, 149
Master print mode, 86
Most significant bit, 113
MS-DOS, 129
MSB, 113
Multi-part forms, 27
Multi-part mode, 66 ml
Normal-density graphics, 103
Number of columns, 152 lol
Off line command, 114
ON LINE button, 44
On line command, 114
Optional accessories, 9,15,155
Ornament character, 80
Other printer commands, 113-l 16
Overlining, 79
IPI
Page length, 68.94
Paper feed, 153
PAPER PEED button, 44
Paper feed speed, 153
Paper feed trouble, 146- 148
Paper guide, 5.38
Paper handling, 1
PAPER OUT message, 3 1,34,38,44
Paper parking, 36
Paper specifications, 153
Paper unparking, 37
Paper-out detector, 66,95
Pica pitch, 84
Pinout of interface connector, 156- 157
PITCH button, 45
Pitch commands, 84-89
PITCH LOCK message, 49
Pitch lock mode, 49
Platen knob, 5,lO
Power supply trouble, 144
Power switch, 5
Print area, 28
Print area test mode, 49
Print color, 54,112
Print direction, 151
Print head, 5,149
Print pitch, 65
PRINTER RESET message, 54
Printing gap, 28
Printing speed, 151
Printing trouble, 144-145
Proportional spacing, 86
Proportional spacing table, 171-181
Pull Tractor Unit, 22,32
Push feed, 30
Push/Pull feed, 33
Quadruple size characters, 87
Quadruple-density graphics, 104
Quiet mode, 60
IRI
RAM Cartridge, 23
RAM usage, 60
Rear cover, 5
Relative horizontal tab, 101
Release lever, 5
Reset ah tab stops, 101
Reset printer, 116
Reverse feed, 92
Reverse line feed, 92
185
Reverse micro-feed, 53
Ribbon cartridge, 5,11
Right justify, 100
Right margin, 98
El
Sample program, 120-121, 126-127,
135-139 score, 79
Selection of paper, 27
SELF TEST LONG message, 48
SELF TEST SHORT message, 47
SELF TEST TOP&B. message, 49
Semi-condensed, 84
SET MACRO message, 56
SET TOF POSITION message, 53
SET/EJECT/PARK button, 45
Setting up, 10
Shift download character area, 110
SHORT TEAR-OFF message, 44
Short test mode, 47
Single sheets, 27
Single-bin Automatic Sheet Feeder, 15 skipover-perforation, 68
SLQ, 61
Special character set, 170
Specifications, 151-155
Standardcharacterset,63,81,159-160
STROBE timing, 70
Subscript, 80
Super Letter Quality, 61
Superscript, 80
ITI
Tear assist, 5
Tear-off function, 68
Top margin, 66
TOP MARGIN SET message, 53
Top of form, 52,93
Tractor, 5
Troubleshooting, 143-148
Paper feeding, 146-148
Power supply, 144
Printing, 144-145
El
Underlining, 78
Unidirectional printing, 115
Unpacking and inspection, 8
IVI
Vertical position commands, 90-96
Vertical tab, 96
Vertical tab channel, 96
Vertical tab stops, 95
Iwl
Weight, 154
I
Zero style, 63,83
-
186
COMMAND SUMMARY
Standard Mode
The following commands take effect with the Standard mode.
CONTROL CODE FUNCTION
<BEL> z cLF>
<VT,
ZEit
<so>
-a>
&Cl>
CDCb
CDC3>
<Dc4>
<CAN>
Bell
Backspace
Horizonal tab
Iincfeed
Vertical tab
Fcem feed
Carriage mtum
Expanded printing for one line culdmsedpinting
Set printer
Cancel ccadensed sea printer printing off-line
Curcel otdim expaoded printing
Cancel last line
Reverse line feed
Return to top of current page
Expanded printing for one line iEsE
<Escb <so>
CEscb eES-5
CESQ csb
<EM> <o> cJzM> Cl>
<Ese<EM>a>
SEC ZE dSCacEM>‘T’n
<EsQ <SF% n
<ESQ “I” n
CESQ “Ip
<ESQ ‘s’ nl
IL?
CESQ’W 0
CESQ “46” 1
SEscb “B” &nln2mOmlm2dld2
Cnndensed
Manual f ptki
Select ASF bin #I
Select ASF bin 12
Auto fed
Eject paper from ASF
Set print stat position on ASF
Incruse character spacing
Select master print mode ibz!!kl tab in inches select ROM character set
Select download dtaracter set
. ..&
Define download characters
<ESQ “C “-” O> <o> Cl> nl n2 Selectacore
<IisD -*” no nl n2 ml m2 . . .
<Es6 m
“+” n
“-” 0
Select graphic3 mode
Set line spacing to R/W inch stopunderlining
Staa underlining
Select vertical tab chatmel
<EsQ --” 1
<Esc> “I”no
<EsD “0”
CESC- “1”
<Esc> “2”
<EsQ “3” n
<Esch “4”
&se “S cEst3 ‘B
<Es0 “p
CESQ “8’
-ssQ “Y
Set line spacing to l/8 inch
Set line spacing to 7/60 or 7fl2 inch
Sealineapatingto1/6inch
~~~~~8Oinchornl216inch
Select upright charactm
Srktcharaaeraetet
Select character set I1
Disable paper-out detector
Enable paper-out de&ctor
187
CGNTRGL CODE FUNCTION PAGE
<EsSQ 1” nl nz
CESQ “a” 0
CESO “a” 1
<EsQ “a” 2 d!xb “a” 3 cESQ
“b” n0 nl d
<ESQ “e” 0 n
<ESQ “e” 1 n cESc> “f’ 0 n cESQ”f’1 n
<ES& “g”
<ES6 “h” n
<EsQ “J- n
<EsQ “k” n
<ESQ “1” n
<EsQ “p” 0
CESQ “p” 1 zEEz:s:~
<EsQ “t” 0
CESG “t” 1
<EsQ “t” 2
<EsQ “w” 0
CESQ “w” 1
&SC5 “x” 0
;;
<ESQ cE.sQ
<Es3
“:” &
‘c”
“2 n <o>
<EsQ
<ES6
<EsQ
<ES3
“>”
“r’ n 111
“@”
“A” n
<EsQ ‘B” rl n2 . . . . &
<ESQ’C’&n
<ESQ dSQ
‘c’ n
“0” nl n2 . . . . <o>
<Es- “F
<ESQ “F
<Es3 “G”
CESQ “H”
<ES0
<ESQ
&SC>
<ES6
“Y n
“K” ?I1 n2 ml m2 . . .
“L” nl n2 ml n12 . . .
“M”
ZEz
<EsQ
CESD
<ESCb
“N”n
“0”
“P
“Q”n
“R” n
ZEz
<ES0
<ES3
&SC>
<ESQ
<ES(3>
<ESQ
4333
<ESQ
“s” 0
“Y 1
“T
“u” 0
“U” 1
“W 0
“w” 1
“Y” nl n2 ml m2 . . .
“2” nl n2 ml m2 . . .
“[” “T” <4> <o> <o>
SetMSBtol
Convert graphics density
Reset printer
Set line spacing to n/60 inch or ti2 inch
Set vertical tab stops
Set page length to n iuches
Setmze1en~thtonline.a set ho;imd tah stops
Eknphasizedprinting cancel emphasized printing
Double-strike prihting
Cancel double-strike printing
Perform one n/180-inch or n/216-inch line feed
Print nomaLdensity 8-bit graphics
Print doubledensity
I-bit graphics
113
113
106
116
91
;:
94
100
77
77
Elite pitch
S-5 bottan margin
Cancel bottan margin
Pica pitch
Set rinht mamin character set SelecYintem&nal superscript
SUbScrip i;: ii cancel superscript or subscript
Bi-ditectianal pnnting
Unidirectional ptilltiIl8
Cancel expanded printing
Expanded Printing ii
115
115 i:
Print double-density, double-speed I-bit graphics 103
Print quadruple-density I-bit graphics 104
;i
93
E ii:
94
<o> nl a2
Select IBM code page
Relative horizontal tab
Left justify
Cent& tit
Ri htjustify
F PW
Set vettiul tab stops in channel
Set horirantal tab atop every n columns
Setvaticaltabatopseverynlinea
Absolute borixmtal tab in columns
Feed paper n lines sani-amdensedpitcJl seled double or
Perfam ate n/l &
UdN$C siz.e
-mch twerse line feed select LQ font set left margin select fixed spacing sel~pNportional spacing
!idect ornament chatacter selectprintcolor
Select standard chamctcr set
Select IBM cbancter set
Shift download clwacter anx
Return tonormal height
Pint double-h+ chancten select draft quaky cbanctela
1::
99
99
:2
1E
%
188
-
-
-
-
-
-
CONTROL CODE
CESQ “x” 1
SESQ “-” 0 sy “j”” n l cm> “@” cl?b “C n
45s “E” n cFs> “F” cFs> “P 0 cFs> “r. 1 cFs> “r, 2
<Es> “R” cFs> “v” 0 ds> “v” 1
<FS> “2” nl n2 ml m2 m3 . .
1: 1; 1; 1;:: :;:
1; 1;: z::: 11:: : j::
“c’ zc MC’ “)” “)” d
1: “7 :F y: I{.: d
“(” :(” MS” “r’ “r, d
“$&r “T” “)” “)” n
FuNcTloN
Seleu LQ characters seleunotmaI zero seleetsIashzao
Setlineapacingtod36Oinch
Reset printer select LQ font
Seleetdrurcterwidih
Select forwad feed mode
Select stat&d character set
Select IBM character set
Shift download character area
Select mwse feed mode
Return to notmal height
Pljnt double-llyight dlyacters~
Pml+nxlt~f~lty 24&t graphics
SelectASFbin#l
Select ASF bin t2
Auto feed
’ tcolor itzLlt r
Eject paper fmm ASF
Select character size
Su ptint start position on ASF
Delete last character sent
PAGE
75
83 ii
116
76
86
92 ii
81
110
92 ii
E
116
116
115
112
1::
88
116
113
189
-.
IBM Mode
The following commands take effect with the IBM mode.
FUNCTIGN
<BEL>
<BS>
<HT>
<LF>
22
<CR>
<so,
CSb
Bell
Backspace
Horizmtal tab
Linefeed
Vertical tab
Form feed
Carriage mium
*dd
3 pintine
&Cl>
<DcL>
<Dc4>
<CAN>
<EsQ cEM> <o>
<EsQ <EM> <l>
<Es3 <EM> 45
<EsQ cEM> <4>
<Es3 gg
<EM> “R’
<ES6 <EM> “T’ n
<Esc> “2’ 0
1;:
1 set printer on-line
Pica pitch
$2 ~-~y =plndd pintins
Manual feed
S&a ASF bin I1
Select ASF bin I2
Auto feed
Eject paper from ASF
Set print atatt position on ASF stopunderlining start underlining
Setlinespacingto118inch
Sgt.~.;a~pa1&~~~!60 or 7/12 inch <EsQ “1”
CESQ -r dSQ “3” n
CESQ “4
XESO “5” <o>
<Escb “5” <l>
<Es6 “6
Setline
23
’
;&~~~$ZJZZY6
E z
<EsQ -:*:
<EsQ “=” nl IL? Y” n3 n4 &
Set automatic line feed
Select character set 112
Select chancter set I1
Disable paperat detector
Enable papexmt ddector
Elite pitch n.5 ml tn2 . . . m9 dl d2 . . . dr
<EsSQ “@”
&CL-
<ES0
&C>“C’<O>n
-SSCS “c’ n d.SCz-
<Es0
“A” n
“B” nl n2 . . . . db
“D” nl n2 . . . . -Sk-
“F inch
Define download characters
Reset printer
Set line spacing to &O inch or nfI2 inch
Set vet&al tab stops
Set page length to n inches
Set elengthtonlined su P ollmaaltab mpr
Emphasized printing gg c-
<Es0
<Es3 lg.
“H”
“r’ <o>
“r’ a>
<EsQ “I-- Q>
CESQ “r’ <4>
<EsQ “I- <6>
<E!3Q T’ 4%.
<EsQ “r. <8>
<Es0 “I” cLF>
<Es-h “I” d13
<ES0 “r, <so>
Cu~cel emphasized pinting
Double-stnke priming
Camel double-strike printing
Select draft pica chancte-rs
Select LQ pa characters
Select UJ propodonal Qanctem
Select draft pica download character set select IQ pa download characters selectLQpNpoItionaldownloadcharauers
Select draft elite characte.n
Select UJ elite &raUers
Select draft elite download character set
Select LQ elite download characters
PAGE i:
113
115
116
116
115
116
114
1:;
Z$
;: ii:
114
-
-
-
-
110
111
190
CGNTRGL CODE FUNCTIGN PAGE cESQ “I” <16> Select draft cmdawed characters
CESD “r’ -acti
CESQ “I- <Dc4>
<EsSQ “r, <sYN>
&Q “r’ n
<ESQ “K” nl n2 ml m2 . . .
Select I@ amdensed
Select draft amdaued characters download characters
Select lAJ condensed download characters
Perfomt ate n/180-&h OT n/216-inch line feed
Print nomuldekty I-bit graphics
Print doubledensity 8-bit graphics
::
111
111
93
<Es0 “L” nl ni! ml m2 . . . cESC>“lVn
CESG-W e
<Es0
$gg
“p’ <o,
“P Cl>
$1 n
CESQ “[” “T’ <4> &
Sabouommargin
CMceI bottan margin scleu fixed spacing sekct propollioNlI sping set printer off-line
Reset all tab stops
Select IBM code page l-i
;:
86
1;:
101
<EsG “s” 0
<Es- “s” 1
CESQ “T
<Es0 “U” 0
CBSQ “u” 1 cEst-5 “W 0
<EsQ “W 1
Eizg-F canal syersctipt pc subscript
FyiitinFJ, ix
80
115
115
&St3 cESQ
“Xx” nl n2
“Y nl n2 ml m2 . . . canal expanded printing
E
98
Print doubledensity, double-speed I-bit graphics 103
Print quadmple-density I-bit graphics 104
<ES6 “i? nl n2 ml m2 . . . cE!SQ “r “@” <4> <o, <o> d)> n m
Select character height, width, and line spacing 89 cOz= <o> nl n2
82 cESQ”[““\“c4>&&&&n
<ES0
Setbaseuoitforlinespacing
“r “g” nl n2 m0 ml d . . . Sekctgrr@ics mode cESQ
CESQ
&SC>
<EsG
CESQ
<ESQ
T
“I” nl
“*” n
“_” 0
“-” 1
“b’ nl n2 n2
Enable prmting of all character codes
Reverse line feed
Enable printing of all charader codes on next character
Stop overlining start overlining
Relative horiznotal tab in inches
&SC> 3” cESQ Y’ dSQ n
“r” n
<ESQ “t” 0
<ESQY’l
1: 1;: 1;: 1;:: 1;::
:g :$I 2:: :i:: q::
StopPrinting select LQ font
Select pint color
Select standad character set
Select IBM character set
MaNlal feed
Select ASFbinIl
Select ASF bin 12
Auto feed
. t color p”
Eiect uatx.r from ASF s;reci&aracter sixe
Set print statt position m ASF
91
105 i’z
;;
1’0;
114
1::
1::
88
116 ii:
115
116
116
115
112
191

Public link updated
The public link to your chat has been updated.
Advertisement
Key features
- Two emulation modes (standard and IBM)
- Standard mode emulates Epson LQ-860/LQ-1060 and NEC 24-wire printers
- IBM mode emulates IBM Proprinter X24E/XL24E
- Variety of character sets
- Control commands for character size, pitch, underlining, and more
- Graphics printing capabilities