8.10.31 INVERTED PRINTING SET COMMAND
Function
Sets or cancels inverted printing (upside-down).
Format
[ESC] {n
Term
ASCII: ESC {
Hex: 1Bh 7Bh
[Parameter]
n: Setting/canceling inverted printing
Default value
n: 0
Explanation
(1) n is valid only in the least significant bit.
(2) This command is executed only if it is received at the beginning of a line.
(3) Inverted printing means that a line is inverted 180 degrees and printed.
(4) Inverted printing is performed in the direction opposed to normal printing.
(5) If this command is received while the printer is in page mode, the defined parameter
setting will be applied after switching to standard mode.
[Program example]
fprintf( stdprn, "\033{"};
fputc( 0, stdprn );
fprintf( stdprn, "11111\n");
fprintf( stdprn, "\033{"};
fputc( 1, stdprn );
fprintf( stdprn, "22222\n");
[Printer example]
b7
--
--
--
--
11111
Paper width
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS)
[ESC] {
0 ≤ n ≤ 255 (00h ≤ n ≤ FFh)
--
--
--
/* Canceling inverted printing */
/* Setting inverted printing */
8-47
B-EP Series
b0
0: Canceling inverted printing
1: Setting inverted printing