Set unit
Set page length in lines
Set page length in inches
Set bottom margin
Cancel bottom margin
Set right margin
Set left margin
CR Carriage return
Line feed
Form feed
Advance print position vertically
Tab horizontally
Tab vertically
Backspace
Select 1/8-inch line spacing
Select 1/6-inch line spacing
Set n/180-inch line spacing
Set n/360-inch line spacing
Set n/60-inch line spacing
Set horizontal tabs
Set vertical tabs
Select character table
Select an international character set
Select user-defined set
Select LQ or draft
Select 12-cpi
Select 15-cpi
Set character space
Select italic font
Cancel italic font
Select double-strike printing
Cancel double-strike printing
Select character style
Select double-width printing (one line)
Select double-width printing (one line)
37
DC4
38
ESC W
39
ESC w
40
ESC U
41
ESC *
42
ESC @
43
CAN
44
DEL
45
ESC -
46
ESC E
47
ESC F
48
ESC P
49
ESC p
Cancel double-width printing (one line)
Turn double-width printing on/off
Turn double-height printing on/off
Turn unidirectional mode on/off
Select bit image
Initialize printer
Cancel line
Delete last character in buffer
Turn underline on/off
Select bold font
Cancel bold font
Select 10-cpi
Turn proportional mode on/off
Additional commands
All these additional commands are only for your reference.
ESC $
ESC \
ESC b
ESC /
ESC &
ESC :
ESC k
ESC !
ESC ( ESC S
ESC T
SI
ESC SI
DC2
ESC 6
ESC 7
ESC <
BEL
ESC 8
ESC 9
ESC s
ESC ?
ESC K
ESC L
ESC Y
ESC Z
ESC ( B
Sets the right margin to n columns in the current character pitch, as measured from the leftmost
printable column
ESC l Set left margin
Format
ASCII ESC l n
Hex 1B 6C n
Decimal 27 108 n
Parameter range
1 n 255
0 (left margin) <(right margin)
Function
Sets the left margin to n columns in the current character pitch, as measured from the leftmost printable column
CR Carriage return
Format
ASCII CR
Hex 0D
Decimal 13
Function
Moves the print position to the left-margin position
LF Line feed
Format
ASCII LF
Hex 0A
Decimal 10
Function
Advances the vertical print position one line (in the currently set line spacing)
FF Form feed
Format
ASCII FF
Hex 0C
Decimal 12
Function
Advances the vertical print position on continuous paper to the top-margin position of the next page
ESC J Advance print position vertically
Format
ASCII ESC J n
Hex 1B 4A n
Decimal 27 74 n
Parameter range
0 n 255
Function
Advances the vertical print position n/180 inch
HT Tab horizontally
Format
ASCII HT
Hex 09
Decimal 9
Function
Moves the horizontal print position to the next tab to the right of the current print position
VT Tab vertically
Format
ASCII VT
Hex 0B
Decimal 11
Function
Moves the vertical print position to the next vertical tab below the current print position
Moves the horizontal print position to the left-margin position
BS Backspace
Format
ASCII BS
Hex 08
Decimal 8
Function
Moves the print position to the left a distance equal to one character in the current character
pitch plus any additional character space.
ESC 0 Select 1/8-inch line spacing
Format
ASCII ESC 0
Hex 1B 30
Decimal 27 48
Function
Sets the line spacing to 1/8 inch
ESC 2 Select 1/6-inch line spacing
Format
ASCII ESC 2
Hex 1B 32
Decimal 27 50
Function
Sets the line spacing to 1/6 inch
ESC 3 Set n/180-inch line spacing
Format
ASCII ESC 3 n
Hex 1B 33 n
Decimal 27 51 n
Parameter range
0 n 255
Function
Sets the line spacing to n/180 inch
ESC + Set n/360-inch line spacing
Format
ASCII ESC + n
Hex 1B 2B n
Decimal 27 43 n
Parameter range
0 n 255
Function
Sets the line spacing to n/360 inch
ESC A Set n/60-inch line spacing
Format
ASCII ESC A n
Hex 1B 41 n
Decimal 27 65 n
Parameter range
0 n 85
Function
Sets the line spacing to n/60 inch
ESC D Set horizontal tabs
Format
ASCII ESC D n1 n2 . . . nk NUL
Hex 1B 44 n
Decimal 27 68 n
1 n2 . . . nk 00
1 n2 . . . nk 0
Parameter range
0 k 32
1 n 255
nk > n(k-1)
Function
Sets horizontal tab positions (in the current character pitch) at the columns specified by n1 to nk, as measured from the
left-margin position
ESC B Set vertical tabs
Format
ASCII ESC B n1 n2 . . . nk NUL
Hex 1B 42 n1 n2 . . . nk 00
Decimal 27 66 n
1 n2 . . . nk 0
Parameter range
0 k 16
1 n 255
nk > n(k-1)
Function
Sets vertical tab positions (in the current line spacing) at the lines specified by n1 to nk, as
measured from the top-margin position
ESC t Select character table
Format
ASCII ESC t n
Hex 1B 74 n
Decimal 27 116 n
Parameter range
0 n 3
Function
Selects the character table to be used for printing from among the four character tables
described below:
n = 0Character table 0
1 Character table 1
2 Character table 2
3 Character table 3
Selects the set of characters printed for specific character codes, as listed below:
n = 0 USA
1 France
2 Germany
3 United Kingdom
4 Denmark I
5 Sweden
6 Italy
7 Spain I
8 Japan (English)
9 Norway
10 Denmark II
11 Spain II
12 Latin America
ESC % Select user-defined set
Format
ASCII ESC % n
Hex 1B 25 n
Decimal 27 37 n
Parameter range
n = 0, 1
Function
Switches between normal and user-defined characters, as follows:
n = 0 Normal (ROM) characters
1 User-defined (RAM) characters
ESC x Select LQ or draft
Format
ASCII ESC x n
Hex 1B 78 n
Decimal 27 120 n
Parameter range
n = 0, 1
Function
Selects either LQ or draft printing according to the following val ues:
n = 0 Draft printing
1 Letter-quality printing
ESC M Select 12-cpi
Format
ASCII ESC M
Hex 1B 4D
Decimal 27 77
Function
Selects 12-cpi character pitch
ESC g Select 15-cpi
Format
ASCII ESC g
Hex 1B 67
Decimal 27 103
Function
Selects 15-cpi character printing
ESC SP Set character space
Format
ASCII ESC SP n
Hex 1B 20 n
Decimal 27 32 n
Parameter range
0 n 127
Function
Increases the space between characters by n/180 inch in LQ mode and n/120 inch in draft mode
ESC 4 Select italic font
Format
ASCII ESC 4
Hex 1B 34
Decimal 27 52
Function
Sets the style attribute of the font to italic
ESC 5 Cancel italic font
Format
ASCII ESC 5
Hex 1B 35
Decimal 27 53
Function
Sets the style attribute of the font to normal (cancels the italic style attribute previously
selected with the ESC 4 command)
ESC G Select double-strike printing
Format
ASCII ESC G
Hex 1B 47
Decimal 27 71
Function
Prints each dot twice, with the second slightly below the first, creating bolder characters
ESC H Cancel double-strike printing
Format
ASCII ESC H
Hex 1B 48
Decimal 27 72
Function
Cancels double-strike printing selected with the ESC G command
ESC q Select character style
Format
ASCII ESC q n
Hex 1B 71 n
Decimal 27 113 n
Parameter range
0 n 3
Function
Turns on/off outline and shadow printing, according to the parameters below:
n = 0 Turn off outline/shadow printing
1 Turn on outline printing
2 Turn on shadow printing
3 Turn on outline and shadow printing
SO Select double-width printing (one line)
Format
ASCII SO
Hex 0E
Decimal 14
Function
Doubles the width of all characters, spaces, and character spacing (set with the ESC SP
command) following this command on the same line.
ESC SO Select double-width printing (one line)
Format
ASCII ESC SO
Hex 1B 0E
Decimal 27 14
Function
Doubles the width of all characters, spaces, and character spacing (set with the ESC SP
command) following this command on the same line.
DC4 Cancel double-width printing (one line)
Format
ASCII DC4
Hex 14
Decimal 20
Parameter range
No parameters
Function
Cancels double-width printing selected by the SO or ESC SO commands
ESC W Turn double-width printing on/off
Format
ASCII ESC W n
Hex 1B 57 n
Decimal 27 87 n
Parameter range
n = 0, 1
Function
Turns on/off double-width printing of all characters, spaces, and character spacing (set
with the ESC SP command) following this command as follows:
n = 1 Turns on double-width
0 Turns off double-width
ESC w Turn double-height printing on/off
Format
ASCII ESC w n
Hex 1B 77 n
Decimal 27 119 n
Parameter range
n = 0, 1
Function
Turns on/off double-height printing of all characters, as measured from the current baseline:
n = 1 Turns on double-width
0 Turns off double-width
ESC U Turn unidirectional mode on/off
Format
ASCII ESC U n
Hex 1B 55 n
Decimal 27 85 n
Parameter range
n = 0, 1
Function
Selects bidirectional or unidirectional printing, according to the parameters below:
n = 0 Bidirectional printing
1 Unidirectional printing
Prints dot-graphics in 8, 24,depending on the following parameters:
ESC @ Initialize printer
Format
ASCII ESC @
Hex 1B 40
Decimal 27 64
Function
Resets the printer to its default settings
CAN Cancel line
Format
ASCII CAN
Hex 18
Decimal 24
Function
Clears all printable characters and bit-image graphics on the current line
DEL Delete last character in buffer
Format
ASCII DEL
Hex 7F
Decimal 127
Function
Deletes the last printable character in the print buffer’s current line
ESC - Turn underline on/off
Format
ASCII ESC - n
Hex 1B 2D n
Decimal 27 45 n
Parameter range
n = 0, 1
Function
Turns on/off printing of a line below all characters and spaces following this command:
n = 1 Turns underline on
0 Turns underline off
ESC E Select bold font
Format
ASCII ESC E
Hex 1B 45
Decimal 27 69
Function
Sets the weight attribute of the font to bold
ESC F Cancel bold font
Format
ASCII ESC F
Hex 1B 46
Decimal 27 70
Function
Sets the weight attribute of the font to normal (cancels the bold weight previously set with
the ESC E command)
ESC P Select 10-cpi
Format
ASCII ESC P
Hex 1B 50
Decimal 27 80
Function
Selects 10-cpi character pitch
ESC p Turn proportional mode on/off
Format
ASCII ESC p n
Hex 1B 70 n
Decimal 27 112 n
Parameter range
n = 0, 1
Function
Selects either proportional or fixed character spacing according to the following values:
n = 0 Returns to current fixed character pitch
1 Selects proportional spacing
LF
ESC 0
ESC + n
ESC 2
ESC 3 n
ESC A n
ESC B n1 n2 …n k
NUL
ESC C NUL n
ESC C n
ESC D n1 n2 … n
k NUL
ESC l n
ESC N n
ESC O
ESC Q n
ESC SP n
FF
HT
VT
DC4
ESC - n
ESC 4
ESC 5
ESC E
ESC F
ESC G
ESC g
ESC H
ESC M
ESC P
ESC p n
ESC SO
ESC W n
ESC w n
ESC x n
SO
ESC R n
ESC t n
ESC % n
ESC * m nL nH
CAN
DEL
Line feed
Select 1/8-inch line spacing
Set n/360-inch line spacing
Select 1/6-inch line spacing
Set n/180-inch line spacing
Set n/60-inch line spacing
Set vertical tabs
Set page length in inches
Set page length in lines
Set horizontal tabs
Set left margin
Set bottom margin
Cancel bottom margin
Set right margin
Set character space
Form feed
Tab horizontally
Tab vertically
Cancel double-width printing (one line)
Turn underline on/off
Select italic font
Cancel italic font
Select bold font
Cancel bold font
Select double-strike printing
Select 15-cpi
Cancel double-strike printing
Select 12-cpi
Select 10-cpi
Turn proportional mode on/off
Select double-width printing (one line)
Turn double-width printing on/off
Turn double-height printing on/off
Select LQ or draft
Select double-width printing (one line)
Select an international character set
Select character table
Select/deselect user-defined set
Select bit image
Cancel line
Delete last character in buffer
44
45
46
47
48
49
BS
ESC @
ESC U n
ESC X n1 n2
ESC f
ESC v
Backspace
Initialize printer
Turn unidirectional mode on/off
Set the left/right margin
Set forward feeding
Set reverse feeding
DC1
DC3
CAN
ESC k
ESC l
LF
ESC 6
ESC 8
ESC % 9 n1 n2 Set the n/120 inch line spacing
ESC % 5 n Forward paper by n/120 inch
ESC F n1 n2
FF
ESC G n1 n2
DC4
VT
CR
ESC % 4 n1 n2 Move the print head leftward
BS
ESC % 6 n1 n2 Set the carriage return position
ESC % 3 n1 n2 Move the print head rightward
ESC ( n1 n2
ESC ) n1 n2
ESC L
HT
ESC N
ESC H
ESC B
ESC E
ESC % 1 n1 n2
ESC % 2 n1 n2
ESC D
ESC I
ESC X
Set on-line status
Set off-line status
Clear the buffer
Set SHIFT JIS mode
Cancel SHIFT JIS mode
Line feed
Set the 1/6 inch line spacing
Set the 1/8 inch line spacing
Set the page length
Form feed
Set the perforation
Set vertical tab
Tab vertically
Carriage return
Backspace
Set left margin
Set right margin
Set horizontal tab
Tab horizontally
Set Pica HS ANK character mode
Set Pica HD ANK character mode
Set Elite HS ANK character mode
Set Elite HD ANK character mode
Figure data transfer
Horizontal double extended figure data transfer
Set high speed printing
Set high density printing
Set underline printing mode
34
35
36
37
38
39
40
41
42
43
44
45
46
ESC Y
ESC U
ESC R
ESC <
ESC >
ESC [
ESC ]
ESC i
ESC j
ESC % U
ESC % B
ESC m
ESC n
Cancel the underline printing mode
Set double extended printing mode
Cancel the horizontal extended mode for ANK character
Cancel horizontal compress printing mode
Cancel horizontal compress printing mode
Set vertical extended printing mode
Cancel vertical extended printing mode
Set bold printing mode
Cancel bold printing mode
Set unidirectional printing mode
Set bi-directional printing mode
Set repeat printing mode
Cancel repeat printing mode
IInntteerrffaacceess
This appendix provides technical information for the parallel and serial interfaces
11.. TThhee PPaarraalllleell IInntteerrffaacce
The parallel interface of this printer fully supports the Centronics protocol plus the specific features
requested by the EPSON and IBM printer connection in monodirectional mode and the Compatibility
and Nibbles modes in bidirectional mode, plus the negotiation phases and the device identifier (as IEEE
P1284).
The parallel interface is available on a specific 36 contact connector type AMPHENOL
57-40360-12-D56 or equivalent connector for 1284 Type B.
• Drive Capability
Up to 15 feet (5 m) on AWG26 min. wire size of twisted conductors on TTL receiver. The max.
reachable distance is conditioned by the host drive capability and by the noise level along the
interface cable path.
• Printer Connector Type
36 pins, 1284 Type B
• Cable Connector
25 pin, 1284 A Type
e
SSiiggnnaallss DDeessccrriippttiioonn
According to the IEEE - P1284 Standard, the pins assume different meanings and are identified by
different names depending on the actual handshaking mode as follows:
• Compatibility mode (Centronics)
This is the lower level mode provides an asynchronous, byte-wide forward (host-to-peripheral)
channel with data and status lines used according to their original definitions. The interfaces power
up in the compatibility Mode Idle phase.
• Nibble Mode
This mode provides an asynchronous, reverse (peripheral-to-host) channel, under control of the
host. In this mode, peripheral device to host data bytes are sent as two sequential, four-bit nibbles
using the four peripheral-to-host status lines. These two modes cannot be active simultaneously.
• Byte Mode
This mode provides an asynchronous, byte-wide reverse (peripheral-to host) channel based on
eight data lines of the interface for data and the control/status lines for handshaking. Byte mode is
under host control and it cannot be simultaneously active with compatibility mode.
OOppeerraattiinngg PPhhaassees
s
The link protocol is mainly based on the following three phases:
• Negotiation Phase
This phase is activated always by the host, only when in compatibility mode, and defines:
- whether a bidirectional link protocol can be established.
- the handshaking mode as well as the communications mode to be used.
- the device identification, if supported.
• Communication Phase
This phase is based on well defined handshaking rules which depend upon the selected link mode.
• Termination Phase
This phase is initiated by the host and returns the interface to the compatibility mode.
Description of the signals in monodirectional link:
Signal Name Pin N° Source Description
STROBE 1 HOST Clock signal which controls data transmission with its falling edge.
ACK 10 PRINTER Negative pulsed signal indicating that the printer has received data
and is ready to accept the next set of data. Also sent when the
printer is switched from off-line to on-line and at the end of the
initialization time. The BUSY line is always active.
DATA BIT 1
DATA BIT 2
DATA BIT 3
DATA BIT 4
DATA BIT 5
DATA BIT 6
DATA BIT 7
DATA BIT 8 9
BUSY 11 PRINTER When high, this signal indicates that the printer cannot accept data
PE 12 PRINTER When high, this signal indicates that printer is out of paper .
SELECT 13 PRINTER When high, this signal indicates that the printer is on-line.
2
3
4
5
6
7
8
PRINTER /
HOST
Data 8 is the most significant bit. These are the data lines used by
host to transfer control code or ASCII codes.
or control codes. This signal goes high during data processing, in
test and program modes, during initialization, when the buffer is
full, and when a paper jam, paper end or paper size error occurs, in
case of a power-on reset, the reception of a STROBE signal, while
the register was not yet read, or when the INIT line is still active.
Signal Name Pin N° Source Description
AUTOFEEDXT 14 HOST Active low level signal.
GND 16 - Logical ground level (0V).
CHASSIS
GND
+ 5 VDC 18 PRINTER Is the DC voltage supplied by a component that limits the driven
SIGNAL
GND
INIT 31 HOST Active low level signal. Indicates, that the printer is initializing.
ERROR 32 PRINTER When low, this signal indicates that the printer is off-line, there is
+5V 35 PRINTER Pulled up to signal.
SELECTIN 36 HOST Active low level signal. Enables the printer.
17 - Frame ground.
capability up to 100 mA.
19-30 - Signal ground.
The BUSY signal is forced high.
an off-line request from the operator panel, or the printer is in an
error state .
The pins 1 to 14 of the printer are connected to the pins with the same num ber of the parall el port of the host.
The pins 19 to 30 of the printer are connecte d to the pins 18 t o 25 of the paralle l port of the host.
The pins 31, 32 and 36 of the printer are connected respectively to the pins 16, 15 and 17 of the parallel port of the host.
1284 Mode signal names are shown with their Compatibility mode (Centronics) names in parenthesis ( ) for the bidirectional
link.
Timing and Handshaking depend upon the connection mode.
Mode Centronics:
Our Centronics mode supports the BUSY-WHILE-STROBE busy signal timing and
ACK-WHILE-BUSY as BUSY-ACK relationship.
22.. TThhee SSeerriiaall IInntteerrffaaccee
This printer provides the RS-232/C serial interfaces. The interface mode is selected via EDS menu.
• Transmission Type
Data is sent and received in start/stop (asynchronous) transmission.
• Character Format
Each character is transmitted in the following format:
1 START BIT + 8 DATA BITS + 1 PARITY BIT + 1 STOP BIT
The least significant bit of the data bits is sent first after the start bit. The number of data bits is
selected via menu. The parity bit, when present, follows the data bits. The start bit is a logical "0"
and the stop bit is a logical "1". The start and stop bits are used as character framing bits.
• Printer Connector
Male DB9 .
• Drive Capability
Max. 50 feet (15 m) for all supported data rates.
SSeerriiaall IInntteerrffaaccee SSiiggnnaallss
The following table lists the RS-232/C serial interface signals used:
Pin
Number
1
2 Receive Data RXD
3 Transmit Data TXD
4 Data Terminal Ready DTR
5 Signal Ground GND
6 Data Set Ready DSR
Description
Not Connected
5V Power Supply if
necessary
Signal
Name
33.. UUSSBB iinntteerrffaaccee
USB interface accords with USB 1.1 criterion.
Cable connector:
B Type
The following table lists the USB interface signals used:
USB Pin Description
1 USB 5V Power Supply
2 USB D3 USB D+
4 USB GND
44.. NNeettwwoorrkk iinntteerrffaaccee
Cable connector:
8pin, RJ45
The following table lists the network interface signals used:
PPiinn NNaammee DDeessccrriippttiioonn
11
22
33
44
55
66
77
88
Note: This manual is subject to change without notice.