From dc5b974e744ddbfd45f8b8b4ca7a0a4e06a62b33 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Sat, 3 Feb 2024 16:42:40 -0500 Subject: [PATCH] Add precut flag to P700 With this change my P700 produces about 2cm of waste tape followed by the desired label, with no additional padding. As far as I know all of these printers have a cutter, so I am not sure what determines which modules should have this flag set -- perhaps some of them can cut at the end of a label only, not at the beginning? We could perhaps have a commandline option to disable precut. --- src/libptouch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libptouch.c b/src/libptouch.c index 0991be6..73aa763 100644 --- a/src/libptouch.c +++ b/src/libptouch.c @@ -65,7 +65,7 @@ struct _pt_dev_info ptdevs[] = { {0x04f9, 0x205f, "PT-E500", 128, 180, FLAG_RASTER_PACKBITS}, /* Note about the PT-E500: was reported by Jesse Becker with the remark that it also needs some padding (white pixels) */ - {0x04f9, 0x2061, "PT-P700", 128, 180, FLAG_RASTER_PACKBITS|FLAG_P700_INIT}, + {0x04f9, 0x2061, "PT-P700", 128, 180, FLAG_RASTER_PACKBITS|FLAG_P700_INIT|FLAG_HAS_PRECUT}, {0x04f9, 0x2062, "PT-P750W", 128, 180, FLAG_RASTER_PACKBITS|FLAG_P700_INIT}, {0x04f9, 0x2064, "PT-P700 (PLite Mode)", 128, 180, FLAG_PLITE}, {0x04f9, 0x2065, "PT-P750W (PLite Mode)", 128, 180, FLAG_PLITE},