![](/images/new-backgrounds/1263724/263724131x1.webp)
66 Chapter 4: Programming CommandsRevision D 12/09
Print advanced raster graphics
ASCII | ESC . m n rL rH d1 … dn |
Hexadecimal | 1B 2E m n rL rH d1 … dn |
Decimal | 27 46 m n rL rH d1 … dn |
Value of m: | horizontal offset from left margin = 8 x m dots |
Value of n: | number of data bytes that compose the raster |
Value of r: | number of times the raster has to be printed =256 x rH + rL |
d1 … dn: | data bytes |
Range: | 0<= m <= 72 |
| 0<= n <= 72 |
| 0<= r <= 65535 |
| 0<= d1 … dn <= 255 |
Prints a horizontal raster of graphics data one or multiple times. Horizontal offset and number of data bytes are variable and specified by parameters.
Exceptions
Advanced raster graphics is not available in page mode.
Select single-density graphics
ASCII | ESC K n1 n2 d1 ... dn |
Hexadecimal | 1B 4B n1 n2 d1 ... dn |
Decimal | 27 75 n1 n2 d1 ... dn |
Value of n:
Value of n | Value of d |
|
|
n1 + (256 x n2) | Number of bytes of data (printed down, then across) |
Enters one line of
Each bit corresponds to two horizontal dots. Compare to set bit image mode (1B 2A, m = 0) earlier in this document.
Related information
In LEGACY emulation, this command is unrecognized and the parameters are put into the print buffer.
Select double-density graphics
ASCII | ESC Y n1 n2 d1 ... dn |
Hexadecimal | 1B 59 n1 n2 d1 ... dn |
Decimal | 27 89 n1 n2 d1 ... dn |
Value of n:
Value of n | Value of d |
n1 + (256 x n2) | Number of bytes of data (printed down, then across) |
Enters one line of
Each bit corresponds to one horizontal dot. Compare to set bit image mode (1B 2A, m=1) earlier in this document.
Related information
In LEGACY emulation, this command is unrecognized and the parameters are put into the print buffer.