Т³гж 10 – TVS electronic MINI THERMAL RP-3180 User Manual

Page 10

Advertising
background image

ESC ! N

[Name]
[Format]

[Range]

Select print mode(s)
ASCII ESC ! n
Hex 1B 21 n
Decimal 27 33 n
0

n

255

8-2 Descriptions of Each Item

[Name]
[Format]
[Range]
[Description]
[Details]
[Default]
[Example]

The name of the command.
The code sequence.
Gives the allowable ranges for the arguments.
Describes the command's function.
Describes the usage of the command in detail.
Gives the default values, if any, for the command parameters.
Gives examples of how to use the command.

Hex indicates the hexadecimal equivalents.
Decimal indicates the decimal equivalents.

8-3 Control Commands

LF

Print and line feed
ASCII LF
Hex 0A
Decimal 10
Prints the data in the print buffer and feeds one line based on the
current line spacing.
This command sets the print position to the beginning of the line.
ESC 2, ESC 3

[Name]
[Format]

[Description]

[Details]
[See Also]

[Name]
[Format]

[Description]

[Details]

[See Also]

CR

Print and carriage return
ASCII CR
Hex 0D
Decimal 13
When automatic line feed is enabled, this command functions the
same as LF;
When automatic line feed is disabled, this command is ignored.
Sets the print starting position to the beginning of the line.
The automatic line feed is ignored with a serial interface model.
LF

13

[Description]

[Details]

[Default]
[See Also]

Bit

0
1
2
3

6
7

Off/On

-
-
-

Off
On
Off
On

-
-

Hex

-
-
-

00
10
00
20

-
-

Decimal

-
-
-

0

16

0

32

-
-

Default font
Undefined
Undefined
Undefined
Double-height mode not selected
Double-height mode selected
Double-width mode not selected
Double-width mode selected
Undefined
Undefined

Function

4

5

Selects print mode(s) using n as follows:

When both double-height and double-width modes are selected,
quadruple size characters are printed.
The printer can underline all characters.
When some characters in a line are double or more height, all the
characters on the line are aligned at the baseline.
GS ! can also select character size. However, the setting of the last
received command is effective.
Emphasized mode is effective for alphanumeric and Kanji. All print
modes except emphasized mode is effective only for alphanumeric.
N = 0
GS !

[Name]
[Format]

[Range]
[Description]

(1)ESC * m n1 n2 d1...dk

Select bit-image mode
ASCII ESC * m n1 n2 d1...dk
Hex 1B 2A m n1 n2 d1...dk
Decimal 27 42 m n1 n2 d1...dk
m = 0, 1, 3 2, 33 , 0

n1

255 , 0

n2

3, 0

d 255

Selects a bit-image mode using m for the number of dots specified
by (n1 + n2 x 256). Set a bit to 1 to print a dot, or set a bit to 0 to not
print a dot. d indicates the bit image data. The modes selectable by
m are as follows:

[dpi: dots per 25.4 mm {1"}]

0
1

32
33

8-dot single-density

8-dot double-density

24-dot single-density

24-dot double-density

Number

of Dots

8
8

24
24

Dot Density

(dpi)

60
60

180
180

Dot Density

(dpi)

90

180

90

180

Number of Data

(K)

n1 + n2 x 2 56
n1 + n2 x 2 56

(n1 + n2 x 256) x 3
(n1 + n2 x 256) x 3

Horizontal Direction

Vertical Direction

m

Mode

14

RP-3180 USER'S MANUAL

RP-3180 USER'S MANUAL

Advertising