summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2024-02-03 16:42:40 -0500
committerDominic Radermacher <dominic@familie-radermacher.ch>2024-02-11 10:31:02 +0100
commitdc5b974e744ddbfd45f8b8b4ca7a0a4e06a62b33 (patch)
treebaa33bcf14662eeac142776669d4009011f1ee40
parent312adc32090de93e092b38bff290594017dd0c4a (diff)
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.
-rw-r--r--src/libptouch.c2
1 files changed, 1 insertions, 1 deletions
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},