beautypg.com

Esc fs q n – Star Micronics Line Thermal/Dot Printer User Manual

Page 127

background image

Rev. 0.00

3-115

STAR Line Mode Command Specifications

ESC FS q n

[x11 x12 y11 y12 d1 … dk]1 … [xn1 xn2 yn1 yn2 d1 … dk] n

[Name] Register logo
[Code]

ASCII

ESC

FS

q n

[x11

x12

y11

y12

d1

.. dk]1

.. [xn1

xn2 yn1 yn2

d1 ..

dk]n

Hexadecimal

1B

1C

71 n

[x11

x12

y11

y12

d1

.. dk]1

.. [xn1

xn2 yn1 yn2

d1 ..

dk]n

Decimal

27

28 113 n

[x11

x12

y11

y12

d1

.. dk]1

.. [xn1

xn2 yn1 yn2

d1 ..

dk]n

[Defined Area]

Thermal

: 1 ≤ n ≤ 255

0 ≤ xn1 ≤ 255, 0 ≤ xn2 ≤ 3 1 ≤ (xn1 + xn2 x 256) ≤ 1023
0 ≤ yn1 ≤ 255, 0 ≤ yn2 ≤ 1 1 ≤ (yn1 + yn2 x 256) ≤ 288
0 ≤ d ≤ 255
k = {(xn1 + xn2 x 256) x (yn1 + yn2 x 256) x 8}

Slip

: 1 ≤ n ≤ 255

0 ≤ xn1 ≤ 255, 0 ≤ xn2 ≤ 3 1 ≤ (xn1 + xn2 x 256) ≤ 1023
0 ≤ yn1 ≤ 255, 0 ≤ yn2 ≤ 1 1 ≤ (yn1 + yn2 x 256) ≤ 288
0 ≤ d ≤ 255
k = {(xn1 + xn2 x 256) x (yn1 + yn2 x 256) x 8}

Validation

: 1 ≤ n ≤ 255

0 ≤ xn1 ≤ 255, 0 ≤ xn2 ≤ 3 1 ≤ (xn1 + xn2 x 256) ≤ 1023
0 ≤ yn1 ≤ 255, 0 ≤ yn2 ≤ 1 1 ≤ (yn1 + yn2 x 256) ≤ 288
0 ≤ d ≤ 255
k = {(xn1 + xn2 x 256) x (yn1 + yn2 x 256) x 8}

[Initial Value]

Thermal

: -

Slip

: -

Validation

: -

[Function]

Parameter details

• n:

Specifies registered logo count

• xn1, xn2:

Horizontal size of registered logo {(xn1 + xn2 x 256) x 8} dots

• yn1, yn2:

Vertical size of registered logo {(yn1 + yn2 x 256) x 8} dots

• d:

Registered logo data

• k:

Logo data count

This command should be specified at the top of the line.

When the first parameter is determined to be free of error, the printer starts processing this com-

mand.

When logo register processing starts, all previously defined data is deleted.(It is not possible to re-

register a portion of a plurality of defined logo data.)

Logo registration numbers are defined in rising order from 1.

If the defined area specified by the parameter is not empty, or if there is an error in the parameter

specification, register processing is aborted.(The pre-registered and complete data is effective.)

The printer should be reset if logo registration is completed or register processing is aborted.

If an error occurs while performing register processing (the time from when the first parameter is OK

until the printer initialization is completed after registering a logo), error processing, mechanical op-

eration and status processing cannot be performed. Also, data must not be sent from the host during

that time.

This command is executed only for logo registration and does not accompany the printing operation.

Logos are printed using the ESC FS p (print NV logo) command.

• The NV memory capacity is 4 Mbits (512 Kbytes = 524,288 bytes).

However, 4 Kbytes (4,096 bytes) are kept as parameter information separate to the data so the data

region memory capacity is 520,192 Bytes.

Ex.: When the registered data size per each one is 6 Kbytes (6,144 bytes), it is possible to regis-

ter 520,192/6144 = 84.

Registration is possible regardless of the 2 color printing mode being specified or cancelled. Register

logos with the same capacity as the logo register number k (odd number) and k + 1 (even number).

If the capacity differs or the logo register number is 255, this command is ignored by the logo print

command in the 2 color print mode.