如何使用 Berkely lpr 进行双面打印? (欢迎其他 lpd 建议)它没有单工/双面模式选项,但我猜,他们当时能够以某种方式打印双面。
答案1
我相信你可以使用这个命令来做到这一点:
$ lpr -o duplex
您可以使用以下命令查询打印机的功能集lpoptions
:
$ lpoptions -l
OptionTrays/Number of Input Trays: 1Trays *2Trays
PageSize/Media Size: *Letter Legal Executive A4 A5 A6 Env10 EnvMonarch EnvDL EnvC5 EnvISOB5 EnvISOB6
PageRegion/PageRegion: Letter Legal Executive A4 A5 A6 Env10 EnvMonarch EnvDL EnvC5 EnvISOB5 EnvISOB6
BrMediaType/BrMediaType: *PLAIN THIN THICK THICKERPAPER2 BOND TRANSPARENCIES ENV ENVTHICK ENVTHIN
InputSlot/InputSlot: MPTRAY TRAY1 TRAY2 *AUTO
Duplex/Duplex: DuplexTumble *DuplexNoTumble None
Resolution/Resolution: 300dpi *600dpi 2400x600dpi 1200dpi
TonerSaveMode/Toner Save: *Off On
Sleep/Sleep Time [Min.]: *PrinterDefault 2minutes 10minutes 30minutes
更多示例
您可以使用开关和开关-h
来查询特定主机上的特定打印机。loptions
-p
- 服务器:打印
- 打印机:mfc-8480dn
例子
基本选项
$ lpoptions -h print -p mfc-8480dn
media=Letter sides=two-sided-long-edge finishings=3 copies=1 job-hold-until=no-hold job-priority=50 number-up=1 auth-info-required=none job-sheets=none,none printer-info='Brother MFC-8480DN Laser' printer-is-accepting-jobs=1 printer-is-shared=1 printer-location='downstairs office' printer-make-and-model='Brother MFC8480DN for CUPS' printer-state=3 printer-state-change-time=1379656065 printer-state-reasons=other printer-type=135188 scaling=100
打印机特定选项
$ lpoptions -h print -p mfc-8480dn -l
OptionTrays/Number of Input Trays: 1Trays *2Trays
PageSize/Media Size: *Letter Legal Executive A4 A5 A6 Env10 EnvMonarch EnvDL EnvC5 EnvISOB5 EnvISOB6
PageRegion/PageRegion: Letter Legal Executive A4 A5 A6 Env10 EnvMonarch EnvDL EnvC5 EnvISOB5 EnvISOB6
BrMediaType/BrMediaType: *PLAIN THIN THICK THICKERPAPER2 BOND TRANSPARENCIES ENV ENVTHICK ENVTHIN
InputSlot/InputSlot: MPTRAY TRAY1 TRAY2 *AUTO
Duplex/Duplex: DuplexTumble *DuplexNoTumble None
Resolution/Resolution: 300dpi *600dpi 2400x600dpi 1200dpi
TonerSaveMode/Toner Save: *Off On
Sleep/Sleep Time [Min.]: *PrinterDefault 2minutes 10minutes 30minutes