TVS electronic RP-3180 user manual Descriptions of Each Item, Control Commands, Ascii ESC

Page 10

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

 

 

 

 

 

 

 

 

 

 

 

 

Image 10
Contents RP-3180 Page Table of Contents IntroductionUsing the Printer Setting up the PrinterInstalling the printer UnpackingConnecting the cables Connecting Interface Cable and Drawer Cable to the printerCleaning the Print Head Installing the roll paperInstalling or Replacing the Paper Roll Removing Jammed PaperSelf test DIP Switch FunctionsHexadecimal Dumping Interface Interface Connector Serial Interface RS-232Drawer Connector Parallel Interface IEEE-1284 RS-232C Cable ConnectionCommand List SpecificationPrint Control Command MtbfAscii Control CommandsDescriptions of Each Item Ascii ESCESC 9 m n 1 n2 ESC 3 nESC a n ESC V n1 n2 d1...dk ESC H nESC J n ESC W xL xH yL yH dxL dxH dyL dyHESC X n ESC d nESC p m n 1 n2 ESC mGS ! N S V m S V m n GS n1 N2 d1...dn1 x n2 xGS / m GS h n GS v 0 m xL xH yL yH d1...dkASC GS k m d1...dk NUL GS k m n d1...dnFS p n m Standard modeMode ASC IHow to use Logo Download Tool Printer DriverSetting Printer Properties Pic