TVS electronic RP-3180 user manual ESC m, ESC p m n 1 n2, Gs ! N

Page 14

ESC m

[Name]

Partial cut

 

 

 

 

 

[Format]

ASCII

ESC

m

 

 

 

 

Hex

1B

6D

 

 

 

 

Decimal

27

109

 

 

 

[Description]

Cut the paper partially.

 

 

 

[Details]

During cutting, printing and paper feeding is stopped.

 

This command is valid only when an auto-cutter is connected.

ESC p m n 1 n2

 

 

 

 

 

 

 

 

 

[Name]

Generating the specified pulses

 

[Format]

ASCII

ESC

p

m

n1

n2

 

Hex

1B

70

m

n1

n2

[Range]

Decimal

27

112

m

n1

n2

m = 0, 0

n1

255 , 0

n2

255

[Description]

The signals specified by

n1

and

n2 are output

 

to the connector pin specified by

m .

GS ! N

[Name]

Select character size

 

 

 

[Format]

ASCII

 

GS

!

n

 

 

 

Hex

 

 

 

1D

21

n

 

 

[Range]

Decimal

29

33

n

 

 

0

n

 

255

 

 

 

 

 

(1

vertical number of times

8, 1 horizontal number of

[Description]

times

 

8)

 

 

 

 

Selects the character height using bits 0 to 2 and selects the

 

character width using bits 4 to 7, as follows:

 

 

 

 

 

 

 

 

 

Bit

 

 

Function

Hex Number

Decimal Number

 

0

 

 

 

 

 

 

 

 

 

1

 

 

 

Character height selection. See Table 2

 

2

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

5

 

 

 

Character width selection. See Table 1

 

6

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

 

 

ESC M n

[Name]

Select character fonts

 

[Format]

ASCII

ESC

M

n

 

Hex

1B

4D

n

 

Decimal

27

77

n

[Range]

n =0,1,48,49

 

 

[Description]

Selects character fonts.

 

Table 1 Character Width Selection

Hex

Decimal

Width

00

0

1 x (Standard)

 

 

 

10

16

2 x (Double width)

20

32

3 x

 

 

 

30

48

4 x

 

 

 

40

64

5 x

50

80

6 x

60

96

7 x

70

112

8 x

Table 2 Character Height Selection

Hex

Decimal

Width

00

0

1 x (Standard)

 

 

 

01

1

2 x (Double height)

02

2

3 x

 

 

 

03

3

4 x

 

 

 

04

4

5 x

05

5

6 x

06

6

7 x

07

7

8 x

 

N

Function

 

 

0,48

Character font A (12 x 24) selected.

 

 

1,49

Character font B (9 x 17) selected.

 

[Details]

The ESC ! command can also select the character fonts.

 

However, the setting of the last received command is effective.

RP-3180 USER'S MANUAL 21

[Details]

If n is outside of the defined range, this command is ignored.

 

In standard mode, the vertical direction is the paper feed direction,

 

and the horizontal direction is perpendicular to the paper feed

 

direction. However, when character orientation changes in 90.

 

clockwise-rotation mode, the relationship between vertical and

 

horizontal directions are reversed.

 

In page mode, vertical and horizontal directions are based on the

 

character orientation.

 

When characters are enlarged with different sizes on one line, all

 

the characters on the line is aligned at the baseline.

 

The ESC ! command can also turn double-width and double-height

 

modes on or off.However, the setting of the last received command

[Default]

is effective.

n = 0

[See Also]

ESC !

 

RP-3180 USER'S MANUAL 22

Image 14
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 PaperHexadecimal Dumping DIP Switch FunctionsSelf test 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 a n ESC 3 nESC 9 m n 1 n2 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 nGS ! N ESC mESC p m n 1 n2 GS / m GS n1 N2 d1...dn1 x n2 xS V m S V m n 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