3. PRINTER FUNCTIONS
3. PRINTER FUNCTIONS
SMICE-PS
53
3-
:
S
G :
S
G :
S
G :
S
G
:
S
G
[Name]
Start/end macro definition
[Format]
ASCII
GS
:
Hex
1D
3A
Decimal
29
58
[Description]
Starts or ends macro definition.
[Notes]
• Macro definition starts when this command is received dur-
ing normal operation.
• When GS ^ is received during macro definition, the printer
ends macro definition and clears all definitions.
• Macros are not defined when power is turned on to the ma-
chine.
• Macro content is not cancelled by the ESC @ command.
Therefore, ESC @ may be included in the content of macro
definitions.
• If the printer receives GS : a second time after previously
receiving GS :, the printer remains in macro undefined status.
• The contents of the macro can be defined up to 1024
bytes. If the macro definition exceeds 1024 bytes, excess
data is not stored.
[Default]
[Reference]
GS ^
[Example]
n
B
S
G
n
B
S
G
n
B
S
G
n
B
S
G
n
B
S
G
[Name]
Turn white/black reverse printing mode on/off
[Format]
ASCII
GS
B
n
Hex
1D
42
n
Decimal
29
66
n
[Range]
0
≤
n
≤
255
[Description]
Turns white/black reverse printing mode on or off.
• When the LSB of n is 0, white/black reverse printing is
turned off.
• When the LSB of n is 1, white/black reverse printing is
turned on.
[Notes]
• Only the LSB di n is effective.
• This command is available for both built-in and user-defined