mirror of
https://git.familie-radermacher.ch/linux/ptouch-print.git
synced 2026-03-07 06:34:18 +00:00
media type info now also with text output, thanks to Sönke Peters
This commit is contained in:
@@ -522,10 +522,10 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
} else if (strcmp(&argv[i][1], "-info") == 0) {
|
||||
printf(_("maximum printing width for this tape is %ipx\n"), tape_width);
|
||||
printf("media type = %02x\n", ptdev->status->media_type);
|
||||
printf("media type = %02x (%s)\n", ptdev->status->media_type, pt_mediatype(ptdev->status->media_type));
|
||||
printf("media width = %d mm\n", ptdev->status->media_width);
|
||||
printf("tape color = %02x\n", ptdev->status->tape_color);
|
||||
printf("text color = %02x\n", ptdev->status->text_color);
|
||||
printf("tape color = %02x (%s)\n", ptdev->status->tape_color, pt_tapecolor(ptdev->status->tape_color));
|
||||
printf("text color = %02x (%s)\n", ptdev->status->text_color, pt_textcolor(ptdev->status->text_color));
|
||||
printf("error = %04x\n", ptdev->status->error);
|
||||
if (debug) {
|
||||
ptouch_rawstatus(ptdev->status);
|
||||
|
||||
Reference in New Issue
Block a user