ZQ110
ESC W
[Name] | Set relative print position. |
|
|
|
|
|
|
|
| ||
[Format] |
|
|
|
|
|
|
|
|
|
|
|
ASCII | ESC | W | xL | xH | yL | yH | dxL | dxH | dyL | dyH | |
| Hex | 1B | 57 | xL | xH | yL | yH | dxL | dxH | dyL | dyH |
| Decimal | 27 | 87 | xL | xH | yL | yH | dxL | dxH | dyL | dyH |
[Range] | 0 ≤ (xL + xH x 256) ≤ 65535 (0 ≤ xL ≤ 255, 0 ≤ xH ≤ 255) |
|
| ||||||||
| 0 ≤ (yL + yH x 256) ≤ 65535 (0 ≤ yL ≤ 255, 0 ≤ yH ≤ 255) |
|
| ||||||||
| 1 ≤ (dxL + dxH x 256) ≤ 65535 (0 ≤ dxL ≤ 255, 0 ≤ dxH ≤ 255) |
|
| ||||||||
| 1 ≤ (dyL + dyH x 256) ≤ 65535 (0 ≤ dyL ≤ 255, 0 ≤ dyH ≤ 255) |
|
| ||||||||
[Default] | Horizontal logical origin and vertical logical origin = 0 |
|
|
| |||||||
| xL=0, xH =0, yL=0, yH=0 |
|
|
|
|
|
|
| |||
| dxL = 128, dxH = 1, dyL = 72, dyH = 3 |
|
|
|
|
| |||||
[Description] | ▪ When paper width of 58mm is selected: |
|
|
|
|
| |||||
| (xL + xH x 256) = 0 (xL=0, xH=0) |
|
|
|
|
| |||||
| (dyL + dyH x 256) = 840 (dyL=72, dyH=3) |
|
|
|
| ||||||
| ▪ Set the position and the size of the printing area. |
|
|
| |||||||
| - Horizontal starting position = [(xL + xH x 256) x (horizontal motion units)]. | ||||||||||
| - Vertical starting position = [(yL + yH x 256) x (vertical motion units)]. |
| |||||||||
| - Horizontal printing area width = [(dxL + dxH x 256) x (horizontal motion units)]. | ||||||||||
| - Vertical printing area width = [(dyL + dyH x 256) x (vertical motion units)]. | ||||||||||
| ▪ The printer ignores any setting that exceeds the print area. |
|
| ||||||||
[Example] | ▪ Input: |
|
|
|
|
|
|
|
|
|
|
| 0x1b 0x4c |
|
|
|
|
|
|
|
|
|
|
0x1b 0x57 0x00 | 0x00 0x00 | 0x00 | 0x80 0x01 0x80 0x01 | |
0x53 0x28 0x58 | 0x2e 0x59 0x29 |
| ||
0x1b 0x24 | 0x2c 0x01 |
|
| |
0x1d 0x24 | 0x80 | 0x01 |
|
|
0x45 0x28 | 0x58 | 0x2e 0x59 | 0x29 |
|
0x0c |
|
|
|
|
▪ Output:
Rev. 1.00 | - 29 - | Mobile Printer Command Manual |