Compuprint 9060LA Programmer Manual

A
9060-LA
9070-L
Prr
P
o
o
grr
g
a
a
m
m
m
m
err’’ss
e
M
M
a
a
n
n
u
u
all
a
001
TTaabbllee ooff CCoonntteennttss
Table of Contents................................................... ii
DEC PPL2 Quick Reference.................................. 1
IBM Proprinter Quick Reference......................... 28
EPSON ESC/P2 Quick Reference ....................... 36
Character Sets...................................................... 46
DEC Character Set Tables...............................................46
Generic Character Set Tables..........................................61
IBM Character Set Tables...............................................71
IBM Character Set 1....................................................71
IBM Character Set 2....................................................72
EPSON Character Set Tables..........................................73
Retrieving Access to Configuration....................82
DDEECC PPPPLL22 QQuuiicckk RReeffeerreennccee
This section contains basic information on the DEC PPL2 commands supported in the Compuprint 9060-LA and 9070-LA printers.
The commands are listed by function, in the following order:
Positioning Controls and Tabs
Sheet size and margins
Type size and spacing, managing implicit cursor motion
Font management and attribute selection
Selecting character sets
Reports
Miscellaneous
Barcode printing
Graphics
This guide is intended for use in conjunction with the Digital Ansi-compliant Printing Protocol Level 2 Programming Reference Manual and the Digital Ansi-compliant Printing Protocol Level 2 Programming Supplement. These are referred to simply as the Programming Reference Manual
and the Programming Supplement, respectively.
1
Characters used in control functions appear in monospaced type. The following table explains some of the conventions used.
A pair of numbers separated by a slash (/) character indicates Column/Row notation. This notation refers to the location of a character in a standard code table, such as ASCII.
Spaces appear between characters in sequences for clarity; they are not part of the format. Space is designated as "SP" when it is part of the format of a command or sequence.
The following conventions are used in the command listings:
Conventions
Code Description
ESC CSI
DCS
ST
Pn
Ps
In
F
Escape (1/11), introduces an escape sequence. Control Sequence Introducer (9/11), introduces a control sequence. CSI can also be
represented by the equivalent escape sequence ESC [ (1/11 5/11). Device Control String (9/0), introduces a device control string. DCS can also be
represented by the equivalent escape sequence ESC P (1/11 5/0) String Terminator (9/12 ) indicates the end of a control string. ST can also b e
represented by the equivalent escape sequence ESC \ (1/11 5/12). Numeric parameter, or number of units that specify a distance or quantity
pertaining to the escape sequence, control function or control string. Selective parameter or one that identifies a list of options pertaining to the specific
command. If ">" (3/14) or "?" (3/15) occurs at the beginning of a string of parameters, the following parameters are Digital private parameters. ">" or "?", if present must occur only once at the beginning of the parameter string.
Intermediate character - component of an escape sequence, control sequence or control string.
Final character - component of an escape sequence, control sequence or control string
2
Code Description
SP
Space (2/0) C0 Control Characters are given in f igure "Standar d 8-bit Co de Table (Lef t Half)". C1 Control Characters are given in figure "Standard 8-bit Code Table (Right
Half)". In the 7-bit environment, C1 Control Characters can be sent with an
escape sequence provided in the followi ng tables. Both numeric and selective parameters are interpreted as unsigned decimal
integers, with the most significant digit sent first. For instance, the value 16 is
coded as "16" (3/1 3/6). Leading zeros are allowed but are ignored. Plus and
minus signs are not allowed.
Positioning Controls and Tabs
Mnemonic Function Command Remarks
BS Backspace 0/8 CR Carriage Return 0/13 FF Form Feed 0/12 HT Horizontal Tab 0/9 LF Line Feed 0/10 VT Vertical Tab 0/11 HTS Horizontal Tab Set,
8/8
at current position
IND Index 8/4
NEL Next Line 8/5
C0 Control Code C0 Control Code C0 Control Code C0 Control Code C0 Control Code C0 Control Code C1 Control Code
7-bit environment: ESC H C1 Control Code
7-bit environment: ESC D C1 Control Code
7-bit environment: ESC E
3
Mnemonic Function Command Remarks
PLD Partial Line Down 8/11
C1 Control Code
7-bit environment: ESC K Advance paper 1/12 in.
PLU Partial Line Up 8/12
C1 Control Code
7-bit environment: ESC L Reverse paper 1/12 in.
VTS Vertical Tab Set, at
current position
DECCAHT Clear All Horizontal
8/10
ESC 2
C1 Control Code
7-bit environment: ESC J
Tabs
DECCAVT Clear All Vertical
ESC 4
Tabs
DECSHTS Set Horizontal Tab
CSI Pn ; ... ; Pn u
Pn = tabstop position (max. 16)
Stops
DECSVTS Set Vertical Tab
CSI Pn ; ... ; Pn v
Pn = tabstop position (max. 16)
Stops DECHTS Horizontal Tab Set DECVTS Vertical Tab Set
ESC 1 ESC 3
TBC Tab Clear CSI Ps ; ... ; Ps g Ps=0: Clear horiz. Tab at active position P P P HPA Horizontal Position
CSI Pn ' Pn = position to move to
=1: Clear vert. tab at active position
s
=2 or 3: Clear all horiz. tabs
s
=4: Clear all vert. tabs
s
Absolute
4
Mnemonic Function Command Remarks
HPR Horizontal Position
CSI Pn a
Pn = position of columns down
Relative VPA Vertical Position
CSI Pn d
Pn = position to move to
Absolute VPR Vertical Position
CSI Pn e
Pn = number of lines down
Relative
Sheet Size and Margins
Mnemonic Function Command Remarks
DECSLPP Set Lines per
Physical Page DECVPLA Set Vertical Page
Length Alignment
DECSLRM Set Left and Right
Margins DECHPWA Set Page Width
Alignment DECSTBM Set Top and Bottom
Margins
CSI Pn t
CSI Pn1; Pn2 - u
CSI Pn1; Pn2 s
CSI Pn1; Pn2 " s
CSI Pn1; Pn2 r
Pn = number of lines per pages
Pn1 = Position of the origin from top of form (in 1/72 in.) Pn 2 = Paper length in 1/720 in.
Pn1 = left margin Pn2 = right margin
Pn1* = origin Pn2* = paper width
Pn1 = top margin Pn2 = bottom margin
* Units are in 1/12 inch
5
Type Size and Spacing, Managing Implicit Cursor Motion
Mnemonic Function Command Remarks
DECAWM Autowrap Mode DECCRNLM Carriage Return/
New Line Mode
DECPSP Proportional
Spacing Mode
DECSHORP
Set Horizontal Pitch Ps = 1: 10 CPI Ps = 9: 15 CPI
CSI ? 7 h CSI ? 7 l CSI ? 40 h CSI ? 40 l CSI ? 27 h CSI ? 27 l CSI Ps w
Set autowrap mode Reset autowrap mode CR acts as New Line CR acts as Carriage Return Sets proportional spacing mode Resets proportional spacing mode Ps = 0: 10 CPI Ps = 8: 8.25 CPI
Ps = 2: 12 CPI Ps = 11: 17.1 CPI Ps = 3: 13.2 CPI Ps = 12: 8.55 CPI Ps = 4: 16.5 CPI Ps = 13: 18 CPI Ps = 5: 5 CPI Ps = 14: 9 CPI Ps = 6: 6 CPI Ps = 15: 10 CPI Ps = 7: 6.6 CPI Ps = 16: 20 CPI DECVERP Set Vertical Pi tch
CSI Ps z
Ps = 0: 6 LPI Ps = 1: 6 LPI Ps = 2: 8 LPI Ps = 3: 12 LPI Ps = 4: 2 LPI Ps = 5: 3 LPI Ps = 6: 4 LPI Ps = 7: 10 LPI Ps = 10: same as PS =1 Ps = 21: 4 LPcm* Ps = 22: 2 LPcm Ps = 23: 1 LPcm Ps = 10-17 same as 0-7; 21-23 same as 31-33
6
Mnemonic Function Command Remarks
GSM Graphic Size
Modification
LNM Line Feed/New
Line Mode
CSI Pn1 ; Pn2 SP B
CSI 2 0 h CSI 2 0 l
Pn1 = 100: Normal height characters Pn1 = 200: Double height Pn1 = 300: Triple height Pn1 = 400: Quadruple height Pn2 = 100: Normal width characters Pn2 = 200: Double width Pn2 = 300: Triple width Pn2 = 400: Quadruple width LF acts as new line. LF acts as line feed.
* LPcm = Lines per centimeter
Font Management and Attribute Selection
Mnemonic Function Command Remarks
SGR
Select Graphic Rendition
Selecting Font
CSI Ps m
Ps = 10 : Courier Ps = 11 : Roman Ps = 12 : Sans Serif Ps = 13 : Prestige Ps = 14 : Script Ps = 15 : Courier Ps = 16 : Orator Ps = 17 : Optional card font (not available) Ps = 18 : OCR-A Ps = 19 : OCR-B Ps = ?12 : Data Block
7
Font Management and Attribute Selection (cont.)
Mnemonic Function Command Remarks
SGR P
P
Select Graphic
Rendition-
Selecting
Attributes
CSI Ps m
Ps = 0: Turn off all attributes, standard and private
= 1: Bold on
s
= 3: Slant on
s
Ps = 4: Underline on; double underline off
Ps = 9: Strike-through on Ps = 21: Double underline on, underline off Ps = 22: Bold off Ps = 23: Slant off Ps = 24: Any underline off Ps = 29: Strike-through on Ps = 30: Print Text in black Ps = 31: Print text in red Ps = 32: Print text in green Ps = 33: Print text in yellow Ps = 34: Print text in blue Ps = 35: Print text in magenta Ps = 36: Print text in cyan Ps = 37: Print text in "white" (no printing) Ps = 39: Print text in black Ps = 53: Overline on Ps = 55: Overline off Ps = ?0: All private attributes off Ps = ?4: Superscript on, subscript off Ps = ?5: Subscript on, superscript off Ps = ?6: Overline on Ps = ?24: Superscript and subscript off Ps = ?26: Overline off
8
Mnemonic Function Command Remarks
DECDLD Download Font
DCS
See the Programming Reference Manual parameter_string { D ... D ST
DECDEN P
Printing Density Selection Ps = 3: Select draft
CSI Ps " z
Ps = 0 or 1: Select draft
= 2: Select letter quality
s
Ps = 4: Select letter quality Ps = 5: Select draft
Selecting Character Sets
Mnemonic Function Command Remarks
ASCEF Announce
Subset of Code Extension Facilities
DECAUPSS Assign User
Preference Supplemental
Set SS2 Single Shift 2 7-bit environment: ESC N SS3 Single Shift 3 7-bit environment: ESC O LS0 Locking Shift 0 SI Invoke G0 into GL (or Shift In)
ESC SP L ESC SP M ESC SP N
DCS Ps ! u D ... D ST
C1 Control Code
C1 Control Code
ASCII in G0 and GL. ISO Latin-1 in G1 and GR. Same as ESC SP L ASCII in G0 and GL.
Ps = 0: 94-char.set Ps = 1: 96-char.set D ... D:SCS designating sequence.
Take the next character from G2
Take the next character from G3
9
Mnemonic Function Command Remarks
LS1 Locking Shift 1 SO Invoke G1 into GL (or Shift Out) LS2 Locking Shift 2 ESC n Invoke G2 into GL LS3 Locking Shift 3 ESC o Invoke G3 into GL LS1 Locking Shift 1
ESC ~ Invoke G1 into GR
Right LS2 Locking Shift 2
ESC } Invoke G2 into GR
Right LS3 Locking Shift 3
ESC | Invoke G3 into GR
Right SCS Select Character Set ESC I1 I2 F I1 = "(": Invoke 94-char.set into G0 I1 = ")": Invoke 94-char.set into G1 I1 = "*": Invoke 94-char.set into G2 I1 = "+": Invoke 94-char.set into G3 I1 = "-": Invoke 96-char.set into G1 I1 = ".": Invoke 96-char.set into G2 I1 = "/": Invoke 96-char.set into G3 I2F = final characters from "SCS Final
Characters".
10
SCS Final Characters
Character Set I
F Designator Characters
2
94-Character Sets
British A 4/1 ASCII B 4/2 DEC Dutch 4 3/4 DEC Finnish 5 3/5 French R 5/2 DEC French-Canadian 9 3/9 German K 4/11 DEC Hebrew Supplemental "4 2/2, 3/4 DEC 7-Bit Hebrew %= 2/5, 3/13 ISO Italian Y 5/9 Legal %4 2/5, 3/4 JIS Katakana I 4/9 JIS Roman J 4/10 DEC Norwegian/Danish 6 3/6 ISO Spanish Z 5/10 DEC Swedish 7 3/7 DEC Swiss = 3/13 Norwegian/Danish ' 6/0 DEC Supplemental %5 2/5, 3/5 DEC Technical > 3/14 DEC Special Graphics 0 3/0 DEC Portuguese %6 2/5, 3/6
11
SCS Final Characters (cont.)
Character Set I
F Designator Characters
2
94-Character Sets
DEC 7-Bit Turkish %2 2/5, 3/2 DEC 8-Bit Turkish Supplemental %0 2/5, 3/0 DEC 8-Bit Greek Supplemental "? 2/2, 3/15 User Preference Supplemental < 3/12 Download Character Set SP@ 2/0, 4/0
User Preference Supplemental I
96-Character Sets
F Designator Characters
2
ISO Latin-1 Supplemental A 4/1 ISO Latin-2 Supplemental B 4/2 ISO Latin-Greek Supplemental F 4/6 ISO Latin-Hebrew Supplemental H 4/8 ISO Latin-Cyrillic Supplemental L 4/12 ISO Latin-5 Supplemental M 4/13 ISO Latin-9 Supplemental (*) b 6/2 User Preference Supplemental < 3/12 Dowloaded Character Set SP@ 2/0, 4/0
(*) Contains the Euro Symbol
12
SCS Final Characters for Fallback Character Sets
Character Set Conventions F Designator Character
Fallback to DEC Finnish C 4/3 Fallback to DEC French Canadian Q 5/1 Fallback to DEC Norwegian/Danish E 4/5 Fallback to DEC Swedish H 4/8
Reports
Mnemonic Function Command Remarks
DA Device
Attributes
DAR Device
Attributes
Report
DA2 Secondary
CSI Ps c Request Device Attributes Report.
Ps must be 0.
ESC [ ? Ps1; Ps2 ; ... ; Psn c (printer to host)
Ps1 = 72 Ps2-Psn describe extensions. See the Programming Supplement.
CSI > Ps c Ps must be 0. Device Attributes
DA2R Secondary
Device Attributes Report
ESC [ > Ps1 ; Ps2 ; Ps3 ;
Ps4 ; Ps5 c (printer to
host)
Ps1 = 69 (model 9070-LA) Ps2 = firmware revision x 10 Ps3 = 0 (or 1 reserved) Ps4 = 20 Ps5 = firmware edit revision
13
Reports (cont.)
Mnemonic Function Command Remarks
DECLANS Load
ANSWERBACK without Password
DECLANS Load
ANSWERBACK with Password
ENQ Send
DCS Ps1 v encoded_mess_string ST
DCS Ps1;Pn2;Pn3v encoded_mess_string ST
0/5 C0 Control Code
ANSWERBACK Message
DECRFS Request Font
CSI Ps " {
Status
DSR Device Status
CSI Ps n
Request
DSR Device Status
Report
Brief: CSI Ps n Extended: brief, followed by CSI ? Pn1 ; Pn2 ; ... ; Pnn n
Message is Hex. encoded.
Ps = 1 : No password - Do not store message. Ps = 2: No password - Store message: Ps = 3: Password – Store Pn2: Old password Pn3: New password Default password: 0 Password range: 0 - 9999
Ps must be 3
Ps = 0 or 5: Request extended DSR Ps = ?1: Disable unsolicited reports Ps = ?2: Enable brief unsolicited reports, send extended report Ps = ?3: Enable/send extended unsolicited reports
Ps = 0: No errors Ps = 3: Error See the Programming Supplement for extended report.
14
Miscellaneous
Mnemonic Function Command Remarks
BEL Bell DECSCL Select Conformance
Level
DECSTR Soft Terminal Reset RIS Reset to initial state DECIPEM IBM Proprinter
Protocol Mode
ROCS Return from Other
Coding System
SOCS Select Other Coding
System
CRM Control
Representation Mode
DECFNVR2 Load Factory NVR
Settings
0/7 CSI Ps1 " p
C0 Control Code Ps = 0: reset native level
Ps = 71: reset - DEC PPL1 Ps = 72: reset - DEC PPL2
CSI ! p ESC c CSI ? 58 h
Reset to initial state Reset to initial state Deprecated function
CSI ? 58 l
ESC % @ Return to DEC PPL2 mode
ESC % = ESC % SP 2
CSI 3 h CSI 3 l
CDS Ps ; Ps2 “ s data_string ST
IBM Proprinter Protocol EPSON Protocol
Print hex representation for all characters Reset
Ps1 = 0: omitted, default Ps1 = 1: Store current state (data ignored) Ps1 = 2: Modify with following data, store Ps1 = 3: Load NVRAM, modify, store Ps1 = 4: Load Factory Defaults, modify, store Ps2 = 0: omitted, default Ps2 = 1: data is ASCII encoded setup Ps1 ; Ps2 ; ... ; Psi ; ... Psi: index of the value for parameter i Psi = 0 or omitted: leave unchanged
15
Miscellaneous
Mnemonic Function Command Remarks
DECASFC Automatic Sheet
Feeder Control
DECSITF Select Input Tray
Failover
DECPHGC Printhead Gap
Control
DECUPM Unidirectional Print
Mode
SnC1R /DEC*C1
C1 Transmit /Receive
CSI Ps ! v Ps = 0: No change, eject paper
Ps = 1-3: Tray n (reserved) Ps = 4: Front1 Tractor feeding Ps = 5: Front2 Tractor feeding Ps = 99: No change, eject paper
CSI Ps1 ; Ps2 ; ... ; Psn SP w
Ps 1 = 0: Disable all composite input trays Ps 1 = 1: Define composite tray n Ps2-Psn = n: Add tray n to the composite definition
CSI Ps - s Ps = 0: Automatic Gap Control (AGC)
Ps = 1-5: Programmable Copy Control mode (PCC) - number of copies
CSI ? 41 h CSI ? 41 l
ESC SP 6 ESC SP 7 ESC SP F ESC SP G
Selects unidirectional printing Selects bi-directional printing
Process 7-bit, drop 8th but Process 7-bit and 8-bit Transmit 8-bit as 7-bit equivalents Transmit 8-bit (not supported)
16
Barcode Printing
Mnemonic Function Command Remarks
DECBAR Start or Stop
Bar Codes
DECSBCA Select Bar Code
Attributes
ESC % SP 0 ESC % @
CSI Ps1 ; Ps2 ; … ; Ps9 ‘ q
Start bar code. Stop bar code.
Parameter Description Value
P
Bar Code System 0, 2: Code 3 of 9
s1
1: Interleaved 2 of 5 4: EAN 8 5: EAN 13 7: Codabar a/t 8: Codabar b/n 9: Codabar c/* 10: Codabar d/e 11: UPC-A 12: UPC-E 13: Postnet 14: Industrial 2 of 5 15: Code 93 16: MSI mod 10/10 17: Code 128 (EAN 128) 18: Matrix 2 of 5 P
Width of narrow
n2
bars in decipoints
Supported values: 8 to 45 (default = 10) Not applicable to UPC, EAN and Postnet systems.
17
Barcode Printing (cont.)
Mnemonic Function Command Remarks
Parameter Description Value
P
Width of quiet
n3
Supported value: 180. zones in decipoints
P
Width of wide
n4
bars in decipoints
For EAN, UPC, supported values are in
the range 20 to 158 (default is 25).
Pn4 is not used for Code 93, MSI 10/10 and
Code 128 systems.
Postnet bar code style is fixed to 0,0217" f or
bars and to 0,0255" for spaces . Pitch is 21,18
bars/inch.
P P
Ignored
n5
Height of bars in
n6
decipoints
Min = 60
Max = 2400
Default = 120
P P
Ignored
n7
Orientation 0, 1 or none : Horizontal symbol from left
n8
to right (portrait)
3: Vertical symbol from bottom to top
(landscape - not applicable for EAN 8 & 13,
UPC A & E
P
Human Readable
s9
Characters
18
0, 1: No HRC
2, 3, 4: Print HRC in OCR B
Ignored for Postnet
Notes on Barcode Printing
After printing bar code, appropriate positioning control commands, must be sent to print additional barcode string s, text or graphics.
In the following examples, HPA Pn command positions the Active Position at column Pn, VPA Pn command positions the Active Position at line Pn.
1. Two barcodes Code 39 on the same line: DECSBCA CSI 0;;;;;;;;'q
DECBAR(start) data DECBAR(stop) HPA Pn ESC % SP0 data ESC % @ CSI Pn ‘ DECBAR (start) data DECBAR (stop) ESC % SP0 data ESC % @
2. Two barcodes Code 39 on the same line: DECSBCA CSI 0;;;;;;;;'q
DECBAR(start) data DECBAR(stop) VPA Pn ESC % SP0 data ESC % @ CSI Pn d DECBAR (start) data DECBAR (stop) ESC % SP0 data ESC % @
19
Sixel Graphics Device Control String Envelope
Mnemonic Function Command
DCS Ps1; Pn2 ; Pn3 q
String Introducer Protocol Selector Ps1: macro parameter, select horizontal g rid size
and pixel aspect ratio. See Table D-12. P P
: ignored.
s2
: horizontal grid size - overrides Ps1 for
n3
horizontal grid size - aspect ratio unchanged.
See Table D-13.
sixel data
Picture data Includes sixel printable characters and sixe l
control codes. See Table D-14.
ST
String Terminator Exit Sixel Graphics mode and return to text
mode.
Sixel Graphics Protocol Selector Ps1
Ps1 Value Horizontal Grid Size (inches) Aspect Ratio (Vert:Hor)*
0, 1 or none 1/144 2 2 1/360 5 3, 4 1/180 2.5 5, 6, 7, 8 1/144 2 9 1/72 1 > 9 1/144 2
* Vertical Grid Size = 1/72 inch, unless modified by Pn3 or DECGRA.
20
Sixel Graphics Grid Size defined by Pn3
Pn 3 Value HGS:VGS (dpi) by Aspect Ratio (defined by Ps1)
1:1 2:1 2.5:1 5:1
0 or none No change to HGS and VGS defined by Ps1 1, 2 360:360 360:180 360:144 360:72 3, 4 180:180 180:90 180:72 180:36 5, 6, 7 144:144 144:72 180:72 180:36 8, 9 90:90 90:45 90:36 180:36 10 - 15 72:72 72:36 90:36 180:36 16, 19 45:45 72:36 90:36 180:36 > 20 36:36 72:36 90:36 180:36
Sixel Graphics Control Codes
Mnemonic Function Command Remarks
DECGRA " (2/2) Defines the pixel aspect ratio. Followe d by parameters
P P
Set Raster Attributes
P
; Pn2 ; Pn3; Pn4
n1
: Pixel aspect ratio numerator (A)
n1
: Pixel aspect ratio denominator (R), w here
n2
0 < A/R < 1.5 corresponds to 1:1
1.5 < A/R << 2.25 corresponds to 2:1
2.25 < A/R << 3.75 corresponds to 2.5:1
3.75 < A/R corresponds to 5:1 P DECGRI Graphics
! (2/1) Followed by a numeric value Pn and a sixel data to be
Repeat
and Pn4 : ignored
n3
repeated Pn times.
Introducer
21
Mnemonic Function Command Remarks
DECGCR Graphics
$ (2/4) Returns active positions to graphics left margins Carriage Return
DECGNL Graphics
Next Line
DECGCI # (2/3) Assigns a color to a color number or selects a
Graphics Color Introducer Followed by parameters
P P P
- (2/13) Returns active position to graphics left margin on the following line
predefined color number.
; Pu ; Px ; Py; Pz
c
: Color number (0-255)
c
: Universal coordinate system selector: 1= HL S,
u
2=RGB
P Parameter
0-9 (3/0) - (3/9) Numeric parameters - used on the above control
Characters
Parameter
; (3/11) Separates parameters - used on the above control
Separator
, Py, Pz: color coordinates.
x
codes codes
Sixel Data (3/15 – 3/14) Sixel printable characters. The printer substracts the offset (3F hexadecimal)
from the received code, assigning each of the remaining low- order six bits to a grid position:
LSB = top pixel MSB = bottom pixel Examples: ? (3/15): blank character @ (4/0): print only top pixel A (4/1) : print second-from-top pixel ~ (7/15): print one full column
22
Standard 8-bit Code Table (Left Half)
23
Standard 8-bit Code Table (Right Half)
24
Designating and Invoking Character Sets
25
National Replacement Character sets
Location US National Replacement Character Sets
ASCII British DEC
Finnish
French DEC French-
Canada
German ISO
Italian
JIS
Roman
2/3 # £ £ £
4/0 @ à à § § 5/11 [ Ä ° â Ä º 5/12 \ Ö ç ç Ö ç ¥ 5/13 ] Å § ê Ü é 5/14 ^ Ü î
6/0 ' é ô ù 7/11 { ä é é ä à 7/12 | ö ù ù ö ò 7/13 } å è è ü è 7/14 ~ ü trema û ß ì _
26
Location US National Replacement Character Sets
ASCII DEC Norw.-
Danish
ISO
Spanish
DEC
Swedish
Norw.-
Danish
DEC
Dutch
DEC
Swiss
2/3 # £ £ ù 4/0 @ Ä § É 3/4 à 5/11 [ Æ ¡ Ä Æ ÿ é Ã 5/12 \ Ø Ñ Ö Ø 1/2 ç Ç 5/13 ] Å ¿ Å Å | ê Õ 5/14 ^ Ü Ü î 5/15 _ è 6/0 ' ä é ô 7/11 { æ ° ä æ trema ä ã 7/12 | ø ñ ö ø f ö ç 7/13 } å ç å å 1/4 ü õ 7/14 ~ ü ü ' û
DEC Portu-
guese
27
IIBBMM PPrroopprriinntteerr QQuuiicckk RReeffeerreennccee
This section describes the printer commands for the IBM Proprinter protocol. Asterisks in the "Function" column indicate extended commands that are not supported by the original printer. See the Programmer's Reference Manual for detailed informati o n on using these commands.
Function Command
Print Mode Control
Double strike printing on. ESC G Double strike printing off. ESC H Emphasized printing on. ESC E Emphasized printing off. ESC F Double width printing (one line) on. ESC SO Double width printing (one line) off. DC4 Double width printing on/off. ESC W (n) (on: n=1, off: n=0) Double height/double width characters ESC [ @ l h m1 ... m4 l = 4, h = 0, m1 = 0, m2 = 0
m3 controls the height and line spacing m3 Height Spacing
0 Unchanged Unchanged 1 Normal Unchanged 2 Double Unchanged 16 Unchanged Single 17 Normal Single 18 Double Single 32 Unchanged Double 33 Normal Double 34 Double Double
28
Function Command
Print Mode Control (cont.)
m4 controls character width: m4 Width
0 Unchanged 1 Single width 2 Double width
Compressed printing. SI or ESC SI Sets 10 cpi and disabl es compressed printing. DC2 Subscript or superscript printing on. ESC S (n) (Subscript: n=1, superscript: n=0) Subscript or superscript printing off. ESC T Underline on/off (on: n=1, off: n=0) ESC -(n) Overscore printing (on: n=1, off: n=0). ESC _ (n)
Horizontal Control
Space SP Backspace BS Carriage return CR Sets 12 cpi pitch ESC : Proportionally spaced characters on/off ESC P (n) (on: n = 1, off: n = 0)
29
Function Command
Vertical Control
Line Feed LF Form Feed FF Advance paper n base units (1 < n < 255) set with the ESC [ \
ESC J (n)
command Set line spacing to 1/8 lines ESC 0 Set line spacing to 7/72 inch ESC 1 Set line spacing to n base units (1 < n < 255) set with the ESC [
ESC 3 (n)
\ command Set line spacing to n/180 inch (in AG mode) (1 < n < 255) ESC 3 (n) Preset line spacing to n/72 inch ESC A (n) Preset line spacing to n/60 inch (in AG mode) ESC A (n) Set line spacing to 1/6 inch or to the value preset by line
ESC 2
spacing command ESC A (n) Change graphics line spacing base to 1/216 or 1/180 inch (for
ESC [ \ (m1)(m2)(t1) ... (t4)
ESC J and ESC 3). Default value is 1/216" (1/180" in AG Mode)
m1 = 4, m2 = 0, 0 < t1 < 255, 0 < t2 < 255, t3 = 0, t4 = 180 or 216
30
Function Command
Tabulation
Horizontal tab execution HT Set horizontal tabs ESC D (t1) ... (t28) NUL The values of n1 to nk in this command are the ASCII values of
ESC d (n1)(n2) the print columns (at the current character width) at which tabs are to be set. (1 < n < 255)
Clear all horizontal tabs ESC D NUL Move print position right by n/120 inch ESC d (n1) (n2) (0 < n1, n2 < 255) (n = n1 + n2 x 256) Vertical tab execution VT Set vertical tabs ESC B (t1) ... (t64) NUL Reset tabs to default values ESC R
Page Formatting
Set left margin at column n and right ma rgin at column m
ESC X (n) (m) (0 < n, m < 255)
Set perforation skip by n lines (1 < n < 255) ESC N (n) Perforation skip off ESC O Set page length to n lines (1 < n < 255) ESC C (n) Set page length to n inches (1 < n < 22) ESC C NUL (n) Set top of form ESC 4
31
Function Command
Color Selection
Select print color ESC r (n)
n = 0: Black 1: Magenta (red) 2: Cyan (blue) 3: Violet 4: Yellow 5: Orange 6: Green
Character Set Control
Select character set 1. ESC 7 Select character set 2. ESC 6 Print n1 + n2 x 256 characters from all-character set (chars.:
ESC \ (n1) (n2) (chars.)
codes of characters to print, 0 < chars < 255) Print a character from all-character set (char.: a code of
ESC ^ (char)
character to print, 0 < chars < 255) Selects a code page table n. (0 < n1, n2 < 255) (n = n1 + n2 x
ESC [ T (n1) (n2) 00 (c1) (c2)
256), (0 < c1, c2 < 255) c1 c
0 210 Code Page 210 0 220 Code page 220 1 181 Code page 437 3 82 Code page 850 3 84 Code page 852 3 85 Code page 853
Code Page ID
2
32
Function Command
Character Set Control (cont.)
c1 c
Code Page ID
2
3 87 Code page 855 3 89 Code page 857 3 90 Code page 858 (contains the Euro Symbol) 3 92 Code page 860 3 93 Code page 861 3 94 Code page 862 3 95 Code page 863 3 96 Code page 864 3 97 Code page 865 3 98 Code page 866 3 101 Code page 869 33 128 Mazowia 33 149 ISO 8859-7 23 27 ISO 8859-15 (contains the Euro Symbol) 35 79 ISO Latin 1T 35 59 Code Page 437 Greek 35 73 ABICOMP 35 74 BRASCII 35 76 Code MJK 35 77 Bulgarian
Clear one line of data CAN Select printer DC1 Deselect printer (ignore input) ESC Q #
33
Function Command
Downloading
Select resident or downloaded font ESC I (n)
Resident Downloaded 0 10 cpi Draft 4 2 10 cpi LQ 6 3 Proportional 7 8 12 cpi Draft 12 10 12 cpi LQ 14 16 17 cpi Draft 20 18 17 cpi LQ 22
Create download font ESC = (n1) (n2) ID (m1) (m2) (data)
Bit Image Graphics
Single-density graphics ESC K (n1) (n2) (data) Double density graphics ESC L (n1) (n2) (data) High-speed double density graphics ESC Y (n1) (n2) (data) High resolution graphics ESC Z (n1) (n2) (data) Select graphics mode (in AG mode only) ESC * (m) (c1) (c2) (data) High density dot graphics printing ESC [ g (l) (h) (m) (n1) ... (nk) (data)
Cut Sheet Feeder Control
Select bin 1 ESC EM 1 Select bin 2 ESC EM 2 Select bin 3 ESC EM 3 Eject single sheet ESC EM R Park current path ESC EM 8 Load current path ESC EM 9 Select and load Front2 Path ESC EM B
34
Function Command
Cut Sheet Feeder Control (cont.)
Select and load Front1 Path ESC EM F Select and load ASF bin 1 ESC EM 15 Select and load ASF bin 2 ESC EM 16 Select and load ASF bin 3 ESC EM 17
Miscellaneous
Sound the bell BEL Unidirectional printing on/off
ESC U (n)
(on: n = 1, off: n = 0) Add a line feed to all carriage returns
ESC 5 (n)
(on: n=1, off: n=0) Printer offline ESC j Select default settings ESC [ K (n1) (n2) (i) (ID) (p1) (p2)
35
EEPPSSOONN EESSCC//PP22 QQuuiicckk RReeffeerreennccee
This section describes the printer commands for the Epson ESC/P2 protocol. Asterisks in the "Function" column indicate extended commands that are not supported by the original printer. See the Programmer's Reference Manual for detailed informati o n on using these commands.
Function Command
Print Mode Control
Double strike printing on. ESC G Double strike printing off. ESC H Emphasized printing on. ESC E Emphasized printing off. ESC F Italic printing on. ESC 4 Italic printing off. ESC 5 Select character style ESC q (n) n = 0: Normal 1: Outlined 2: Shaded 3: Outline and shadowed One-line double-width characters on. SO or ESC SO One-line double-width characters off. DC4 Double width characters on/off. ESC W (n) (on: n=1, off: n=0) Double height characters on/off. ESC w (n) (on: n=1, off: n=0) Compressed printing. SI or ESC SI Compressed printing off. DC2
36
Function Command
Print Mode Control (cont.)
Subscript or superscript printing on. ESC S (n) (Subscript: n=1, superscript: n=0) Subscript or superscript printing on. ESC T Underline on/off (on: n=1, off: n=0) ESC -(n) Select line ESC ( - (n1) (n2) (d1) (d2) (d3)
n1 = 3, n2 = 0, d1 = 1 d2 =
d3 =
1: Underline 2: Strikethrough 3: Overscore 0: Cancel line selection 1: Single line 2: Double line 5: Single-dotted line 6: Double-dotted line
Select printing style ESC ! (n) This command allows you to combine v arious printing
styles. The value of n is the sum of the values of the styles you want to combine. n =
0: 10 cpi 16: Double height 1: 12 cpi 32: Double width 2: Proportional spacing 64: Italics 4: Condensed 128: Underline 8: Bold
37
Function Command
Horizontal Control
Space SP Backspace BS Carriage return CR Set 12 cpi ESC M Set 10 cpi. ESC P Set 15 cpi. ESC g Proportionally spaced characters on/off
ESC p (n)
(on: n = 1, off: n = 0) Set inter-character space to n/120 inch (for draft) or n/180
ESC SP (n)
inch (for letter and proportional) (1 < n < 127) Set character pitch to (n1 + n2 x 256)/360 inch (0 < n1 < 255)
ESC c (n1) (n2)
(0 < n2 < 4) Select character pitch (specify unit of pitch) ESC ( U (n1) (n2) (d) n1 = 1, n2 = 0 d = 10 : 10/3600 inch = 1/360 inch d = 20: 20/3600 inch = 1/180 inch d = 30: 30/3600 inch = 1/120 inch d = 40 : 40/3600 inch = 1/90 inch d = 50: 50/3600 inch = 1/72 inch d = 60: 60/3600 inch = 1/60 inch
Vertical Control
Line Feed LF Form Feed FF
38
Function Command
Vertical Control (cont.)
Advance paper n/180 inch (1 < n < 255) ESC J (n) Set line spacing to 1/8 inch ESC 0 Set line spacing to n/180 inch (1 < n < 255) ESC 3 (n) Set line spacing to n/60 inch (1 < n < 127) ESC A (n) Set line spacing to 1/6 inch ESC 2 Set line spacing to 1/360 inch ESC + (n)
Tabulation
Horizontal tab execution HT Set horizontal tabs. The values of n1 to nk in this command are
ESC D (n1) ... (nk) NUL the ASCII values of the print columns (at the current character width) at which tabs are to be set. (1 < n < 255) (1 < k < 32)
Move print position right by n/1 20
(*1)
inch (for draft) or n/180
(*1)
ESC $ (n1)(n2) inch (for letter) right from left margin (n = n1 + n2 x 256)
Move print position n/120
(*1)
inch (for draft) or n/180
(*1)
inch (for
ESC \ (n1)(n2) letter) left or right from the current position (n = n1 + n2 x 256)
Vertical tab execution VT Set vertical tabs. The values of n1 to nk in this command are the
ESC B (n1) ... (nk) NUL ASCII values of the print columns (at the current character width) at which tabs are to be set. (1 < n < 255) (1 < k < 16)
*1, The value depends on the pitch set by the ESC ( U command. *2, The value depends on the pitch set by the ESC ( U command. The default is 1/360 inch.
39
Function Command
Tabulation (cont.)
Move to dot line (d1 + d2 x 256)/360
(*2)
inch
ESC ( V (n1) (n2) (d1) (d2) n1 = 2, n2 = 0 (1 < d1 < 255) (1 < d2 < 127)
Vertical relative move by (d1 + d2 x 256)/360
(*1)
inch n1 = 2, n2 = 0
ESC ( v (n1) (n2) (d1) (d2) (1 < d1 < 255) (1 < d2 < 127) –32768 < d1 + d2 x 256 < 32768
Page Formatting
Set right margin to column n (1 < n < 255) ESC Q (n) Set left margin to column n (1 < n < 255) ESC l (n) Set top and bottom margins from top of page
n1 = 4, n2 = 0
ESC ( c (n1) (n2) (t1) (t2) (b1)
(b2) Top margin = (t1 + t2 x 256)/360(*2) inch (0 < t1 < 255) (1 < t2 < 127) Bottom margin = (b1 + b2 x 256)/360(*2) inch (0 < b1 < 255) (0 < b2 < 127) Set perforation skip by n lines (1 < n < 127) ESC N (n) Perforation skip off ESC O Set page length to n inches ESC C (n) Reset page length ESC C NUL (n) Set page length to (d1 + d2 x 256)/360(*1) inch
ESC ( C (n1) (n2) (d1) (d2)
n1 = 2, n = 0 (0 < d1 < 255) (0 < d2 < 127)
*1, The value depends on the pitch set by the ESC ( U command. *2, The value depends on the pitch set by the ESC ( U command. The default is 1/360 inch.
40
Function Command
Color Selection
Select print color ESC r (n)
n = 0: Black 4: Yellow
1: Magenta (red) 5: Or ange 2: Cyan (blue) 6: Green 3: Violet
Character Set Control
Select character set 1 ESC 7 Select character set 2. ESC 6
Select the active character set assigned with the ESC t (n)
ESC R (n)
command (0 < n < 3) Select international character set ESC R (n)
n = 0: USA 1: France 2: Germany 3: United Kingdom 4: Denmark I 5: Sweden 6: Italy 7: Spanish I 8: Japan 9: Norway 10: Denmark 2 11: Spanish 2 12: Latin America 13: Korea 64: Legal
41
Function Command
Character Set Control
Assign a character set to active character set number 0 to 3;
n1 = 3, n2 = 0 d1 = 0: Active character set number 0, default is Italics
1: Active character set number 1, default is Graphics 2: Active character set number 2, default is DLL 3: Active character set number 3, default is Graphics 0 < d2, d3 < 255
d2 = d3 =
1 0 PC437 (USA) 1 16 PC437 (Greek) 3 0 PC850 (Multilingual) 4 0 PC851 (Greek) 5 0 PC853 (Turkish) 6 0 PC855 (Cyrillic) 7 0 PC860 (Portuguese) 8 0 PC863 (French Canadian) 9 0 PC865 (Nordic) 10 0 PC852 (Eastern Europe) 11 0 PC857 (Turkish) 13 0 PC864 (Arabic) 14 0 PC866 (Russian) 15 0 PC869 (Greek) 24 0 PC861 (Icelandic) 25 0 Brazilian ASCII 26 0 Abicomp (Brazilian portuguese)
ESC ( t (n1)(n2)(d1)(d2)(d3)
42
Function Command
Character Set Control
d2 = d3 =
27 0 Mazowia (Polish) 28 0 Code MJK (CSFR) 29 7 ISO 8859-7 (Latin Greek) 29 15 ISO 8859-15 – contains the Euro symbol 31 0 ISO Latin 1T (Turkish) 32 0 Bulgarian 44 0 PC858 (Euro PC Multilingual) – contains the Euro symbol Print n1 + n2 x 256 characters from all-c harac ter se t (char s.:
ESC ( ^ (n1) (n2) (character codes)
codes of characters to print, (0 < n1 < 255) (0 < n2 < 127) (0 < n1 + n2 x 256 < 255) (0 < character codes < 254) Delete last line CAN Delete the last character DEL Force most significant bit to 1 ESC > Force most significant bit to 0 ESC = Cancel control over most significant bit ESC #
Font Selection and Downloading
Select font ESC % (n) Ex. n = 0: Resident 1: Downloaded character set Select letter or draft quality ESC x (n) Ex. n = 0: Draft 1: Letter
43
Function Command
Font Selection and Downloading (cont.)
Select type style ESC k (n) n = 0: Roman
1: Sans Serif 2: Courier 3: Prestige 4: Script 5: OCR-B 7: Orator 8: Orator S (not resident) 9: Script C (not resident)
Copy resident character set to download area ESC : NUL (n) (s) Create download font ESC & NUL (n1) (n2) (d0) (d1) (d2) (data)
Bit Image Graphics
Graphics type m graphics ESC * (m) (n1) (n2) (data) Bit image mode definition ESC ? (s) (n) Single-density graphics ESC K (n1) (n2) (data) Double density graphics ESC L (n1) (n2) (data) High-speed double density graphics ESC Y (n1) (n2) (data) Quadruple-density graphics ESC Z (n1) (n2) (data) Select raster image graphics ESC ( G (n1) (n2) (d)
n1 = 1, n2 = 0, d = 1: Raster image graphics mode
44
Function Command
Cut Sheet Feeder Control
Select bin 1 ESC EM 1 Select bin 2 ESC EM 2 Select bin 3 ESC EM 3 Park current path ESC EM 8 Load current path ESC EM 9 Select and load Front2 Path ESC EM B Select and load Front1 Path ESC EM F Eject single sheet ESC EM R Select and load ASF bin 1 ESC EM 15 Select and load ASF bin 2 ESC EM 16 Select and load ASF bin 3 ESC EM 17
Miscellaneous
Sound the bell BEL Move print head to home position ESC < Unidirectional printing on/off (on: n = 1, off: n = 0) ESC U (n) Initialize printer ESC @
45
CChhaarraacctteerr SSeettss
DDEECC CChhaarraacctteerr SSeett TTaabblleess
46
47
48
49
50
51
52
53
54
55
56
57
58
59
ISO Latin 9
60
GGeenneerriicc CChhaarraacctteerr SSeett TTaabblleess
The following are the character set table which are common to the IBM and the EPSON protocol.
Code Page 210 Code Page 220 Code Page 437 Greek
61
Code Page 850 Code Page 852 Code Page 853
62
Code Page 855 Code Page 857 Code Page 858
63
Code Page 860 Code Page 861 Code Page 862
64
Code Page 863 Code Page 864 Code Page 865
65
Code Page 866 Code Page 869 Abicomp
66
Brazilian ASCII Mazowian Code MJK
67
Bulgarian ISO 8859-7 ISO Latin 1T
68
Code Page 437 D-Hebrew New Hebrew
69
ISO 8859-15
70
IIBBMM CChhaarraacctteerr SSeett TTaabblleess
IIBBMM CChhaarraacctteerr SSeett 11
00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 NUL SP 0 @ P ’ p NUL á 01 DC1 ! 1 A Q a q DC1 í 02 DC2 “ 2 B R b r DC2 ó 03 DC3 # 3 C S c s DC3 ú ³ Ã Ó 04 DC4 $ 4 D T d t DC4 ñ ´ Ä Ô 05 % 5 E U e u Ñ µ Å Õ 06 & 6 F V f v ª ¶ Æ Ö 07 BEL ‘ 7 G W g w BEL 08 BS CAN ( 8 H X h x BS CAN 09 HT ) 9 I Y i y HT 0A LF * : J Z j z LF 0B VT ESC + ; K [ k { VT ESC 0C FF , < L \ l | FF 0D CR - = M ] m } CR 0E SO . > N ^ n ~ SO 0F SI / ? O _ o DEL SI
¦
À Ð
¦
Á Ñ
¦
 Ò
º
· Ç ×
¿
¸ È Ø
¬
¹ É Ù
¬
º Ê Ú
½ ¼ ¡ « »
» Ë ¼ Ì ½ Í ¾ Î
¿ Ï
¦ d v _ 8 n ¦ f ² ¦ e ¦ ¯ n
a = ß ± G = p = S ( s ) µ ÷ t ˜ F ° T · O ·
SP
71
IIBBMM CChhaarraacctteerr SSeett 22
00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 NUL SP 0 @ P ’ p Ç É á 01 DC1 ! 1 A Q a q ü æ í 02 ` DC2 “ 2 B R b r é Æ ó 03 04 05 06 07 BEL ‘ 7 G W g w ç ù 08 BS CAN ( 8 H X h x ê ÿ 09 HT ) 9 I Y i y ë ö 0A LF * : J Z j z è Ü 0B VT ESC + ; K [ k { ï ¢ 0C FF , < L \ l | î £ 0D CR - = M ] m } ì ¥ 0E SO . > N ^ n ~ Ä 0F SI / ? O _ o DEL Å
DC3 # 3 C S c s â ô ú ³ Ã Ó
DC4 $ 4 D T d t ä ö ñ ´ Ä Ô
♦ ♣ ♠
§ % 5 E U e u à ò Ñ µ Å Õ & 6 F V f v å û ª ¶ Æ Ö
¦
À Ð
¦
Á Ñ
¦
 Ò
º
· Ç ×
¿
¸ È Ø
¬
¹ É Ù
¬
º Ê Ú
½ ¼
¡ P « ƒ »
» Ë ¼ Ì ½ Í ¾ Î
¿ Ï
¦ d v _ 8 n ¦ f ² ¦ e ¦ ¯ n
a = ß ± G = p = S ( s ) µ ÷ t ˜ F ° T · O ·
SP
72
EEPPSSOONN CChhaarraacctteerr SSeett TTaabblleess
USA France
73
Germany United Kingdom
74
Denmark 1 Denmark 2
75
Sweden Italy
76
Japan Spain 1
77
Spain 2 Norway
78
Latin America Korea
79
Turkey Legal
80
Old Hebrew
81
RReettrriieevviinngg AAcccceessss ttoo CCoonnffiigguurraattiioonn
If you have selected the Minimum Value of the USER ACCESS Function, and you want to retrieve the access to Set-Up, proceed as follows:
1. Make sure the printer is powered-off.
2. Press the Set-up and the Pause buttons while powering the printer on and maintain the buttons depressed until Testing... is displayed. The display shows USER ACCESS.
3. Select the required user access level according to the procedure of the section "Setting the User Access Authorization" in "Configuring your Printer".
82
Loading...