Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed typo in graphics conversion, added old printers, added metric page, some translation. #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 24 additions & 24 deletions po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ msgid "Duplex Unit"
msgstr "Duplexer"

msgid "Optional Input Tray"
msgstr "Optionale Behälter"
msgstr "Optionale Zufuhr"

msgid "Optional Hard Disk"
msgstr "Optionale Festplatte"
Expand Down Expand Up @@ -359,7 +359,7 @@ msgid "Off"
msgstr "Aus"

msgid "Not Installed"
msgstr "Nicht Eingebaut"
msgstr "Nicht eingebaut"

msgid "On"
msgstr "Ein"
Expand Down Expand Up @@ -497,7 +497,7 @@ msgid "Plain Paper"
msgstr "Normalpapier"

msgid "Letterhead"
msgstr "Bedruckt"
msgstr "Briefbogen"

msgid "Printer Default"
msgstr "Druckereinstellung"
Expand Down Expand Up @@ -584,37 +584,37 @@ msgid "TPCL2 Impresor Etiqueta "
msgstr "Impressor Toshiba Tec"

msgid "50.80 mmx25.40 mm"
msgstr "50.80 mmx25.40 mm"
msgstr "50,80 mmx25,40 mm"

msgid "50.80 mmx31.75 mm"
msgstr "50.80 mmx31.75 mm"
msgstr "50,80 mmx31,75 mm"

msgid "50.80 mmx50.80 mm"
msgstr "50.80 mmx50.80 mm"
msgstr "50,80 mmx50,80 mm"

msgid "50.80 mmx76.20 mm"
msgstr "50.80 mmx76.20 mm"
msgstr "50,80 mmx76,20 mm"

msgid "73.66 mm x 25.40 mm"
msgstr "73.66 mm x 25.40 mm"
msgstr "73,66 mm x 25,40 mm"

msgid "101.60 mmx50.80 mm"
msgstr "101.60 mmx50.80 mm"
msgstr "101,60 mmx50,80 mm"

msgid "101.60 mmx76.20 mm"
msgstr "101.60 mmx76.20 mm"
msgstr "101,60 mmx76,20 mm"

msgid "101.60 mmx101.60 mm"
msgstr "101.60 mmx101.60 mm"
msgstr "101,60 mmx101,60 mm"

msgid "101.60 mmx127.00 mm"
msgstr "101.60 mmx127.00 mm"
msgstr "101,60 mmx127,00 mm"

msgid "101.60 mmx150.00 mm"
msgstr "101.60 mmx150.00 mm"
msgstr "101,60 mmx150,00 mm"

msgid "101.60 mmx152.40 mm"
msgstr "101.60 mmx152.40 mm"
msgstr "101,60 mmx152,40 mm"

msgid "Printer Resolution"
msgstr "Printer Definition"
Expand Down Expand Up @@ -671,16 +671,16 @@ msgid "Thermal Transfer"
msgstr "ThermoTransfer"

msgid "Thermal Tr. with optimiser"
msgstr "ThermoTransfer mit opt."
msgstr "Thermotransfer mit Optim."

msgid "Direct Th. with optimiser"
msgstr "Thermodirekdruk mit opt"
msgstr "Thermodirekt mit Optimierung"

msgid "Orientation"
msgstr "Orientation"
msgstr "Orientierung"

msgid "Bottom Leading"
msgstr "Bottom Leading"
msgstr "Unterkante voraus"

msgid "Top Leading"
msgstr "Drehung um 180"
Expand All @@ -692,7 +692,7 @@ msgid "Mirror Print Bottom Leading"
msgstr "Spiegeln"

msgid "Printer Settings"
msgstr "Printer Settings"
msgstr "Druckereinstellungen"

msgid "Temperature"
msgstr "Temperatur"
Expand Down Expand Up @@ -773,16 +773,16 @@ msgid "152 mm/sec."
msgstr "152 mm/sec."

msgid "Print Mode"
msgstr "Print Mode"
msgstr "Druckmodus"

msgid "Batch"
msgstr "Batch"

msgid "Peel off Cell Active"
msgstr "Etikettenaßlösung Cell Active"
msgstr "Etikettenablösung Sensor aktiv"

msgid "Peel Off Cell Not Active"
msgstr "Etikettenaßlösung Cell Not Active"
msgstr "Etikettenablösung Sensor inaktiv"

msgid "Cutter"
msgstr "Messer"
Expand All @@ -791,7 +791,7 @@ msgid "General"
msgstr "General parameters"

msgid "Peel Off"
msgstr "Etikettenaßlösung"
msgstr "Etikettenablösung"

msgid "Cutter Option"
msgstr "Messer Option"
Expand Down Expand Up @@ -888,5 +888,5 @@ msgid "Reprint on Error"
msgstr "Reprint on Error"

msgid "Not used"
msgstr "F.F.U"
msgstr "Nicht verwendet"

2 changes: 1 addition & 1 deletion src/labelmedia.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@
#media "w576h360/8.00x5.00\"" 576 360
#media "w576h432/8.00x6.00\"" 576 432
#media "w576h468/8.00x6.50\"" 576 468

#media "w284h425/100mmx150mm" 284 425
2 changes: 1 addition & 1 deletion src/rastertotpcl.c
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ void TOPIXCompressOutputBuffer(ppd_file_t *ppd, /* PPD file */
/*
* Output the complete graphics line to STDOUT
*/
printf("{SG;0000,%04dD,%04d,%04d,%d,", CompLastLine, header->cupsBytesPerLine * 8, 300, Gmode);
printf("{SG;0000,%04d,%04d,%04d,%d,", CompLastLine, header->cupsBytesPerLine * 8, 300, Gmode);
fwrite(&belen, 2, 1, stdout); // Length of data
fwrite(CompBuffer, 1, len, stdout); // Data
printf("|}\n");
Expand Down
37 changes: 37 additions & 0 deletions src/tectpcl2.drv
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ MediaSize w288h288
MediaSize w288h432
MediaSize w288h468
MediaSize w288h936
MediaSize w284h425



Expand Down Expand Up @@ -363,6 +364,42 @@ Group "AdvancedSetting/Advanced Printer Settings"
*Choice "4/101 mm/sec." ""
Choice "8/203 mm/sec." ""
}

// Toshiba TEC B-482 printer
{
ModelName "B-482"
PCFileName "tecb482.ppd"
HWMargins 0 0 0 0
VariablePaperSize Yes
MinSize 72 23
MaxSize 295 4246
Resolution k 1 0 0 0 "203dpi/203 DPI"
*Resolution k 1 0 0 0 "300dpi/300 DPI"

Group "PrinterSettings/Printer Settings"
Option "tePrintRate/Print Speed" PickOne AnySetup 20
Choice "3/76 mm/sec." ""
Choice "4/102 mm/sec." ""
*Choice "5/127 mm/sec." ""
Choice "8/203 mm/sec." ""
}

// Toshiba TEC B-572 printer
{
ModelName "B-572"
PCFileName "tecb572.ppd"
HWMargins 0 0 0 0
VariablePaperSize Yes
MinSize 73 29
MaxSize 362 4246
Resolution k 1 0 0 0 "203dpi/203 DPI"
*Resolution k 1 0 0 0 "300dpi/300 DPI"
Group "PrinterSettings/Printer Settings"
Option "tePrintRate/Print Speed" PickOne AnySetup 20
Choice "3/76 mm/sec." ""
*Choice "5/127 mm/sec." ""
Choice "8/203 mm/sec." ""
}
} // End of B-SX Range


Expand Down