Commit Graph
57 Commits
Author SHA1 Message Date
Nico SonackandDominic Radermacher 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 BaierandDominic Radermacher 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
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 ThibedeauandDominic Radermacher da9ed2600a Add chain mode and set precut flag for PT-2700 2024-06-10 16:54:07 +02:00
Ed MasteandDominic Radermacher ad4e1541de Add cast to silence a compiler warning 2024-02-11 10:33:29 +01:00
Ed MasteandDominic Radermacher 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 BoshkilovandDominic Radermacher 312adc3209 fix baseline for cyrillic font 2024-02-11 10:29:01 +01:00
Martin DvořákandDominic Radermacher 935dd9a31b added PT-D410 2024-01-05 16:18:31 +01:00
Florian J. BreunigandDominic Radermacher 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 01d661493f update manpage and project url 2023-03-13 11:17:03 +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 32c29a1c4c fix build using cmake with generating version info from git 2021-10-11 10:11:37 +02:00
Dominic Radermacher 8655736e75 fix naming and try to fix compile errors related to config.h (generated by autotools) 2020-01-13 21:26:48 +01:00
Dominic Radermacher 9509424d56 part 1 of preparing support for high-dpi devices 2019-12-17 21:11:17 +01:00
Dominic Radermacher 815aaf1992 added support for PT-D600, thanks to Johannes Wegener for reporting 2019-11-16 10:26:43 +01:00
Dominic Radermacher bc192e6e73 prepare support for printers with other resolution than 180dpi 2019-11-03 20:25:04 +01:00
Dominic Radermacher badc152127 prevent segfault when image fails to load 2019-10-27 08:29:43 +01:00
Dominic Radermacher 98541a6f61 add support for PT-P700 (untested) 2019-09-06 21:32:12 +02:00
Dominic Radermacher 5c6df164c3 added arg --pad <n> to work around printers that require some padding (blank tape) 2019-08-24 07:01:27 +02:00
Dominic Radermacher a32e645d79 Added PT-E500, thanks to Jesse Becker for reporting 2019-08-24 06:49:50 +02:00
Dominic Radermacher e806b90e33 add hint for PT-1230PC when in P-Lite mode; quick-n-dirty fix to enable printing for PT-1230PC (but some pixels get cut off) 2019-06-29 11:57:10 +02:00
Dominic Radermacher f2664d3248 revert centering of fonts because it gets unreadable when using automatic fontsize with certain fonts 2019-06-10 17:09:33 +02:00
Dominic Radermacher e0ab4e0596 added debugging info, try to fix centering of fonts when manually setting small font size 2019-06-07 10:19:21 +02:00
Dominic Radermacher 1d26dca80d remove unused code, add --debug switch (which does nothing yet) 2019-05-23 16:27:25 +02:00
Dominic Radermacher 4639f7c23d show user hint when PT-2430PC / PT-P700 are in P-Lite mode, show notice about unsupported raster mode 2019-05-23 16:20:40 +02:00
Dominic Radermacher 05873ed64e fix indent 2019-05-14 21:50:20 +02:00
Brett FosterandDominic Radermacher fa70a4eb4b fix double free 2019-05-14 21:47:20 +02:00
Dominic Radermacher fda7848075 fix name of PT-2730, re-order list of devices 2019-05-13 08:27:29 +02:00
Dominic Radermacher 7778e1c80c merge branch devel 2019-04-08 22:04:47 +02:00
Dominic Radermacher 92dd6aa402 fix several compile warnings 2019-04-08 21:56:55 +02:00
Dominic Radermacher 6b2096cea7 generate the cutmark as image instead of ptouch-commands, so it can be saved as png, too 2019-03-28 16:10:54 +01:00
Dominic Radermacher 428004c204 make it possible to use --writepng with multiple --text and/or --image arguments 2019-03-28 16:03:00 +01:00
Dominic Radermacher 213a70eee0 fix support for printers that use packbits transfer mode, like PT-D450PV 2019-03-17 11:36:04 +01:00
Dominic Radermacher 20820ec688 added initial support for PT-2730PC 2017-11-12 19:14:41 +01:00
Dominic Radermacher fbcccb420e reverted to old pixel size 2017-09-24 21:31:42 +02:00
Christer Palm 0d83cc4f14 Move processing after argument parsing so that arguments do not have to be specified in a magic order 2017-09-24 01:58:29 +02:00
Christer Palm e00645e6c7 Do not eject if writing to png 2017-09-24 01:27:09 +02:00
Christer Palm 51168d3b98 Fix PT-2024PC support and some minor cleanup 2017-09-24 01:25:49 +02:00
Dominic Radermacher 8d8bce5771 added support for pt2420 2017-07-20 16:54:56 +02:00
Dominic Radermacher 1c552a3d11 change reporting of wrong switch position (not done yet) 2017-07-20 15:03:21 +02:00
Dominic Radermacher 040e271ef0 cosmetic updates ;-) 2017-06-24 10:58:33 +02:00