mirror of
https://git.familie-radermacher.ch/linux/ptouch-print.git
synced 2026-11-18 17:34:20 +00:00
part 1 of preparing support for high-dpi devices
This commit is contained in:
1 parent
815aaf1992
commit
9509424d56
3 files changed
+18
-11
No files matched your search
+6
-1
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user