CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS)
B-EP
Series
8-28
8.10.16 INITIALIZE
COMMAND
[ESC]
@
Function
Clears data in the currently expanded image buffer, and initializes the settings.
Format [ESC]
@
Term ASCII:
ESC
@
Hex: 1Bh 40h
Explanation
(1) The data and macro definition in the receive buffer are maintained.
(2) Please refer to the next page for further information regarding the data to be
initialized.
[Program
example]
fprintf( stdprn, "\033!%c", 0x20 );
/* Double width */
fprintf( stdprn, "11111\n");
/*Other
settings*/
fprintf( stdprn, "\033@" );
/* Initializing printer */
fprintf( stdprn, "22222\n");
example]
11111
2 2 2 2 2
←
All settings are reset to default values.