SATO SG112 ex Programming Reference Manual page 298

Hide thumbs Also See for SG112 ex:
Table of Contents

Advertisement

Graphic Commands
[ESC+G] Graphic Print
Hexadecimal code
Initial value
Valid range and term of
command
[Function]
Specifying the print of graphic.
[Format]
<G>abbbcccn...n
-
Parameter
a [Data specification by HEX and BIN]
      H   :   Hex data
         Specify graphic data as 2 characters of ASCII 0-F which is equal to 8 dots,
          output it as hex code corresponding to ASCII.
      B   :   Binary data
         Specify graphic data as one byte of binary which is equal to 8 dots.
b [Specification of crosswise graphic area per byte]
      Valid range: Refer to [Initial value of parameter and Valid Range] section below.
c [Specification of lengthwise graphic area per byte] = Valid range: Refer to the table below.
      Valid range: Refer to [Initial value of parameter and Valid Range] section below.
n [Graphic data]
[Coding Example 1]
[H: HEX data] is specified for [Data specification by HEX and BIN]
[□] is printed with the below specification.
<A>
<V>50<H>50
<G>H001001H001001FF818181818181FF
<Q>1
<Z>
[Coding Example 2]
[B: Binary data] is specified for [Data specification by HEX and BIN]
[□] is printed with the below specification.
<A>
<V>50<H>50
<G>B001001<FF818181818181FF>
ESC
<1B>
16
None
When the power is OFF
Valid range within items
Valid range between items
16
G
<47>
16
The set parameter is not maintained.
The set parameter becomes invalid.
The set parameter becomes invalid.
297
Parameter
aabbbcccn...n

Advertisement

Table of Contents
loading

Table of Contents