Dot-Matrix Printer
A retro printer that prints a receipt or listing line by line in our own 5×7 dot glyphs on tractor-feed green-bar paper, with a moving print head, bidirectional printing and a tear-off perforation.
Preview
DMP-24
DMP-9
Install
Pro source requires Pebble Pro. Try the full preview above.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| lines | (string | { text, align?, bold? })[] | — | Lines to print; bold is double-struck, align pads to the column width. |
| columns | number | 32 | Characters per line. |
| lineMs | number | 360 | Milliseconds to print one line. |
| autoPrint | boolean | false | Start printing on mount. |
| heldAt | number | — | Hold the printout at this many lines (fractions are mid-line), for docs. |
| paperHeight | number | 300 | Visible paper height in px; older lines scroll up out of view. |
| label | string | "Printout" | Accessible name; the printed text is read after it. |
| model | string | "DMP-24" | Model name on the housing. |
| onDone | () => void | — | Called when the last line is printed. |
Pro component
Try the full preview above. Editable source and build guides require Pebble Pro.
