[ESC+G] Graphic Print
Hexadecimal code
| ESC | <1B>16 |
|---|---|
| G | <47>16 |
Parameter
abbbcccn...n
Initial value
Nil
Valid range and term of command
| When the power switch is OFF | The set parameter is not maintained. |
| Valid range within items | The set parameter becomes invalid. |
| Valid range between items | The set parameter becomes invalid. |
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
Output 8 bits data as one font of data all at once.
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 the table below. (fixed at 3 digits)
c [Specification of lengthwise graphic area per byte] = Valid range: Refer to the table below. (fixed at 3 digits)
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>H001001<46463831383138313831383138314646>16
<Q>1
<Z>
Coding Example 2
[B: Binary data] is specified as Data specification by HEX and BIN]
[□] is printed with the below specification.
<A>
<V>50<H>50
<G>B001001<FF818181818181FF>16
<Q>1
<Z>
Supplementary Explanation
- Specification of [B] has longer program description than that of specification [H]; however, transfer data length is 50 percent shorter. This could be advantage in data capacity.
- Specification of Rotation <%> and Enlargement <L> are available.
- <L> command should be placed just before <G> command.
- When using rotation <%> and enlargement <L> commands at the same time, specify <%> command before <L>.
- The crosswise maximum byte and lengthwise maximum byte are specified in the table below,
however, it is possible to specify up to 999 bytes to have compatibility with the old model.
The graphic data less than 2,937,600 bytes can be printed.
- The calculation of graphic data size is [crosswise maximum byte x lengthwise maximum byte x 8].
Initial value of parameter and Valid Range
| Model | Crosswise max. bytes | Lengthwise max. bytes | |
|---|---|---|---|
|
CL4NX CL4NX-J CL4-SXR |
203 dpi | 104 | 400 |
| 305 dpi | 156 | 600 | |
| 609 dpi | 312 | 999 | |
|
CL6NX CL6NX-J CL6-SXR |
203 dpi |
152 (*1) 167 (*2) |
400 |
| 305 dpi |
248 (*1) 251 (*2) |
600 | |
|
PW208 PW208NX PW208mNX |
203 dpi | 55 | 400 |
|
FX3-LX |
305 dpi | 120 | 600 |
|
CT4-LX HC4-LX |
203 dpi | 104 | 400 |
| 305 dpi | 156 | 600 | |
| PW4NX | 203 dpi | 104 | 400 |
| LR4NX-FA | 203 dpi | 104 | 400 |
| 305 dpi | 156 | 600 | |
| 609 dpi | 312 | 999 | |
| S84NX | 203 dpi | 104 | 400 |
| 305 dpi | 156 | 600 | |
| 609 dpi | 312 | 999 | |
| S86NX | 203 dpi | 167 | 400 |
| 305 dpi | 251 | 600 | |
CL6NX/CL6NX-J/CL6-SXR
- Valid range in the case of setting "Standard" is "Valid range for print"
- Valid range in the case of setting "Left-justify" is "Valid range for print"