SATO SG112 ex Programming Reference Manual page 38

Hide thumbs Also See for SG112 ex:
Table of Contents

Advertisement

[ESC+FW] Ruled / Grid Line Print
Hexadecimal code
Initial value
Valid range and term of
command
[Function]
Specifying the ruled / grid line.
[Format]
<FW>aabccccc(Peeeeeeee) : Print of ruled line
-
Parameter
a [Line width] = Valid range : 02 to 99 dots
b [Horizontal/vertical direction]
H : Horizontal direction
V : Vertical direction
c [Ruled line length] = Valid range : Refer to [Valid Range] section below.
e [Line pattern] = Valid range : 01 to FFFFFFFF (omissible)
<FW>aabbVcccccHddddd(Peeeeeeee) : Print of grid line
-
Parameter
a [Vertical line width] = Valid range : 02 to 99 dots
b [Horizontal line width] = Valid range : 02 to 99 dots
c [Vertical line length] = Valid range : Refer to [Valid Range] section below.
d [Horizontal line length] = Valid range : Refer to [Valid Range] section below.
e [Line pattern] = Valid range : 01 to FFFFFFFF (omissible)
[Coding Example 1]
Ruled line print, Line width: 4, Horizontal direction, Ruled line length: 400
Grid line print, Vertical line width: 8, Horizontal line width: 8, Vertical line length: 300, Horizontal line
length: 400
<A>
<V>100<H>200<FW>04H400
<V>300<H>200<FW>0808V300H400
<Q>2
<Z>
[Coding Example 2]
Ruled line print, Line width: 4, Horizontal direction, Ruled line length: 400, line pattern: F0F0F0F0
Grid line print, Vertical line width: 8, Horizontal line width: 8, Vertical line length: 300, Horizontal line
length: 400, line pattern: F0F0F0F0
ESC
<FW>
<1B>
<46>
16
None
When the power is OFF
Valid range within items
Valid range between items
Parameter
<57>
Rule   aabccccc(Peeeeeeee)
16
16
Grid   aabbVcccccHddddd(Peeeeeeee)
The set parameter is not maintained.
The set parameter becomes invalid.
The set parameter becomes invalid.
37

Advertisement

Table of Contents
loading

Table of Contents