mirror of
https://git.familie-radermacher.ch/linux/ptouch-print.git
synced 2026-09-15 22:27:34 +00:00
part 1 of preparing support for high-dpi devices
This commit is contained in:
+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