User`s manual
1 DATECS EP-50
62 63
User’s Manual
[Print Results]
[Caution] The command changes only the print direction of the characters - all
graphics and bar codes are unaffected.
This command is ignored in the Chinese version of the printer.
The command reverses all print attributes of the line and the characters,
though the characters themselves are not mirrored horizontally.
Though the command allows mixing reversed and non-reversed
characters in one line the print results could be unsatisfactory and
unreliable.
[Default] The default value is 0 – left to right printing.
[Exsample]
46. ESC { n
Specifying/Canceling the Inverted Characters
[Code] [1Bh] + [7Bh] + n
[Range] {0 <= n <= FFh}
[Outline] Specifying/canceling inverted characters.
• “n” is valid only for the lowest bit (n0).
• Bit n (n0) means the followings.
0 Canceling inverted characters.
1 Specifying inverted characters.
[Caution]
• Inverted printing means printing the line at 180º turned.
• Valid is the last value specified in a line.
[Default] • The initial value of n is “0”.
[Sample Program]
LPRINT CHR$ (&H1B) + “{“ + CHR$ (0);
LPRINT “AAAAA” + CHR$ (&HA);
LPRINT “BBBBB” + CHR$ (&HA);
LPRINT CHR$ (&H1B) + “{“ + CHR$ (1);
LPRINT “AAAAA” + CHR$ (&HA);
LPRINT “BBBBB” + CHR$ (&HA);
Inversion Canceled
Inversion Specificed
Paper Feed Direction
47. GS (A pL pH n m
Printing a self-test
[Code] [1Dh] + [28h] + [41h] + pL + pH + n + m
[Range] { 0 <= pL <= 255 }
{ 0 <= pH <= 255}
{ 0 <= n <= 255 }
{ 2 <= m <= 3 }
[Outline] This command is intended for compatibility purposes. A “short” or
“long” test is printed depending on the value of m.
m = 2 – printing a “long” test (ESC .)
m = 3 – printing diagnostic information (“short” test) (ESC ,)
48. GS B n
Specifying/canceling the black/white inverted printing
[Code] [1Dh] + [62h] + n
[Range] { 0 <= n <= 255 }
[Outline] According to the least significant bit of n (n0) the following modes
are possible:
n0 = 0 – Black/white inverted printing is canceled
n0 = 1 – Black/white inverted printing is specified
The space skipped by tab command or by positioning commands
(ESC $, ESC \) is not affected.