TOSHIBA TEC Singapore S-0601 Dot Printer User Manual 15

TOSHIBA TEC Singapore Pte Ltd Dot Printer Users Manual 15

Users Manual 15

Download: TOSHIBA TEC Singapore S-0601 Dot Printer User Manual 15
Mirror Download [FCC.gov]TOSHIBA TEC Singapore S-0601 Dot Printer User Manual 15
Document ID650729
Application IDRW2UU6hYTW7Ypz4db7u4mQ==
Document DescriptionUsers Manual 15
Short Term ConfidentialNo
Permanent ConfidentialNo
SupercedeNo
Document TypeUser Manual
Display FormatAdobe Acrobat PDF - pdf
Filesize12.97kB (162164 bits)
Date Submitted2006-04-25 00:00:00
Date Available2006-04-20 00:00:00
Creation Date0000-00-00 00:00:00
Producing SoftwareGNU Ghostscript 7.06
Document Lastmod0000-00-00 00:00:00
Document TitleMicrosoft Word - Ch-C Command Sets MIP480 Rev 1_b.doc
Document CreatorPScript5.dll Version 5.2
Document Author: 2328

Command Sets
This appendix describes printer commands and their parameters.
This printer has the following two resident command sets (Emulations):
• IBM 2390+Proprinter XL24E
• Epson EP2
Select the same Emulation on the printer and in your software.
Command Sets
TallyGenicom Matrix Printer MIP360 and IBM Proprinter
2390+XL24E Emulation Quick Reference Guide
This section describes the printer commands for the MIP360 and IBM 2390+Proprinter
XL24 Emulation. Asterisks in the “Function” column indicate extended commands that
are not supported by the original printer.
Function
Command
Print Mode Control
Double-strike (bold) printing on
Double-strike (bold) printing off
Emphasized (shaded) printing on
Emphasized (shaded) printing off
Single-line double-width characters on
Single-line double-width characters off
Double-width characters on/off
(on: n = 1, off: n = 0)
Double-height/double-width characters
n1 = 4, n2 = 0, m1 = 0, m2 = 0
m3 controls character height and line spacing:
m3
Height
Spacing
16
17
18
32
33
34
Unchanged
Normal
Double
Unchanged
Normal
Double
Unchanged
Normal
Double
Unchanged
Unchanged
Unchanged
Single
Single
Single
Double
Double
Double
ESC G
ESC H
ESC E
ESC F
SO or ESC SO
DC4
ESC W (n)
ESC [ @ (n1) (n2) (m1) ... (m4)
m4 controls character width:
m4
Width
Unchanged
Normal
Double
Condensed characters on
Subscript or superscript printing on
(subscript: n = 1, superscript: n = 0)
Subscript and superscript printing off
Underline on/off (on: n = 1, off: n = 0)
Overline on/off (on: n = 1, off: n = 0)
C-2
SI or ESC SI
ESC S (n)
ESC T
ESC - (n)
ESC (n)
Command Sets
Function
Command
Score select
n1 = 2, n2 = 0
m1 selects score location:
ESC [ - (n1) (n2) (m1) (m2)
m1
Score location
Underscore
Strikethrough
Overscore
m2
Score type
Cancel
Single
Double
m2 selects score type:
C-3
Command Sets
Function
Command
Function
Command
Horizontal Control
Space
Backspace
Carriage return
Select 10cpi
Elite characters on
Proportionally spaced characters on/off
(on: n = 1, off: n = 0)
SP
BS
CR
DC2 :
ESC :
ESC P (n)
Vertical Control
Line feed
Form feed
Advance paper n/216 inch (1 ≤ n ≤ 255)
Advance paper n/180 inch (in AG mode)
(1 ≤ ≤ n ≤ 255)
Set line spacing to 1/8 lines
Set line spacing to 7/72 inch
Set line spacing to n/216 inch
(0 ≤ n ≤ 255)
Set line spacing to n/180 inch (in AG mode)
(0 ≤ n ≤ 255)
Preset line spacing to n/72 inch
(1 ≤ n ≤ 255)
Preset line spacing to n/60 inch (in AG mode)
(1 ≤ n ≤ 255)
Set line spacing to 1/6 inch or to the value
preset by line spacing command ESC A (n)
Change graphics line spacing base to
1/216 or 1/180 inch (for ESC J and ESC 3)
m1 = 4, m2 = 0
0 ≤ t1 ≤ 255, 0 ≤ t2 ≤ 255, t3 = 0
t4 = 180 or 216
Reverse line feed
Tabulation
Horizontal tab execution
Set horizontal tabs
The values of n1to nk in this command are the
ASCII values of the print columns (at the current
character width) at which tabs are to be set.
(1 ≤ n ≤ 255) (1 ≤ k ≤ 28)
Clear all horizontal tabs
Move print position right by n/120 inch
(0 ≤ n1, n2 ≤ 255) (n = n1 + n2 X 256)
C-4
LF
FF
ESC J (n)
ESC J (n)
ESC 0
ESC 1
ESC 3 (n)
ESC 3 (n)
ESC A (n)
ESC A (n)
ESC 2
ESC [ \ (m1) (m2) (t1) ... (t4)
ESC ]
HT
ESC D (n1) ... (nk) NUL
ESC D NUL
ESC d (n1) (n2)
Command Sets
Function
Command
Vertical tab execution
Set vertical tabs
The values of n1to nk in this command are the ASCII
values of the lines (at the current line spacing) at which
tabs are to be set.
(1 ≤ n ≤ 255) (1 ≤ k ≤ 64)
Clear all vertical tabs
Reset tabs to default values
Page Formatting
Set left margin at column n and right
margin at column m (0 ≤ n, m ≤ 255)
Set perforation skip by n lines
(1 ≤ n ≤ 255)
Perforation skip off
Set page length to n lines (1 ≤ n ≤ 255)(1
Set page length to n inches (1 ≤ n ≤ 22)
Set top of form
VT
ESC B (n1) ... (nk) NUL
ESC B NUL
ESC R
ESC X (n) (m)
ESC N (n)
255)
Color Selection*
Select print color*
n = 0:Black
1:Magenta (red)
2:Cyan (blue)
3: Violet
4: Yellow
5:Orange
6: Green
Character Set Control
Select character set 1
Select character set 2
Print n1 + n2 X 256 characters from all-character set
(chars.: codes of characters to print,
0 ≤ chars. ≤ 255)
Print a character from all-character set
(char.: a code of character to print,
0 ≤ char. ≤ 255)
ESC O
ESC C (n)
ESC C NUL (n)
ESC 4
ESC r (n)
ESC 7
ESC 6
ESC \ (n1) (n2) (chars.)
ESC ^ (char.)
C-5
Command Sets
Function
Command
Select code page table
ESC [ T (n1) (n2) 0 0 (c1) (c2)
(0 ≤ n1, n2 ≤ 255) (n = n1 + n2 X 256)
c1, c2: Decimal (n1 = 4, n2 = 0)
c1
c2
Code page ID
40
42
42
210
220
181
82
83
84
87
89
90
92
94
95
96
97
98
101
152
155
197
101
114
Ignore command
Code page 210*
Code page 220*
Code page 437
Code page 850
Code page 851*
Code page 852*
Code page 855
Code page 857*
Code page 858****
Code page 860
Code page 862*
Code page 863
Code page 864
Code page 865
Code page 866*
Code page 869
Code page 920
Code page 923**
Code page 437G
Code page 853
Code page USSR GOST
**Code page contains Euro currency symbol
23
27
ISO 8859-15**
Clear input buffer
Select printer
Deselect printer (ignore input)
C-6
CAN
DC1
ESC Q #
ESC Q $
Command Sets
Function
Command
Set font global
ESC [ I (n1) (n2) (Hf) (Lf) (Hs) (Ls) (Sm) 0
(Hc) (Lc)
(0 ≤ n1, n2 ≤ 255) (n = n1 + n2 X 256)
Hf, Lf: Font global ID
Hf, Lf
Font global ID
     
     
# $ % &
' )* $  
12
*2 2*23
184
271 93
16
271 <9 '
1?
271 9 
4 2
271 9 9
45
271*1 9
#
23
1 93 Z 6*6
1 9<'ZW=
1 9*'
>
7
81 4
6*'
?
[*@
?5
:
3<:
A='
3<@
- &*$ %
2*245
271:
271:9
271:
271:*'
27184 2
2*2A;9
#  + $ , 
DEGF H7IGJ
2*'
1 9Z 6*>
1 2ZW=
1'=@Z]12*2
1'A
1*1
A5
.   
2*2*2*6
271';3
271'='
271';
271';9
271841
2*2*'=>
K8HLNM
[*'
>
O P IGJ Q R
?*2
- &*$ %
DEGF H7IGJ
<1
45
1:Z 6*?
1:9 ZW=9
1:
271 ?
271 :
271845
2*2*'=:
K8HLNM
O P IGJ Q R
>9
>
@
A(4
K8HLNM
S TU VWP F Q
XWY
[
C-7
Command Sets
Hs, Lf, Sm: Size parameters
Hs, Ls, Sm Size parameters
The size parameters (Hs, Ls and Sm) specify the pitch as follows.
These size parameters are valid when font ID (Hf, Lf) is not valid.
Null data is ignored.
Dec(Hs,Ls)
Hex (Hs,Ls)
0,0 - 0,65
0,66 - 0,77
0,78 - 0,89
0,90 - 0,107
0,108 - 0,131
0,132 - 0,155
0,156 - 0,179
0,180 - 0,215
0,216 - 0,254
Description
0000 - 0041
0042 - 004D
004E - 0059
005A - 006B
006C - 0083
0084 - 009B
009C-00B3
00B4-00D7
00D8 - 00FE
24 CPI Subscript
20 CPI Subscript
17 CPI Normal
15 CPI Normal
12 CPI Normal
10 CPI Normal
8.5 CPI(17 CPI double-wide)
7.5 CPI(15 CPI double-wide)
6 CPI (12 CPI double-wide, doublehight)
0,255 – 256, 256
0100-FFFF
5 CPI (10 CPI double-wide, doublehigh)
Note: The Hs and Ls Parameters are effective only when hexadecimal 01 (decimal = 1) is specified
in the Size Modifier parameter (Sm) and Hf Lf is not found.
V3
Sizemod (Sm) : The binary number that is the size modifier. The valid sizes are:
_ 00 -No change
_ 01 - Size measures the width in 0.018 mm (1/1440 in.)
_ 02, 03 - The font is proportional.
_ All other values are regarded as 0.
Hc, Lc: Code page ID
Hc, Lc
C-8
Code page ID
HC
LC(Hex)
Code Page
01H
03H
03H
03H
03H
03H
03H
03H
03H
03H
03H
03H
03H
03H
03H
03H
28H
2AH
2AH
B5H
52H
53H
54H
57H
59H
5AH
5CH
5EH
5FH
60H
61H
62H
65H
98H
9BH
C5H
65H
72H
437
850
851
852
855
857
858
860
862
863
864
865
866
869
920
923
437G
853
USSR GOST
V1
Command Sets
Function
Command
Set print quality
ESC [ d (n1) (n2) (m)
(0 ≤ n1, n2 ≤ 255) (n = n1 + n2 X 256)
mf: Quality
Quality
m(hex)
00
01-7F
80-FE
FF
Quality
Draft
LQ
Default Font
ESC Q $
Downloading
Select resident or downloaded font
Ex. n = 0: Resident Draft
2:Resident Courier
4:Downloaded Draft
6:Downloaded Courier
Create download font
ESC = (n1) (n2) ID (m1) (m2) (data)
Bit Image Graphics
Single-density graphics
Double-density graphics
High-speed double-density graphics
Quadruple-density graphics
High-resolution graphics
Select graphics mode (in AG mode only)
ESC K (n1) (n2) (data)
ESC L (n1) (n2) (data)
ESC Y (n1) (n2) (data)
ESC Z (n1) (n2) (data)
ESC [ g (n1) (n2) (m) (data)
ESC * (m) (c1) (c2) (data)
ESC I (n)
C-9
Command Sets
Function
Command
Barcode
Setup barcode parameter
(0 ≤ n1, n2 ≤ 255) (n = n1 + n2 X 256)
k: Barcode type
ESC [f (n1) (n2) (k) (m) (s) (v1) (v2)
(c) (data)
Barcode type
k value
B1 hex
B2 hex
B3 hex
B4 hex
B5 hex
B6 hex
B7 hex
B8 hex
BA hex
barcode type
CODABAR (NW7)
EAN-13
EAN-8
CODE 39
INDUSTRIAL 2 OF 5
INTERLEAVED 2 OF 5
UPC-A
UPC-E
CODE128
m: Module width
Module width
00 hex
01 hex
02 hex
03 hex
04 hex
unit module dots
default(2 dots)
2 dots
2 dots
3 dots
4 dots
s: Space width adjustment
Space width adjustment
“s” is used for fine adjustment for each “spaces” to match the optical conditions.
There is no effect for the “bar” width adjustment.
Range :-3 ` s ` 3
v1, v2: Bar length
v1, v2
Bar length
Bar length is described 2 bytes v1 shows lower byte. v2 shows upper bytes.
And bar length is controlled by multiple value of an unit of 1/2160 inch.
Minimum value of v1, v2:
288 dec
vertical pitch : All the input data is rounded to the multiple value of following table.
C-10
Command Sets
c: Control flag
Control flag
b0: Check Digit
0: No check code is generated by the printer.
The host computer should generate the check code.
1: Check code is generated automatically by the printer.
b1: Human Readable Character
0 : Print On
1 : Print Off
Note: Human readable character is proportionally printed
under the barcode in OCR-B font.
b2: EAN-13, UPC-A flag character position
(EAN-13 : 13th digit)
(UPC-A : number system character)
0 : Center
1 : Under
b3-b7: not used
Set barcode data
n1, n2: Command length
n1, n2
ESC [p (n1) (n2) (data)
Command length
“n1, n2” show data quantity followed “ESC [ p n1, n2”.
“n1” is a low byte of command length data in hexadecimal.
“n2” is a high byte of command length data in hexadecimal.
“n1,n2” value should be the value in the following tables.
If undefined value is found in data string, the printer will ignore
all the received barcode data which length is defined as “n1, n2”.
1) Case of “automatic check digit generation flag off”
Barcode Style
n1 (lowbyte)
EAN-13
0D hex
EAN-8
08 hex
CODE 39
01 to FF hex
INTERLEAVED 2 of 5
01 to FF hex
UPC-A
0C hex
CODE 128
02 to FF hex
n2 (high byte)
00
00
00
00
00
00
2) Case of “automatic check digit generation flag on”
Barcode Style
n1 (lowbyte)
EAN-13
0C hex
EAN-8
07 hex
CODE 39
01 to FF hex
INTERLEAVED 2 of 5
01 to FF hex
UPC-A
0B hex
CODE 128
02 to FF hex
n2 (high byte)
00
00
00
00
00
00
C-11
Command Sets
Remarks
1) Definition barcode term
Bar Length
(Height)
Width
A: Dark module
The concept of module is applied to EAN-13, EAN-8, UPC-A and CODE-128.
One or multiple dark module makes bar element.
B: Light module
The concept of module is applied to EAN-13, EAN-8,UPC-A, and COD-128.
One or multiple light module makes space element.
C: Bar element
This element is actually printed “dark” by wire dot pins.
Bar width is modulated to each barcode symbology method.
D: Space element
This element is not printed i.e. “space” area.
Space width is modulated to each barcode symbology method.
Combination of multiple bars and spaces makes one barcode character.
E: Barcode character
Encoded pattern from one or two digit(s) of receiving barcode data.
Case of CPU, EAN, CODE 39 and Code A/B group of CODE-128,
each one byte data corresponds to one barcode character.
Case of INTERLEAVED 2 OF 5 and Code C group of CODE-128,
two bytes data is encoded to one barcode character.
F: Barcode
Printed result specified by each barcode standard format.
Width: width of horizontal direction.
Length: length of vertical direction.
2) If LF operation is made by an operation switch during printing the barcode,
the received barcode data is cleared and the barcode printing is stopped.
3) Barcode printing is always performed in a single direction.
4) Receiving after the barcode data, page length
and right/left margin change may affect barcode printing.
5) Barcode data and other print data are controlled independently.
So it is necessary to make a space for barcode print area when mixed print is needed.
(See Appendix B)
6) In the case of Interleaved 2 of 5, if received data strings is an odd number
(if check digit flag is on, the check data includes this number) the printer will add
a zero to the most digit.
C-12
Command Sets
7) In the case of CODE 39, the printer will add a start/stop character to the barcode
and human readable character automatically.
8) In the case of CODE 128, the first byte of barcode data strings defines
a character set of its followed data. If undefined character is included for
the first byte except “A”,”B”, or “C”, the printer will ignore all the data for barcode.
Character Set
1st byte
A (41 hex)
B (42 hex)
C (43 hex)
meaning
Start character set A (Code A)
Start character set B (Code B)
Start character set C (Code C)
9) In the case of CODE 128 and character set C, if received data strings is an odd number
(if check digit flag is on, the check data includes this number) the printer will add
a zero “0” character to the most digit.
10) In the case of CODE 128, the printer does not print both special function code of
CODE 128 and ASCII function code for the human readable character.
11) In the case of CODE 128, even if the printer finds undefined code
after the character set is changed by the function code, the printer will ignore
all the barcode data defended by data length parameter “n1,n2”,
and no barcode print is performed.
12) When a paper empty error is occurred during barcode printing,
the printer will stop printing and cancel all the barcode data already received.
13) When the module parameter is set to 1(m=1), the printer will always ignore
the human readable flag. And also, if the printer finds out there is no space to print
the human readable character in the barcode area, the printer may ignore
the human readable flag.
**Code page contains Euro currency symbol
C-13
Command Sets
Function
Cut Sheet Feeder Control*
Feed a sheet from bin 1*
Feed a sheet from bin 2*
Feed a sheet from bin 3*
Eject a page from the printer*
Miscellaneous
Sound the bell
Unidirectional printing on/off
(on: n = 1, off: n = 0)
Add a carriage return to all line feeds
(on: n = 1, off: n = 0)
Printer offline
Select default settings
C-14
Command
ESC EM 1
ESC EM 2
ESC EM E
ESC EM R
BEL
ESC U (n)
ESC 5 (n)
ESC j
ESC [ K (n1) (n2) (i) (ID) (p1) (p2)
Command Sets
Epson EP2 Quick Reference Guide
This section describes the printer commands for the Epson EP2 Emulation. Asterisks in the
“Function” column indicate extended commands that are not supported by the original printer.
See the Programmer’s Reference Manual for detailed information on using these commands.
Function
Print Mode Control
Double-strike (bold) printing on
Double-strike (bold) printing off
Emphasized (shadow) printing on
Emphasized (shadow) printing off
Italic printing on
Italic printing off
Select character style
n = 0:Normal
1:Outlined
2:Shaded
Command
ESC G
ESC H
ESC E
ESC F
ESC 4
ESC 5
ESC q (n)
C-15
Command Sets
3:Outlined and shadowed
One-line double-width characters on
One-line double-width characters off
Double-width characters on/off
(on: n = 1, off: n = 0)
Double-height characters on/off
(on: n = 1, off: n = 0)
Condensed characters on
Condensed characters off
Subscript or superscript printing on
(subscript: n = 1, superscript: n = 0)
Subscript and superscript printing off
Underline on/off
(on: n = 1, off: n = 0)
Select line
n1 = 3, n2 = 0, d1 = 1
d2 = 0: Ignore command
1:Underline
2:Strike through
3:Overscore
d3 = 0 or 4: Cancel line selection
1:Single line
2 or 3:Double line
5:Single-dotted line
6 or 7:Double-dotted line
C-16
SO or ESC SO
DC4
ESC W (n)
ESC w (n)
SI or ESC SI
DC2
ESC S (n)
ESC T
ESC - (n)
ESC ( - (n1) (n2) (d1) (d2) (d3)
Command Sets
Function
Select printing style
This command allows you to combine various printing
styles. The value of n is the sum of the values of the
styles you want to combine.
n=
0: Pica pitch
1: Elite pitch
2: Proportional spacing
4: Condensed
8: Shadow
16: Bold
32: Double-width
64: Italics
128: Underline
Horizontal Control
Space
Backspace
Carriage return
Set elite pitch
Set pica pitch
Set 15 CPI
Proportionally spaced characters on/off
(on: n = 1, off: n = 0)
Set inter-character space to n/120 inch (for draft)
or n/180 inch (for letter and proportional)
(0 ≤ n ≤ 127)
Set character pitch to (n1 + n2 X 256)/360 inch
(0 ≤ n1 ≤ 255) (0 ≤ n2 ≤ 4)
Select character pitch (specify unit of pitch)
n1 = 1, n2 = 0
d = 10 to 19: 10/3600 inch = 1/360 inch
d = 20 to 29: 20/3600 inch = 1/180 inch
d = 30 to 39: 30/3600 inch = 1/120 inch
d = 40 to 49: 40/3600 inch = 1/90 inch
d = 50 to 59: 50/3600 inch = 1/72 inch
d = 60 to 69: 60/3600 inch = 1/60 inch
Command
ESC ! (n)
SP
BS
CR
ESC M
ESC P
ESC g
ESC p (n)
ESC SP (n)
ESC c (n1) (n2)
ESC ( U (n1) (n2) (d)
C-17
Command Sets
Function
Command
Vertical Control
Line feed
LF
Form feed
FF
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 (0 ≤ n ≤ 255)
ESC 3 (n)
Set line spacing to n/60 inch (0 ≤ n ≤ 127)
ESC A (n)
Set line spacing to 1/6 inch
ESC 2
Set line spacing to n/360 inch (0 ≤ n ≤ 255)
ESC + (n)
Tabulation
Horizontal tab execution
HT
Set horizontal tabs
ESC D (n1) ... (nk) NUL
The values of n1to nk in this command are 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 n/120 inch (for draft)(*1)
ESC $ (n1) (n2)
(*1)
or n/180 inch (for letter)
right from left margin
(n = n1 + n2 X 256)
Move print position n/120(*1) inch (for draft)
ESC \ (n1) (n2)
(*1)
or n/180
inch (for letter) left or right from the current
position
(n = n1 + n2 X 256)
Vertical tab execution
VT
Set vertical tabs
ESC B (n1) ... (nk) NUL
The values of n1to nk in this command are the
ASCII values of the lines (at the current line
spacing) at which tabs are to be set.
(1 ≤ n ≤ 255) (1 ≤ k ≤ 16)
Move to dot line (d1 + d2 X 256)/360(*2) inch
ESC ( V (n1) (n2) (d1) (d2)
n1 = 2, n2 = 0
(0 ≤
d1 ≤
255) (0 ≤
d1 ≤
255) (0 ≤
d2 ≤
127)
d2 ≤
127)
Vertical relative move by (d1 + d2 X 256)/360(*2) inch ESC ( v (n1) (n2) (d1) (d2)
n1 = 2, n2 = 0
(0 ≤
–32768 ≤
d1 + d2 X 256 ≤
32768
*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.
C-18
Command Sets
Function
Command
Page Formatting
Set right margin to column n
ESC Q (n)
(1 ≤ n ≤ 255)
Set left margin to column n
ESC l (n)
(0 ≤ n ≤ 255)
Set top and bottom margins from top of page
ESC ( c (n1) (n2) (t1) (t2) (b1) (b2)
n1 = 4, n2 = 0
• Top margin = (t1 + t2 X 256)/360(*1) inch
(0 ≤ t1 ≤ 255) (0 ≤ t2 ≤ 127)
• Bottom margin =(b1 + b2 X 256)/360(*1)i nch
(0 ≤ b1 ≤ 255)
(0 ≤ b2 ≤ 127)
Set perforation skip by n lines
(1 ≤ n ≤ 127)
Perforation skip off
Set page length to n lines (1 ≤ n ≤ 127)
Set page length to n inches (1 ≤ n ≤ 22)
Set page length to (d1 + d2 X 256)/360(*1) inch
n1 = 2, n2 = 0
(0 ≤
d1 ≤
255) (0 ≤
d2 ≤
ESC N (n)
ESC O
ESC C (n)
ESC C NUL (n)
ESC ( C (n1) (n2) (d1) (d2)
127)
Color Selection
Select print color
n = 0:Black
1:Magenta (red)
2:Cyan (blue)
3: Violet
4: Yellow
5:Orange
6: Green
Character Set Control
Select character set 1
Select character set 2
Select the active character set assigned with the
ESC (t command (0 ≤ n ≤ 3)
ESC r (n)
ESC 7
ESC 6
ESC t (n)
*1 The value depends on the pitch set by the ESC (U command. The default is 1/360 inch.
C-19
Command Sets
Function
Command
Select international character set
ESC R (n)
n = 0: USA
1: France
2: Germany
3: United Kingdom
4: Denmark 1
5: Sweden
6: Italy
7: Spanish 1
8: Japan
9: Norway
10:Denmark 2
11:Spanish 2
12:Latin America
13:Korea
64: Legal
Assign a character set to active character set
ESC ( t (n1) (n2) (d1) (d2) (d3)
number 0 to 3, n1 = 3, n2 = 0
d2, d3: Decimal
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
d2
d3
Character Set
10
11
12
13
14
15
16
44
29
16
16
15
Italic
PC 437 (USA)
PC 437G (Greek)
PC 850 (Multilingual)
PC 858 (Multillingual + Euro)**
PC 851 (Greek)*
PC 853 (Turkish)
PC 855 (Cyrillic)
PC 860 (Portugal)
PC 863 (Canada-French)
PC 865 (Norway)
PC 852 (East Europe)*
PC 857 (Turkish)*
PC 862 (Israel)
PC 864 (Arabic)
PC 866 (Russian)*
PC 869 (Greek)
USSR GOST
PC 858**
PC 923 (Latin-9ISO 8859-15)**
31
PC920 (Latin-5)
**Code page contains Euro currency symbol
C-20
Command Sets
Function
Command
Print n1 + n2 X 256 characters from all-character set
(character codes)
(0 ≤ n1 ≤ 255) (0 ≤ n2 ≤ 127)
ESC ( ^ (n1) (n2)
(0 ≤
(0 ≤
n1 + n2 X 256 ≤
character codes ≤
255)
254)
C-21
Command Sets
Function
Command
Clear input buffer
Delete a character
Force most significant bit to 1
Force most significant bit to 0
Cancel control over most significant bit
CAN
DEL
ESC >
ESC =
ESC #
**Code page contains Euro currency symbol
Font Selection and Downloading
Select font
ESC % (n)
n = 0:Resident character set
1:Downloaded character set
Select letter or draft quality
ESC x (n)
n = 0:Draft
1: Letter
Select type style
ESC k (n)
• Bitmap font:
n = 0:RomanCourier
1:Sans serif*Courier
2:Courier*
3:Prestige*
4:Script*Courier
5:OCR-B*
6:OCR-A*
77:Orator*Courier
10:Roman T*
11:Sans serif H*
12:Bold*
13:Gothic*
* On some code pages or point sizes, the Roman font or Sans serif font is selected.
8:Courier
9:Courier
• Scalable font:
n = 0:Timeless
1:Nimbus Sans ÂŽ
2:Courier
3:Timeless
4:Timeless
5:Timeless
7:Timeless
8:Timeless
9:Timeless
Set scalable font mode
• m sets character pitch.
m = 0:Keep previous pitch
1:Set proportional space mode
5:Select character pitch (m/360 inch)
(Reset proportional space mode)
C-22
ESC X m (n1) (n2)
Command Sets
Function
Function
Command
Command
• n1 and n2 set point size of font.
Point size = (n1 + n2 X 256) X 0.5 point
(0 ≤ n1 ≤ 255) (0 ≤ n2 ≤ 127)
Copy resident character set to download area
Create download font
Bit Image Graphics
Graphics type m graphics
Bit image mode definition
Single-density graphics
Double-density graphics
High-speed double-density graphics
Quadruple-density graphics
Select raster image graphics
n1 = 1, n2 = 0
d = 1: Raster image graphics mode
Print raster image graphics
ESC * (m) (n1) (n2) (data)
ESC ? (s) (n)
ESC K (n1) (n2) (data)
ESC L (n1) (n2) (data)
ESC Y (n1) (n2) (data)
ESC Z (n1) (n2) (data)
ESC ( G (n1) (n2) (d)
ESC . (c) (v) (h) (m) (n1) (n2) (data)
Barcode
Barcode setup and print
(0 ≤ n1, n2 ≤ 255) (n = n1 + n2 X 256)
k: Barcode type
ESC : NUL (n) (s)
ESC & NUL (n1) (n2) (d0) (d1)
(d2) (data)
ESC (B (n1) (n2) (k) (m) (s) (v1) (v2)
(c) (data)
Barcode type
k value
00 hex
01 hex
02 hex
03 hex
04 hex
05 hex
06 hex
barcode type
EAN-13
EAN-8
INDUSTRIAL 2 OF 5
UPC-A
UPC-E
CODE 39
CODE128
m: Module width
Module width
02 hex
03 hex
04 hex
unit module dots
2 dots(default)
3 dots
4 dots
s: Space width adjustment
Space width adjustment
“s” is used for fine adjustment for each “spaces” to match the optical conditions.
There is no effect for the “bar” width adjustment.
Range :-3 a s a 3
C-23
Command Sets
v1, v2: Bar length
v1, v2
Bar length
Bar length is described 2 bytes v1 shows lower byte. v2 shows upper bytes.
And bar length is controlled by multiple value of an unit of 1/2160 inch.
Minimum value of v1, v2:
288 dec
vertical pitch : All the input data is rounded to the multiple value of following table.
c: Control flag
*1
C-24
Control flag
b0: Check Digit
0: No check code is generated by the printer.
The host computer should generate the check code.
1: Check code is generated automatically by the printer.
b1: Human Readable Character
0 : Print On
1 : Print Off
Note: Human readable character is proportionally printed
under the barcode in OCR-B font.
b2: EAN-13, UPC-A flag character position
(EAN-13 : 13th digit)
(UPC-A : number system character)
0 : Center
1 : Under
b3-b7: not used
Cut Sheet Feeder Control
Feed a sheet from bin 1
ESC EM 1
Feed a sheet from bin 2
ESC EM 2
Feed a sheet from bin 3 (*1)
ESC EM E
Eject a page from the printer
ESC EM R
Miscellaneous
Select unidirectional mode 1lineSound the bell
BEL
Move print head to home position
ESC <
Unidirectional printing on/off
ESC U (n)
(on: n = 1, off: n = 0)
Initialize printer
ESC @
This is an extended command not supported by the original protocol.

Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.3
Linearized                      : No
Page Count                      : 24
Producer                        : GNU Ghostscript 7.06
Title                           : Microsoft Word - Ch-C Command Sets MIP480 Rev 1_b.doc
Creator                         : PScript5.dll Version 5.2
Create Date                     : 4/4/2006 14:19:53
Author                          : 2328
EXIF Metadata provided by EXIF.tools
FCC ID Filing: QRTS-0601

Navigation menu