TVS electronic RP-3180 user manual GS v 0 m xL xH yL yH d1...dk, Asc, GS h n, For

Page 16

GS v 0 m xL xH yL yH d1...dk

[Name]

Printing of raster bit image

 

 

 

 

 

 

 

 

[Format]

ASC II

 

GS

v

0

m

xL

xH

yL

yH

d1...dk

 

Hex

 

 

 

1D

76

30

m

xL

xH

yL

yH

d1...dk

 

Decimal

29

118

48

m

xL

xH

yL

yH

d1...dk

[Range]

0

m

 

3, 48

m

51, 0

 

xL

255, 0

xH

255,

 

0

yL

 

255, 0

yH

8, 0

 

 

d

255,

 

 

 

 

 

k=(xL+xH x 256) x (yL+yH x 256), however, k

0

[Description]

Prints raster bit images in mode

m .

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

m

 

 

 

Mode Name

 

 

Dot Density in

 

Dot Density in

 

 

 

 

 

Vertical Direction

 

Horizontal Direction

 

 

 

 

 

 

 

 

 

 

 

0,48

 

 

NORMAL MODE

 

 

 

203 DPI

 

 

203 DPI

 

1,49

 

DOUBLE WIDTH MODE

 

 

 

203 DPI

 

 

101 DPI

 

2,50

 

DOUBLE HEIGHT MODE

 

 

101 DPI

 

 

203 DPI

 

3,51

 

QUADRUPLE SIZE MODE

 

 

101 DPI

 

 

101 DPI

 

xL, xH specify the number of data in horizontal direction of the bit

 

image to (xL+xH x 256) bytes.

 

 

 

 

 

 

 

yL, yH specify the number of data in vertical direction of the bit

 

image to (yL+yH x 256) bytes.

 

 

 

 

 

 

[Details]

In STANDARD MODE, this command is valid only when there is no

 

print data in the print buffer.

 

 

 

 

 

 

 

 

 

Any of the print modes (Character size, emphasis, double strike,

 

inverting, underlining, back-to-white reversing, etc.) does not

 

affect the raster bit image.

 

 

 

 

 

 

 

 

 

If the print area specified by GS L and GS W is narrower than a

 

minimum width, the print area for that line only is extended to the

 

minimum width. The minimum width is one dot in NORMAL

 

MODE (m=0, 48) and DOUBLE HEIGHT MODE (m=2,50), and 2

 

dots in DOUBLE WIDTH MODE (m=1, 49) and QUADRUPLE SIZE

 

MODE (m=3, 51).

 

 

 

 

 

 

 

 

 

 

Any part of data that is out of the print area is only read and

 

discarded in units of dot.

 

 

 

 

 

 

 

 

 

The setting of ESC a (Aligning characters) are also valid for the

 

raster bit image.

 

 

 

 

 

 

 

 

 

 

 

If this command is executed during macro definition, the macro

 

definition is suspended, and the processing of the command

 

starts. The macro is left undefined.

 

 

 

 

 

 

d denotes defined data. Dots to be printed are specified as

 

1

and those not to be printed as

0 .

 

 

 

 

[Example]

When xL+xH x 256= 64:

 

 

 

 

 

 

 

 

 

 

(XL + xH x 256)x 8 dot=512 dot

 

1

 

2

 

3

 

 

62

63

64

65

 

66

 

67

 

 

126

127

128 YL + yH x 256 dot

 

 

 

 

 

 

 

K-2

K-1

K

7

6

5

4

3

2

1

0

 

 

MSB

 

 

 

 

 

 

LSB

 

 

RP-3180 USER'S MANUAL 25

GS h n

[Name]

Define downloaded bit image

[Format]

ASCII

GS

h

n

 

Hex

1D

68

n

 

Decimal

29

104

n

[Range]

1 n

255

 

 

[Description]

Selects the height of the bar code.

 

n specifies the number of dots in the vertical direction.

[Details]

N = 162

 

 

 

[See Also]

GS k

 

 

 

(1)GS k m d1...dk NUL

(2)GS k m n d1...dn

[Name]

Print the bar code

 

 

 

 

[Format]

(1) ASCII

GS

V

m

d1...dk

Nul

 

Hex

1D

6B

m

d1...dk

00

 

Decimal

29

107

m

d1...dk

0

 

(2) ASCII

GS

k

m

n

d1...dn

 

Hex

1D

6B

m

n

d1...dn

 

Decimal

29

107

m

n

d1...dn

[Range]

(1) 0

m

6 (k and d depends on the bar code system used)

 

 

(2) 65

m

73 (n and d depends on the bar code system used)

[Description]

Selects a bar code system and prints the bar code. m selects a bar

 

code system as follows:

 

 

 

 

 

 

 

 

For (1) :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

m

Bar Code System

Number of Characters

Remarks

 

 

 

2

JAN13 (EAN13)

12

k

13

48

d

57

 

 

 

3

JAN 8 (EAN8)

7

k

8

48

d

57

 

 

 

4

 

CODE39

1

 

k

48

d

57, 65

d

90,

 

 

 

32, 36, 37, 43, 45, 46, 47

 

 

 

 

 

 

 

 

 

For (2) :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

m

Bar Code System

Number of Characters

Remarks

 

 

 

 

67

JAN13 (EAN13)

12

k

13

48

d

57

 

 

 

68

JAN 8 (EAN8)

7

k

8

48

d

57

 

 

 

69

 

CODE39

1

k

255

48

d

57, 65

d

90,

 

 

32, 36, 37, 43, 45, 46, 47

 

 

 

 

 

 

 

 

 

73

 

CODE128

2

k

255

0

d

127

 

 

[Details]

For (1):

 

 

 

 

 

 

 

 

 

 

This command ends with a NUL code.

 

 

 

 

 

When the bar code system used is JAN13 (EAN13), the printer prints the bar code after receiving 13 bytes bar code data and processes the following data as normal data.

When the bar code system used is JAN8 (EAN8), the printer prints the bar code after receiving 8 bytes bar code data and processes the following data as normal data.

RP-3180 USER'S MANUAL 26

Image 16
Contents RP-3180 Page Table of Contents IntroductionSetting up the Printer Installing the printerUsing the Printer UnpackingConnecting the cables Connecting Interface Cable and Drawer Cable to the printerInstalling the roll paper Installing or Replacing the Paper RollCleaning the Print Head Removing Jammed PaperSelf test DIP Switch FunctionsHexadecimal Dumping Interface Connector Serial Interface RS-232 Drawer ConnectorInterface Parallel Interface IEEE-1284 RS-232C Cable ConnectionSpecification Print Control CommandCommand List MtbfControl Commands Descriptions of Each ItemAscii Ascii ESCESC 9 m n 1 n2 ESC 3 nESC a n ESC H n ESC J nESC V n1 n2 d1...dk 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 v 0 m xL xH yL yH d1...dk ASCGS h n GS k m d1...dk NUL GS k m n d1...dnStandard mode ModeFS p n m ASC IHow to use Logo Download Tool Printer DriverSetting Printer Properties Pic