mirror of
https://codeberg.org/icewind/ptouch-api.git
synced 2026-06-03 10:54:07 +02:00
use tape px width instead of device max
This commit is contained in:
parent
678fdf5185
commit
f7910f967b
5 changed files with 20 additions and 14 deletions
|
|
@ -50,14 +50,18 @@ on the system access to the label printer.
|
|||
|
||||
### Status
|
||||
|
||||
The returned status is a json with the following fields
|
||||
The returned status is a json with the following fields:
|
||||
|
||||
- `media_width`: width of the loaded tape in mm.
|
||||
- `pixel_width`: the width of the printed image in pixels.
|
||||
- `margin_width`: the left and right margin on the tape that can't be printed.
|
||||
- `media_type`: material type of the loaded tape.
|
||||
- `text_color`: text color for the loaded tape.
|
||||
- `tape_color`: tape color for the loaded tape.
|
||||
|
||||
(note that the tape is assumed to be horizontal here, so "width" is the short
|
||||
short direction)
|
||||
|
||||
## Supported printers
|
||||
|
||||
The following printers are currently supported
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue