Commit Graph

128 Commits

Author SHA1 Message Date
Markus Schramma d8a4ed71e2 add --timeout option 2025-09-28 08:05:41 +02:00
Dominic Radermacher e730c3b480 better help text for newline arg, rename build script 2025-08-11 15:09:36 +02:00
Dominic Radermacher d293e9427d coding style cosmetics 2025-08-11 09:57:02 +02:00
Michael Schulz 92c1e43f0c improved argv parser, enable printing of text starting with a dash 2025-08-11 09:49:18 +02:00
Dominic Radermacher 3bcde60eea update po files 2025-08-10 08:28:40 +02:00
Frost f1c34dd0d4 Send chain magic after precut
This lets you do chain mode with a precut first.
2025-08-10 08:23:56 +02:00
Frost f59e19349b Print without the default length margins
Brother's software may default to 0x0e, but that probably assumes you're making text labels and not printing images. For printing images you might want borderless (we certainly do), and for text labels you can always add the margins to the label before printing.

This commit uses 1px length margins instead of 0 to prevent some leftover black on the edges of the next print.
2025-08-10 08:22:39 +02:00
Dominic Radermacher ab80c721f6 fix compile warning 2025-08-10 07:23:11 +02:00
Dominic Radermacher d7d97eede8 fix gettext.cmake 2025-08-03 14:21:56 +02:00
Dominic Radermacher d1eeacbdd8 Added USB IDs for PT-E550W, but doesn't work yet (only prints empty tape) 2025-08-03 10:11:15 +02:00
Dominic Radermacher efa48162a8 better gettext support (thanks to Michael Schulz) 2025-08-03 09:42:30 +02:00
Dominic Radermacher 1f450d9124 Add support for PT-E310BT (thanks to Christian Radin) 2025-06-22 08:13:08 +02:00
Marcus Müller 1a39fe1284 udev uaccess rules must have lower order than 73-seat-late.rules
see, for example, https://github.com/bigbigmdm/IMSProg/issues/98 . If the rule granting uaccess tag to a device is loaded after the seat-late rule, seat-late can't grant the user access to the device.

Signed-off-by: Marcus Müller <mueller@baseband.digital>
2025-06-01 20:15:29 +02:00
Dominic Radermacher 2c9828af87 add support for PT-9200DX, thanks Ralf Lieb for reporting 2025-06-01 20:12:20 +02:00
Dominic Radermacher 2f18522602 fix segfault for last commit 2025-05-19 13:33:55 +02:00
Dominic Radermacher 140bf0a6cc for printers with less than 128px printhead, make sure we dont print too much pixels 2025-05-12 18:29:56 +02:00
Dominic Radermacher a6c67df2c9 cosmetics 2025-05-12 17:59:45 +02:00
Dominic Radermacher ec923ed579 Add support for PT-2300 and fix 112px width centering (thanks to Bradley Erickson) 2025-05-12 17:47:00 +02:00
Nico Sonack aa5392bc13 zero-initialise array to silence valgrind 2024-10-29 20:21:48 +01:00
Dominic Radermacher 740b20e150 Add --copies switch for multiple printouts (thanks to Wojciech Fred) 2024-10-06 17:46:29 +02:00
Jan Baier bc7d32a6e6 Fix segfault when using --force-tape-width without printer
When force_tape_width is *not* used it is expected to open/close the usb
device.
2024-08-15 09:44:19 +02:00
Didi Kohen 9cae7f465b improve udev rules 2024-08-11 13:53:05 +02:00
Dominic Radermacher 9a0ef8c7d6 Fix chain print support for the D460BT family (thanks to Guilherme Espada) 2024-08-11 13:31:20 +02:00
Dominic Radermacher b904e22cf1 Add --force-tape-with, enables use of --writepng without the need of a printer connected (thanks to Didi Kohen) 2024-08-11 13:15:22 +02:00
Kevin Thibedeau da9ed2600a Add chain mode and set precut flag for PT-2700 2024-06-10 16:54:07 +02:00
Dominic Radermacher a51fcf98f8 add and install udev rules to enable non-root access (thanks to Patrick Huesmann for contribution) 2024-04-18 09:29:38 +02:00
Ed Maste 8aaeecd84b Add different libusb include path for FreeBSD 2024-02-11 10:34:28 +01:00
Ed Maste ad4e1541de Add cast to silence a compiler warning 2024-02-11 10:33:29 +01:00
Ed Maste dc5b974e74 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.
2024-02-11 10:31:02 +01:00
Nedko Boshkilov 312adc3209 fix baseline for cyrillic font 2024-02-11 10:29:01 +01:00
Martin Dvořák 935dd9a31b added PT-D410 2024-01-05 16:18:31 +01:00
Florian J. Breunig 06a8001bf4 added PT-D610BT
Signed-off-by: Florian J. Breunig <Florian.J.Breunig@my-flow.com>
2024-01-05 07:56:33 +01:00
Dominic Radermacher 5fbd590f01 fix missing pixels on right side - thanks to patch from Boris-Chengbiao 2023-11-28 10:23:54 +01:00
Dominic Radermacher f22e844eed add (untested) support for PT-D460BT thanks to ccfreak2k 2023-10-13 12:30:33 +02:00
Dominic Radermacher 8b631a7996 hopefully fix libitnl linking issues 2023-05-22 10:05:55 +02:00
Dominic Radermacher 01d661493f update manpage and project url 2023-03-13 11:17:03 +01:00
Dominic Radermacher 6b82cd6166 small cosmetic change to CMakeLists.txt 2022-11-24 06:45:01 +01:00
Dominic Radermacher 53987c4150 cosmetic changes (some are overdue since many years) 2022-10-05 18:08:06 +02:00
Dominic Radermacher f56d7ea740 fix some compile warnings 2022-09-11 06:45:00 +02:00
Dominic Radermacher 71396e8ff1 change init to first invalidate, then init (maybe needed for some ptouch models?) 2022-09-11 06:29:44 +02:00
Dominic Radermacher ffc1b1f7b1 media type info now also with text output, thanks to Sönke Peters 2022-09-11 06:25:35 +02:00
Dominic Radermacher 674e0da5fb add debug output 2022-04-05 20:25:54 +02:00
Dominic Radermacher e968176637 fix text centering 2021-10-11 19:31:15 +02:00
Dominic Radermacher f74d068776 add install target 2021-10-11 11:50:54 +02:00
Dominic Radermacher a2d2548867 fix generation of version.h 2021-10-11 10:36:58 +02:00
Dominic Radermacher e3c0073466 merge with branch cmake - build system is now cmake 2021-10-11 10:18:49 +02:00
Dominic Radermacher 32c29a1c4c fix build using cmake with generating version info from git 2021-10-11 10:11:37 +02:00
Dominic Radermacher 72ddc5b01e update contact info 2021-08-30 15:15:16 +02:00
Dominic Radermacher 4a79cdf1b1 bugfix for PT D-450 - thanks to Nicklas Björk 2021-08-29 21:32:04 +02:00
Dominic Radermacher 97657da3f4 add support for 3.5mm tapes 2021-05-22 11:58:05 +02:00