1
0
mirror of https://git.familie-radermacher.ch/linux/ptouch-print.git synced 2026-02-27 19:58:52 +00:00

added PT-9200DX with different entry (thanks to Christian Pauls)

This commit is contained in:
Dominic Radermacher
2026-02-27 07:50:15 +01:00
parent 3e026ef26b
commit bdd724fef5
4 changed files with 86 additions and 85 deletions

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ptouch-print 1.7\n"
"Report-Msgid-Bugs-To: dominic@familie-radermacher.ch\n"
"POT-Creation-Date: 2026-01-23 08:02+0100\n"
"POT-Creation-Date: 2026-02-27 07:49+0100\n"
"PO-Revision-Date: 2024-05-23 22:27-0400\n"
"Last-Translator: dominic@familie-radermacher.ch\n"
"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
@@ -19,138 +19,138 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.4.2\n"
#: src/libptouch.c:107 src/libptouch.c:111 src/libptouch.c:115
#: src/libptouch.c:108 src/libptouch.c:112 src/libptouch.c:116
#, c-format
msgid "out of memory\n"
msgstr "Nicht genug Speicher\n"
#: src/libptouch.c:119
#: src/libptouch.c:120
#, c-format
msgid "libusb_init() failed\n"
msgstr "ptouch_init() fehlgeschlagen\n"
#: src/libptouch.c:128
#: src/libptouch.c:129
#, c-format
msgid "failed to get device descriptor"
msgstr ""
#: src/libptouch.c:134
#: src/libptouch.c:135
#, c-format
msgid "%s found on USB bus %d, device %d\n"
msgstr "Drucker %s am USB Bus %d, Gerät %d gefunden\n"
#: src/libptouch.c:149
#: src/libptouch.c:150
#, c-format
msgid "libusb_open error :%s\n"
msgstr ""
#: src/libptouch.c:155
#: src/libptouch.c:156
#, c-format
msgid "error while detaching kernel driver: %s\n"
msgstr ""
#: src/libptouch.c:159
#: src/libptouch.c:160
#, c-format
msgid "interface claim error: %s\n"
msgstr ""
#: src/libptouch.c:170
#: src/libptouch.c:171
#, c-format
msgid ""
"No P-Touch printer found on USB (remember to put switch to position E)\n"
msgstr "Kein P-Ptouch Drucker am USB gefunden (Schalter muss auf E stehen)\n"
#: src/libptouch.c:190
#: src/libptouch.c:191
#, c-format
msgid "debug: called ptouch_send() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:197
#: src/libptouch.c:198
#, c-format
msgid "write error: %s\n"
msgstr ""
#: src/libptouch.c:201
#: src/libptouch.c:202
#, fuzzy, c-format
msgid "write error: could send only %i of %ld bytes\n"
msgstr "Lesefehler: %i anstatt 32 bytes empfangen\n"
#: src/libptouch.c:251
#: src/libptouch.c:252
#, c-format
msgid "debug: called ptouch_info_cmd() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:293
#: src/libptouch.c:294
#, fuzzy, c-format
msgid "debug: called ptouch_rasterstart() with NULL ptdev\n"
msgstr "ptouch_rasterstart() fehlgeschlagen\n"
#: src/libptouch.c:324
#: src/libptouch.c:325
#, c-format
msgid "debug: called ptouch_finalize() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:339
#: src/libptouch.c:340
#, c-format
msgid "debug: dumping raw status bytes\n"
msgstr ""
#: src/libptouch.c:358
#: src/libptouch.c:359
#, c-format
msgid "debug: called ptouch_getstatus() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:368 src/libptouch.c:404
#: src/libptouch.c:369 src/libptouch.c:405
#, c-format
msgid "read error: %s\n"
msgstr ""
#: src/libptouch.c:373
#: src/libptouch.c:374
#, c-format
msgid "timeout (%i sec) while waiting for status response\n"
msgstr ""
#: src/libptouch.c:387
#: src/libptouch.c:388
#, c-format
msgid "unknown tape width of %imm, please report this.\n"
msgstr "Unbekannte Schriftband breite (%i mm), bitte melden\n"
#: src/libptouch.c:393
#: src/libptouch.c:394
#, c-format
msgid "got only 16 bytes... wondering what they are:\n"
msgstr "nur 16 bytes empfangen... mal gucken was die sind:\n"
#: src/libptouch.c:397
#: src/libptouch.c:398
#, c-format
msgid "read error: got %i instead of 32 bytes\n"
msgstr "Lesefehler: %i anstatt 32 bytes empfangen\n"
#: src/libptouch.c:400
#: src/libptouch.c:401
#, c-format
msgid "strange status:\n"
msgstr "Seltsamer Status:\n"
#: src/libptouch.c:402
#: src/libptouch.c:403
#, c-format
msgid "trying to flush junk\n"
msgstr ""
#: src/libptouch.c:407
#: src/libptouch.c:408
#, c-format
msgid "got another %i bytes. now try again\n"
msgstr "weitere %i bytes empfangen. probiere es nochmal.\n"
#: src/libptouch.c:414
#: src/libptouch.c:415
#, c-format
msgid "debug: called ptouch_get_tape_width() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:423
#: src/libptouch.c:424
#, c-format
msgid "debug: called ptouch_get_max_width() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:435
#: src/libptouch.c:436
#, c-format
msgid "debug: called ptouch_sendraster() with NULL ptdev\n"
msgstr ""

View File

@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ptouch-print 1.7\n"
"Report-Msgid-Bugs-To: dominic@familie-radermacher.ch\n"
"POT-Creation-Date: 2026-01-23 08:02+0100\n"
"POT-Creation-Date: 2026-02-27 07:49+0100\n"
"PO-Revision-Date: 2024-05-23 22:26-0400\n"
"Last-Translator: dominic@familie-radermacher.ch\n"
"Language-Team: English <en@translate.freefriends.org>\n"
@@ -18,139 +18,139 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.4.2\n"
#: src/libptouch.c:107 src/libptouch.c:111 src/libptouch.c:115
#: src/libptouch.c:108 src/libptouch.c:112 src/libptouch.c:116
#, c-format
msgid "out of memory\n"
msgstr "out of memory\n"
#: src/libptouch.c:119
#: src/libptouch.c:120
#, c-format
msgid "libusb_init() failed\n"
msgstr "libusb_init() failed\n"
#: src/libptouch.c:128
#: src/libptouch.c:129
#, c-format
msgid "failed to get device descriptor"
msgstr "failed to get device descriptor"
#: src/libptouch.c:134
#: src/libptouch.c:135
#, c-format
msgid "%s found on USB bus %d, device %d\n"
msgstr "%s found on USB bus %d, device %d\n"
#: src/libptouch.c:149
#: src/libptouch.c:150
#, c-format
msgid "libusb_open error :%s\n"
msgstr "libusb_open error :%s\n"
#: src/libptouch.c:155
#: src/libptouch.c:156
#, c-format
msgid "error while detaching kernel driver: %s\n"
msgstr "error while detaching kernel driver: %s\n"
#: src/libptouch.c:159
#: src/libptouch.c:160
#, c-format
msgid "interface claim error: %s\n"
msgstr "interface claim error: %s\n"
#: src/libptouch.c:170
#: src/libptouch.c:171
#, c-format
msgid ""
"No P-Touch printer found on USB (remember to put switch to position E)\n"
msgstr ""
"No P-Touch printer found on USB (remember to put switch to position E)\n"
#: src/libptouch.c:190
#: src/libptouch.c:191
#, c-format
msgid "debug: called ptouch_send() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:197
#: src/libptouch.c:198
#, c-format
msgid "write error: %s\n"
msgstr "write error: %s\n"
#: src/libptouch.c:201
#: src/libptouch.c:202
#, fuzzy, c-format
msgid "write error: could send only %i of %ld bytes\n"
msgstr "write error: could send only %i of %i bytes\n"
#: src/libptouch.c:251
#: src/libptouch.c:252
#, c-format
msgid "debug: called ptouch_info_cmd() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:293
#: src/libptouch.c:294
#, fuzzy, c-format
msgid "debug: called ptouch_rasterstart() with NULL ptdev\n"
msgstr "ptouch_rasterstart() failed\n"
#: src/libptouch.c:324
#: src/libptouch.c:325
#, c-format
msgid "debug: called ptouch_finalize() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:339
#: src/libptouch.c:340
#, c-format
msgid "debug: dumping raw status bytes\n"
msgstr "debug: dumping raw status bytes\n"
#: src/libptouch.c:358
#: src/libptouch.c:359
#, c-format
msgid "debug: called ptouch_getstatus() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:368 src/libptouch.c:404
#: src/libptouch.c:369 src/libptouch.c:405
#, c-format
msgid "read error: %s\n"
msgstr "read error: %s\n"
#: src/libptouch.c:373
#: src/libptouch.c:374
#, fuzzy, c-format
msgid "timeout (%i sec) while waiting for status response\n"
msgstr "timeout while waiting for status response\n"
#: src/libptouch.c:387
#: src/libptouch.c:388
#, c-format
msgid "unknown tape width of %imm, please report this.\n"
msgstr "unknown tape width of %imm, please report this.\n"
#: src/libptouch.c:393
#: src/libptouch.c:394
#, c-format
msgid "got only 16 bytes... wondering what they are:\n"
msgstr "got only 16 bytes... wondering what they are:\n"
#: src/libptouch.c:397
#: src/libptouch.c:398
#, c-format
msgid "read error: got %i instead of 32 bytes\n"
msgstr "read error: got %i instead of 32 bytes\n"
#: src/libptouch.c:400
#: src/libptouch.c:401
#, c-format
msgid "strange status:\n"
msgstr "strange status:\n"
#: src/libptouch.c:402
#: src/libptouch.c:403
#, c-format
msgid "trying to flush junk\n"
msgstr "trying to flush junk\n"
#: src/libptouch.c:407
#: src/libptouch.c:408
#, c-format
msgid "got another %i bytes. now try again\n"
msgstr "got another %i bytes. now try again\n"
#: src/libptouch.c:414
#: src/libptouch.c:415
#, c-format
msgid "debug: called ptouch_get_tape_width() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:423
#: src/libptouch.c:424
#, c-format
msgid "debug: called ptouch_get_max_width() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:435
#: src/libptouch.c:436
#, c-format
msgid "debug: called ptouch_sendraster() with NULL ptdev\n"
msgstr ""

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: 2026-01-23 08:08+0100\n"
"POT-Creation-Date: 2026-02-27 07:49+0100\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"
@@ -17,138 +17,138 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: src/libptouch.c:107 src/libptouch.c:111 src/libptouch.c:115
#: src/libptouch.c:108 src/libptouch.c:112 src/libptouch.c:116
#, c-format
msgid "out of memory\n"
msgstr ""
#: src/libptouch.c:119
#: src/libptouch.c:120
#, c-format
msgid "libusb_init() failed\n"
msgstr ""
#: src/libptouch.c:128
#: src/libptouch.c:129
#, c-format
msgid "failed to get device descriptor"
msgstr ""
#: src/libptouch.c:134
#: src/libptouch.c:135
#, c-format
msgid "%s found on USB bus %d, device %d\n"
msgstr ""
#: src/libptouch.c:149
#: src/libptouch.c:150
#, c-format
msgid "libusb_open error :%s\n"
msgstr ""
#: src/libptouch.c:155
#: src/libptouch.c:156
#, c-format
msgid "error while detaching kernel driver: %s\n"
msgstr ""
#: src/libptouch.c:159
#: src/libptouch.c:160
#, c-format
msgid "interface claim error: %s\n"
msgstr ""
#: src/libptouch.c:170
#: src/libptouch.c:171
#, c-format
msgid ""
"No P-Touch printer found on USB (remember to put switch to position E)\n"
msgstr ""
#: src/libptouch.c:190
#: src/libptouch.c:191
#, c-format
msgid "debug: called ptouch_send() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:197
#: src/libptouch.c:198
#, c-format
msgid "write error: %s\n"
msgstr ""
#: src/libptouch.c:201
#: src/libptouch.c:202
#, c-format
msgid "write error: could send only %i of %ld bytes\n"
msgstr ""
#: src/libptouch.c:251
#: src/libptouch.c:252
#, c-format
msgid "debug: called ptouch_info_cmd() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:293
#: src/libptouch.c:294
#, c-format
msgid "debug: called ptouch_rasterstart() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:324
#: src/libptouch.c:325
#, c-format
msgid "debug: called ptouch_finalize() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:339
#: src/libptouch.c:340
#, c-format
msgid "debug: dumping raw status bytes\n"
msgstr ""
#: src/libptouch.c:358
#: src/libptouch.c:359
#, c-format
msgid "debug: called ptouch_getstatus() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:368 src/libptouch.c:404
#: src/libptouch.c:369 src/libptouch.c:405
#, c-format
msgid "read error: %s\n"
msgstr ""
#: src/libptouch.c:373
#: src/libptouch.c:374
#, c-format
msgid "timeout (%i sec) while waiting for status response\n"
msgstr ""
#: src/libptouch.c:387
#: src/libptouch.c:388
#, c-format
msgid "unknown tape width of %imm, please report this.\n"
msgstr ""
#: src/libptouch.c:393
#: src/libptouch.c:394
#, c-format
msgid "got only 16 bytes... wondering what they are:\n"
msgstr ""
#: src/libptouch.c:397
#: src/libptouch.c:398
#, c-format
msgid "read error: got %i instead of 32 bytes\n"
msgstr ""
#: src/libptouch.c:400
#: src/libptouch.c:401
#, c-format
msgid "strange status:\n"
msgstr ""
#: src/libptouch.c:402
#: src/libptouch.c:403
#, c-format
msgid "trying to flush junk\n"
msgstr ""
#: src/libptouch.c:407
#: src/libptouch.c:408
#, c-format
msgid "got another %i bytes. now try again\n"
msgstr ""
#: src/libptouch.c:414
#: src/libptouch.c:415
#, c-format
msgid "debug: called ptouch_get_tape_width() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:423
#: src/libptouch.c:424
#, c-format
msgid "debug: called ptouch_get_max_width() with NULL ptdev\n"
msgstr ""
#: src/libptouch.c:435
#: src/libptouch.c:436
#, c-format
msgid "debug: called ptouch_sendraster() with NULL ptdev\n"
msgstr ""

View File

@@ -1,7 +1,7 @@
/*
libptouch - functions to help accessing a brother ptouch
Copyright (C) 2013-2025 Dominic Radermacher <dominic@familie-radermacher.ch>
Copyright (C) 2013-2026 Dominic Radermacher <dominic@familie-radermacher.ch>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 3 as
@@ -47,6 +47,7 @@ struct _pt_tape_info tape_info[]= {
struct _pt_dev_info ptdevs[] = {
{0x04f9, 0x2001, "PT-9200DX", 384, 360, FLAG_RASTER_PACKBITS|FLAG_HAS_PRECUT}, /* 360dpi, maximum 128px, max tape width 36mm */
{0x04f9, 0x2002, "PT-9200DX", 384, 360, FLAG_RASTER_PACKBITS|FLAG_HAS_PRECUT}, /* reported by Christian Pauls - either 0x2001 is wrong, or this printer exists with two different IDs */
{0x04f9, 0x2004, "PT-2300", 112, 180, FLAG_RASTER_PACKBITS|FLAG_HAS_PRECUT}, /* 180dpi, 112px printhead */
{0x04f9, 0x2007, "PT-2420PC", 128, 180, FLAG_RASTER_PACKBITS}, /* 180dpi, 128px, maximum tape width 24mm, must send TIFF compressed pixel data */
{0x04f9, 0x2011, "PT-2450PC", 128, 180, FLAG_RASTER_PACKBITS},