Enable FLAG_HAS_PRECUT for PT-2430PC

The PT-2430PC (0x04f9:0x202d) was flagged FLAG_NONE, so --precut was
silently a no-op on this model: printing a --chain'd batch of labels
produced one continuous strip with no cut between individual labels.

This printer shares the same head width and DPI (128px @ 180dpi) as
the PT-2700 (0x04f9:0x201f), which already has FLAG_HAS_PRECUT set.
That similarity prompted testing precut on real PT-2430PC hardware:
sending --chain on the first label and --precut on the second
produces a real cut between the two labels, with no errors and no
adverse effect on the surrounding print.

Tested on: PT-2430PC, USB ID 04f9:202d, tape: 12mm laminated.

Only the non-PLite entry is changed; the "(PLite Mode)" variant
(0x04f9:0x2031) was not tested and is left as FLAG_PLITE.
This commit is contained in:
Dominic Radermacher
2026-09-12 16:12:38 +02:00
parent 41c4af0d0d
commit 54e046f190
4 changed files with 199 additions and 199 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ struct _pt_dev_info ptdevs[] = {
/* Notes about the PT-1230PC: While it is true that this printer supports
max 12mm tapes, it apparently expects > 76px data - the first 32px
must be blank. */
{0x04f9, 0x202d, "PT-2430PC", 128, 180, FLAG_NONE, 0}, /* 180dpi, maximum 128px */
{0x04f9, 0x202d, "PT-2430PC", 128, 180, FLAG_HAS_PRECUT, 0}, /* 180dpi, maximum 128px. Same head width/dpi as PT-2700 (which has FLAG_HAS_PRECUT); confirmed precut works on real hardware. */
{0x04f9, 0x2030, "PT-1230PC (PLite Mode)", 128, 180, FLAG_PLITE, 0},
{0x04f9, 0x2031, "PT-2430PC (PLite Mode)", 128, 180, FLAG_PLITE, 0},
{0x04f9, 0x2041, "PT-2730", 128, 180, FLAG_NONE, 0}, /* 180dpi, maximum 128px, max tape width 24mm - reported to work with some quirks */