The TSPL job
The PM290 speaks a small part of TSPL2. 203 dpi, 384 dots across = 48 bytes per row = 48 mm on 54 mm paper.
SIZE 54.0 mm,<height/8> mmDIRECTION 0,0DENSITY 10CLSPRINT 1BITMAP 0,0,48,<height>,1,<48 * height raw bytes>ALLENDThe job ends with ALLEND\r\n\r\n. This matches the captured app jobs byte for byte.
Rules learned the hard way
Section titled “Rules learned the hard way”PRINT 1comes beforeBITMAP, once.BITMAPitself starts the head; aPRINTafter it prints a second copy.SIZEheight must equalbitmap rows / 8exactly. Anything taller and the buffer replays, printing part of the picture twice.- 0 = burn, 1 = skip. Pictures are made with 1 = black and flipped exactly once on the way out.
- No separator before
ALLENDand noGAPcommand. Both are tolerated, but the app does not send them. - Density is
DENSITY 10by default;--darksends 15.
- Send RCSP opcode 11 (switch device). The printer stops advertising Bluetooth Low Energy until you power cycle it.
- Use the USB port for data. It answers
ERROR0to everything; it only charges.