3-9) logo, 3-9) logo esc fs q n – Star Micronics Line Thermal/Dot Printer User Manual
Page 66

Rev. 0.00
3-54
STAR LIne Mode Command Specifications
3-3-9) Logo
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
: No registration
Slip
: No registration
Validation
: No registration
[Function]
Register logo
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 register
520,192/6144 = 84.