Specifications

1-26 Command Descriptions Rev. A
GS
x y d1...d(x × y × 8)
[Name] Define user-defined bit image
[Format] ASCII GS
x y d1...d(x
×
y
×
8)
Hex 1D 2A x y d1...d(x
×
y
×
8)
Decimal 29 42 x y d1...d(x
×
y
×
8)
[Range] 1
x
≤ 255
1
y
≤ 255
x
×
y
≤ 155 (when receive buffer is 2K bytes)
x
×
y ≤ 404 (when receive buffer is 32 bytes)
GS / m
[Name] Print user-defined bit image
[Format] ASCII GS / m
Hex 1D 2F m
Decimal 29 47 m
[Range] 0
m
≤ 1
48
m
≤ 49
GS
x y d1...d(x × y × 8) defines a user-defined bit image using x × 8 dots in the horizontal direction
and y × 8 dots in the vertical direction. The maximum user-defined bit image differs depending on
the receive buffer capacity. Once a user-defined bit image has been defined, it is available until
another definition is made; ESC @ or ESC & is executed; the printer is reset; or the power is turned
off. When this command is executed, the user-defined characters are cleared. The default setting is
undefined.
Program Example Print Sample
m=0: GOSUB bitimage8
m=1: GOSUB bitimage8
END
bitimage8:
PRINT #1, CHR$(&H1B);"*";CHR$(m);CHR$(180);CHR$(0);
FOR i=1 TO 180
PRINT #1, CHR$(i);
NEXT I
PRINT #1, CHR$(&HA);
RETURN