8-2 Descriptions of Each Item

[Name]

The name of the command.

[Format]

The code sequence.

[Range]

Gives the allowable ranges for the arguments.

[Description]

Describes the command's function.

[Details]

Describes the usage of the command in detail.

[Default]

Gives the default values, if any, for the command parameters.

[Example]

Gives examples of how to use the command.

Hex indicates the hexadecimal equivalents.

Decimal indicates the decimal equivalents.

8-3 Control Commands

LF

[Name]

Print and line feed

 

 

[Format]

ASCII

LF

 

 

 

Hex

0A

 

 

 

Decimal

10

 

 

[Description]

Prints the data in the print buffer and feeds one line based on the

 

current line spacing.

 

[Details]

This command sets the print position to the beginning of the line.

[See Also]

ESC 2, ESC 3

 

 

CR

 

 

 

 

 

 

[Name]

Print and carriage return

[Format]

ASCII

CR

 

 

 

Hex

0D

 

 

 

Decimal

13

 

 

[Description]

When automatic line feed is enabled, this command functions the

 

same as LF;

 

 

 

When automatic line feed is disabled, this command is ignored.

[Details]

Sets the print starting position to the beginning of the line.

 

The automatic line feed is ignored with a serial interface model.

[See Also]

LF

 

 

 

ESC ! N

 

 

 

 

 

 

 

[Name]

Select print mode(s)

 

[Format]

ASCII

ESC

!

n

 

Hex

1B

21

n

[Range]

Decimal

27

33

n

0 n

255

 

 

 

RP-3180 USER'S MANUAL

13

[Description]

 

Selects print mode(s) using n as follows:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

Off/On

 

Hex

 

Decimal

 

 

 

 

Function

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

Default font

 

 

 

 

 

 

 

 

1

 

-

 

-

 

 

 

-

 

 

Undefined

 

 

 

 

 

 

 

 

2

 

-

 

-

 

 

 

-

 

 

Undefined

 

 

 

 

 

 

 

 

3

 

-

 

-

 

 

 

-

 

 

Undefined

 

 

 

 

 

 

 

4

 

Off

 

00

 

 

0

 

Double-height mode not selected

 

 

 

On

 

10

 

 

16

 

Double-height mode selected

 

 

 

 

 

 

 

 

 

 

 

 

5

 

Off

 

00

 

 

0

 

Double-width mode not selected

 

 

 

On

 

20

 

 

32

 

Double-width mode selected

 

 

 

 

 

 

 

 

 

 

 

 

 

6

 

-

 

-

 

 

 

-

 

 

Undefined

 

 

 

 

 

 

 

 

7

 

-

 

-

 

 

 

-

 

 

Undefined

 

 

 

 

 

[Details]

 

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

[Default]

 

modes except emphasized mode is effective only for alphanumeric.

 

N = 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[See Also]

 

GS !

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Name]

 

Select bit-image mode

 

 

 

 

 

 

 

 

 

 

 

 

[Format]

 

ASCII

 

ESC

*

m

 

n1

n2

d1...dk

 

 

 

Hex

 

1B

2A

m

 

n1

n2

d1...dk

[Range]

 

Decimal

27

 

42

m

 

n1

n2

d1...dk

 

m = 0, 1, 3 2, 33 , 0

 

n1 255 , 0 n2

3, 0

d 255

[Description]

 

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:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Vertical Direction

 

 

Horizontal Direction

 

 

m

 

Mode

 

 

Number

Dot Density

Dot Density

 

Number of Data

 

 

 

 

 

 

 

 

of Dots

 

(dpi)

 

 

(dpi)

 

(K)

 

 

0

8-dot single-density

 

8

 

 

60

 

 

90

 

n1 + n2 x 2 56

 

 

1

8-dot double-density

 

8

 

 

60

 

 

180

 

n1 + n2 x 2 56

 

 

32

24-dot single-density

 

24

 

 

180

 

 

90

 

(n1 + n2 x 256) x 3

 

33

24-dot double-density

 

24

 

 

180

 

 

180

 

(n1 + n2 x 256) x 3

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

RP-3180 USER'S MANUAL

14

 

 

 

 

 

 

 

 

 

 

 

 

Page 10
Image 10
TVS electronic RP-3180 user manual Descriptions of Each Item, Control Commands, Ascii ESC, 1ESC * m n1 n2 d1...dk