Gs L - Draw Line In Landscape Mode - TransAct Epic Edge Oem Integration Manual

Table of Contents

Advertisement

8-Printer Commands
GS l – Draw Line in Landscape Mode
Description
The GS l (lower-case "L") command draws a line in landscape mode. The thickness of
the line is determined by the bit set by the parameter m.
Expression
ASCII
[GS] l <n1> <n2> <L1> <L2> <m>
Hexadecimal
1DH 6CH <n1> <n2> <L1> <L2> <m>
Decimal
<29> <108> <n1> <n2> <L1> <L2> <m>
Parameters
n1 = most significant byte of the offset from the left (in dots)
n2 = least significant byte of the offset from the left (in dots)
L1 = most significant byte of the line length (in dots)
L2 = least significant byte of the line length (in dots)
where
offset = inches/203 = (n1 * 256) + n2
length = inches/203 = (L1 * 256) + L2
m = the data (where 0 = top and 7 = bottom)
Page 126
Epic Edge™ OEM Integration Manual
August 2018
100-14444 Rev B

Advertisement

Table of Contents
loading

Table of Contents