Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
Loading items

Target

Select target project
  • infra/ansible-shared/supplemental
  • mika/supplemental
2 results
Select Git revision
Loading items
Show changes

Commits on Source 2

...@@ -25,7 +25,7 @@ parser.add_argument("--landscape", action="store_true", help="Im Querformat druc ...@@ -25,7 +25,7 @@ parser.add_argument("--landscape", action="store_true", help="Im Querformat druc
group = parser.add_mutually_exclusive_group() group = parser.add_mutually_exclusive_group()
group.add_argument("--fitplot", action="store_true", help="Datei auf Seitengröße skalieren.") group.add_argument("--fitplot", action="store_true", help="Datei auf Seitengröße skalieren.")
group.add_argument("--scaling", type=int, help="Datei auf n Prozent der Seite skalieren.") group.add_argument("--scaling", type=int, help="Datei auf n Prozent der Seite skalieren.")
parser.add_argument("--staple", choices=['None', 'Center', 'Front', 'Rear', 'UpperLeft', 'LowerLeft'], help="Tackern. (Karman-only)") parser.add_argument("--staple", choices=['top-left', 'bottom-left', 'top-right', 'bottom-right', 'dual-left', 'dual-top', 'dual-right', 'dual-bottom'], help="Tackern. Geht aktuell nur für eine Kopie der Datei. Bei mehr Kopien werden alle Seiten aller Kopien zusammegetackert. (Karman-only)")
parser.add_argument("--punch", choices=['None', '2Hole', '2HoleEUR', '3Hole', '4Hole', '2', '3', '4'], default=None, help="Lochen. (Karman-only)") parser.add_argument("--punch", choices=['None', '2Hole', '2HoleEUR', '3Hole', '4Hole', '2', '3', '4'], default=None, help="Lochen. (Karman-only)")
parser.add_argument("--pages-per-page", choices=['1', '2', '4', '6', '9', '16'], default='1', help="Drucke n Seiten auf eine echte Seite. (default: %(default)s)") parser.add_argument("--pages-per-page", choices=['1', '2', '4', '6', '9', '16'], default='1', help="Drucke n Seiten auf eine echte Seite. (default: %(default)s)")
parser.add_argument("--media-type", choices=['Auto', 'Highqlty', 'Prepunched', 'Transparency', 'Bond', 'Labels', 'PrnDef', 'Cardstock', 'Letterhead', 'Recycled', 'Color', 'Plain', 'Rough', 'Envelope', 'Preprinted', 'Thick', 'Vellum'], help="Wähle das eingelegte Druckerpapier aus.") parser.add_argument("--media-type", choices=['Auto', 'Highqlty', 'Prepunched', 'Transparency', 'Bond', 'Labels', 'PrnDef', 'Cardstock', 'Letterhead', 'Recycled', 'Color', 'Plain', 'Rough', 'Envelope', 'Preprinted', 'Thick', 'Vellum'], help="Wähle das eingelegte Druckerpapier aus.")
...@@ -84,12 +84,8 @@ if args.staple: ...@@ -84,12 +84,8 @@ if args.staple:
command += ["-P", "Kopierer"] command += ["-P", "Kopierer"]
args.karman = True args.karman = True
if args.karman: if args.karman:
if args.staple == "UpperLeft":
args.staple = "Rear"
elif args.staple == "LowerLeft":
args.staple = "Front"
if args.staple: if args.staple:
command += ["-o", "Stpl="+args.staple] command += ["-o", "StapleLocation=staple-"+args.staple]
args.output_bin = "FDStackerA" args.output_bin = "FDStackerA"
if args.punch: if args.punch:
if args.hoern:# or args.other: if args.hoern:# or args.other:
......