Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
lpr [2013/03/20 09:14] admin |
lpr [2024/11/02 09:54] (aktuell) admin |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== lpr ====== | ====== lpr ====== | ||
+ | |||
+ | *PDF an Papiergröße anpassen : lpr -o fitplot name.pdf | ||
+ | *Papierformat : -o media=A4 | ||
+ | *oberer Rand : -o page-top=72 (72 Punkte = 1 Zoll = 25.4 mm, 1 Punkt = 0.3528 mm) | ||
+ | *linker Rand : -o page-left=72 | ||
+ | *rechter Rand : -o page-right=72 | ||
+ | *unterer Rand : -o page-bottom=72 | ||
+ | *Zeilenumbruch : wrap=true | ||
+ | *#n : n Kopien | ||
+ | *2, 4 oder 8 Seiten auf eine Seite : number-up=n | ||
+ | *Querformat : landscape | ||
+ | *Skalieren : scaling=100 | ||
+ | *Nur spezielle Seiten drucken : o page-ranges=1-4,7,9-12 | ||
+ | *Bilder auf Seitengröße skalieren : -o fit-to-page -o fitplot | ||
*[[http://www.cups.org/documentation.php/options.html|Command-Line Printing and Options]] | *[[http://www.cups.org/documentation.php/options.html|Command-Line Printing and Options]] | ||
Zeile 17: | Zeile 31: | ||
- | *for i in * ; do lpr -PLaserJetCP1525n -o natural-scaling=120 $i ; done | + | *for i in * ; do lpr -PLaserJetCP1525n -o natural-scaling=120 $i ; done |
+ | |||
+ | *lpr -P HP_LaserJet_CP1525n_color -o PageSize=A4 -o PageRegion=A4 -o Duplex=None -o ColorModel=RGB -o MediaType=Plain -o OutputMode=Normal -o InputSlot=Manual -o OptionDuplex=False | ||
+ | |||
+ | *lpr -P HP_LaserJet_CP1525n_color -o PageSize=A4 -o PageRegion=A4 -o Duplex=DuplexNoTumble -o ColorModel=RGB -o MediaType=Plain -o OutputMode=Normal -o InputSlot=Manual -o OptionDuplex=False | ||
+ | |||
+ | *lpr -P HP_LaserJet_CP1525n_color -o PageSize=A4 -o PageRegion=A4 -o Duplex=DuplexTumble -o ColorModel=RGB -o MediaType=Plain -o OutputMode=Normal -o InputSlot=Manual -o OptionDuplex=False | ||
+ | |||
+ | *lpr -PHP_LaserJet_CP1525N -o page-ranges=26,28,30,32,34,36,38,40,42 datei.pdf | ||
+ | |||