1
0
mirror of https://git.familie-radermacher.ch/linux/ptouch-print.git synced 2025-12-05 19:05:26 +00:00

improved argv parser, enable printing of text starting with a dash

This commit is contained in:
Michael Schulz
2025-08-11 09:49:18 +02:00
committed by Dominic Radermacher
parent 3bcde60eea
commit 92c1e43f0c
4 changed files with 396 additions and 313 deletions

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ptouch-print\n"
"Report-Msgid-Bugs-To: dominic@familie-radermacher.ch\n"
"POT-Creation-Date: 2025-08-10 08:23+0200\n"
"POT-Creation-Date: 2025-08-11 09:46+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -153,137 +153,149 @@ msgstr ""
msgid "debug: called ptouch_sendraster() with NULL ptdev\n"
msgstr ""
#: src/ptouch-print.c:81
#: src/ptouch-print.c:143
#, c-format
msgid "nothing to print\n"
msgstr ""
#: src/ptouch-print.c:89
#: src/ptouch-print.c:151
#, c-format
msgid "image is too large (%ipx x %ipx)\n"
msgstr ""
#: src/ptouch-print.c:90
#: src/ptouch-print.c:152
#, c-format
msgid "maximum printing width for this tape is %ipx\n"
msgstr ""
#: src/ptouch-print.c:93
#: src/ptouch-print.c:155
#, c-format
msgid "image size (%ipx x %ipx)\n"
msgstr ""
#: src/ptouch-print.c:103
#: src/ptouch-print.c:165
#, c-format
msgid "ptouch_rasterstart() failed\n"
msgstr ""
#: src/ptouch-print.c:109
#: src/ptouch-print.c:171
#, c-format
msgid "send print information command\n"
msgstr ""
#: src/ptouch-print.c:115
#: src/ptouch-print.c:177
#, c-format
msgid "send PT-D460BT magic commands\n"
msgstr ""
#: src/ptouch-print.c:121
#: src/ptouch-print.c:183
#, c-format
msgid "send precut command\n"
msgstr ""
#: src/ptouch-print.c:129
#: src/ptouch-print.c:191
#, c-format
msgid "send PT-D460BT chain commands\n"
msgstr ""
#: src/ptouch-print.c:141
#: src/ptouch-print.c:203
#, c-format
msgid "ptouch_sendraster() failed\n"
msgstr ""
#: src/ptouch-print.c:190
#: src/ptouch-print.c:252
#, c-format
msgid "writing image '%s' failed\n"
msgstr ""
#: src/ptouch-print.c:212
#: src/ptouch-print.c:274
#, c-format
msgid "debug: o baseline offset - %d\n"
msgstr ""
#: src/ptouch-print.c:213
#: src/ptouch-print.c:275
#, c-format
msgid "debug: text baseline offset - %d\n"
msgstr ""
#: src/ptouch-print.c:272
#: src/ptouch-print.c:334
#, c-format
msgid "render_text(): %i lines, font = '%s'\n"
msgstr ""
#: src/ptouch-print.c:275
#: src/ptouch-print.c:337
#, c-format
msgid "warning: font config not available\n"
msgstr ""
#: src/ptouch-print.c:279
#: src/ptouch-print.c:341
#, c-format
msgid "setting font size=%i\n"
msgstr ""
#: src/ptouch-print.c:283
#: src/ptouch-print.c:345
#, c-format
msgid "could not estimate needed font size\n"
msgstr ""
#: src/ptouch-print.c:290
#: src/ptouch-print.c:352
#, c-format
msgid "choosing font size=%i\n"
msgstr ""
#: src/ptouch-print.c:306 src/ptouch-print.c:334
#: src/ptouch-print.c:368 src/ptouch-print.c:396
#, c-format
msgid "error in gdImageStringFT: %s\n"
msgstr ""
#: src/ptouch-print.c:516
#: src/ptouch-print.c:557
#, c-format
msgid "ptouch-print version %s by Dominic Radermacher\n"
msgid "Only up to %d lines are supported"
msgstr ""
#: src/ptouch-print.c:555
#, c-format
msgid "ptouch_init() failed\n"
#: src/ptouch-print.c:570
msgid "No arguments supported"
msgstr ""
#: src/ptouch-print.c:558
#, c-format
msgid "ptouch_getstatus() failed\n"
#: src/ptouch-print.c:575
msgid "Option --writepng missing"
msgstr ""
#: src/ptouch-print.c:597
#, c-format
msgid "maximum printing width for this printer is %ldpx\n"
msgstr ""
#: src/ptouch-print.c:598
#, c-format
msgid "maximum printing width for this tape is %ldpx\n"
#: src/ptouch-print.c:578
msgid "Options --force_tape_width and --info can't be used together"
msgstr ""
#: src/ptouch-print.c:610
#, c-format
msgid "failed to load image file\n"
msgid "ptouch_init() failed\n"
msgstr ""
#: src/ptouch-print.c:626
#: src/ptouch-print.c:613
#, c-format
msgid "could not render text\n"
msgid "ptouch_getstatus() failed\n"
msgstr ""
#: src/ptouch-print.c:627
#, c-format
msgid "maximum printing width for this printer is %ldpx\n"
msgstr ""
#: src/ptouch-print.c:628
#, c-format
msgid "maximum printing width for this tape is %ldpx\n"
msgstr ""
#: src/ptouch-print.c:652
#, c-format
msgid "failed to load image file\n"
msgstr ""
#: src/ptouch-print.c:661
#, c-format
msgid "could not render text\n"
msgstr ""
#: src/ptouch-print.c:700
#, c-format
msgid "ptouch_finalize(%d) failed\n"
msgstr ""