Samsung SRP275APG user manual Control commands list, FS p, FS q, Gs A, n Paper, m Type

Models: SRP275APG

1 100
Download 100 pages 4.82 Kb
Page 53
Image 53
FS p

CHAPTER 4 Control commands list

FS p

[Name]

Print NV bit image

 

 

 

 

[Format]

ASCII

FS

p

n

m

 

Hex

1C

70

n

m

 

Decimal

28

112

n

m

[Range]

1 ≤ n ≤ 255

 

 

 

 

 

m = 0, 1, 48, 49

 

 

 

[Description]

Prints a NV bit image n using the mode specified by m.

 

 

 

 

 

 

 

 

m

 

Mode

Scaling for horizontal

Scaling for vertical

 

0, 48

 

Normal

x 1

x 1

 

1, 49

 

Double-width

x 2

x 1

FS q

[Name]

Define NV bit image

 

 

[Format]

ASCII

FS

q

n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n

 

Hex

1C

71

n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n

 

Decimal

28

113

n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n

[Range]

1

n ≤ 255

 

 

 

 

1

≤ (xL + xH x256) ≤ 1023( 0 ≤ xL ≤ 255, 0 ≤ xH ≤ 3)

 

1

≤ (yL + yH x256) ≤ 288( 0 ≤ yL ≤ 255, yH = 0.1)

 

1

≤ d ≤ 255

 

 

 

 

k = ( xL + xH x 256) x ( yL + yH x 256) x 8

 

Total defined data area is 256 KB

 

[Description]

Defines NV bit image specified.

 

-n specifies the number of defined NV bit images.

-xL, xH specifies ( xL + xH x 256) bytes in the horizontal direction for the NV bit image you defined.

-yL, yH specifies ( yL + yH x 256) bytes in the vertical direction for the NV bit image you defined.

-d specifies the definition data for the NV bit image.

-k indicates the number of the definition data. k is a parameter for an explanation; therefore, it does not need to be transmitted.

GS ( A

[Name]

Execute test print

 

 

 

 

 

 

 

[Format]

ASCII

GS

(

A

pL

pH

n

m

 

Hex

1D

28

41

02

00

n

m

 

Decimal

29

40

65

2

0

n

m

[Range]

1 ≤ m ≤ 3, 49 ≤ m ≤ 3

 

 

 

 

 

 

[Description]

Executes a specified test print.

 

 

 

 

 

-pL and pH specify the number of parameters following n to (pL + pH x 256) bytes.

-n specifies paper used for the test print as follows:

nPaper

0, 48

Basic sheet (paper roll)

1, 49

Paper roll

2, 50

 

- m specifies a type of the test print as follows:

mType

1, 49 Hexadecimal dump

2, 50 Printer status printing

3, 51 Rolling pattern

FS q 4-17

Page 53
Image 53
Samsung SRP275APG user manual Control commands list, FS p, FS q, Gs A, n Paper, m Type