mirror of
https://git.familie-radermacher.ch/linux/ptouch-print.git
synced 2025-12-20 06:45:38 +01:00
part 1 of preparing support for high-dpi devices
This commit is contained in:
parent
815aaf1992
commit
9509424d56
3 changed files with 18 additions and 11 deletions
|
|
@ -288,11 +288,16 @@ int ptouch_getstatus(ptouch_dev ptdev)
|
|||
return -1;
|
||||
}
|
||||
|
||||
int ptouch_getmaxwidth(ptouch_dev ptdev)
|
||||
size_t ptouch_get_tape_width(ptouch_dev ptdev)
|
||||
{
|
||||
return ptdev->tape_width_px;
|
||||
}
|
||||
|
||||
size_t ptouch_get_max_width(ptouch_dev ptdev)
|
||||
{
|
||||
return ptdev->devinfo->max_px;
|
||||
}
|
||||
|
||||
int ptouch_sendraster(ptouch_dev ptdev, uint8_t *data, size_t len)
|
||||
{
|
||||
uint8_t buf[64];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue