Draws a 1-bit image directly: width in BYTES (8 dots), height in dots, mode 0 overwrite, 1 OR, 2 XOR. A 0 bit prints BLACK — the opposite of ZPL ^GF; a solid black label means the bits are inverted. The data is binary and may contain line breaks.
Engine status: Rendered
This command produces visible output in the preview.
BITMAP x, y, width_bytes, height, mode, <data>SIZE 100 mm, 150 mm
GAP 3 mm, 0 mm
CLS
BITMAP 200,200,2,16,0,?~?~?~?~ ?~?~?~?~
PRINT 1Open this example in the preview →
Output of the example above in our renderer (203 dpi). Not verified on a physical printer.
| Parameter | Meaning |
|---|---|
x, y | Top-left corner of the image, in dots |
width_bytes | Row width in BYTES, 8 dots each; 1–208 in the preview |
height | Number of rows, in dots |
mode | How it combines with what is drawn: 0 overwrite, 1 OR, 2 XOR |
<data> | width_bytes × height bytes of binary data; a 0 bit prints black |
Giving the width in dots: width_bytes counts BYTES, so a 200-dot-wide image is 25, not 200. With 200 the preview expects 1,600 dots per row and 8× the data, and reports the data as incomplete.
SIZE · GAP · REFERENCE · CLS · TEXT · BARCODE · QRCODE · BOX · BAR · PRINT · DIRECTION · DENSITY · SPEED · OFFSET · SET · CODEPAGE · BLINE