Printer specific options command line

Yoni Millen yoni.millen at gmail.com
Fri May 7 02:22:35 PDT 2010


I want to print via command line to a network-printer.
But I have to change some printer-specific options, like the tray, when I print.
The general options aren't hard to set (-o media=A4, ...) but I don't know how I can set the printer-specific options via command line?


Below are the outputs of lpoptions en lpoptions -l.



beheerder at server-PSSD-ubuntu:~$ lpoptions -p RICOH_Aficio_MP_9000 -l

Option2LargeCapacityTray/Large Capacity Tray: *False True
Option3Tray7/Tray 7: *False True
Option100MultiholePunchUnit/Multi-hole Punch Unit: *False True
Option50Zfoldingunit/Z-folding unit: *False True
Option32OutputOption/Output Option: *None Karun Plockmatic
Option30FinisherSR5000/Finisher SR5000: *True False
ColorModel/Color Mode: *Grayscale
Resolution/Resolution: *600dpi 1200dpi
PageSize/PageSize: A3 A4 A5 11x17 Legal *Letter
InputSlot/InputSlot: 1Tray 2Tray 3Tray 4Tray 5Tray 6Tray 7Tray *Auto
Duplex/Duplex: *None DuplexNoTumble DuplexTumble
MediaType/Paper Type: *Auto Plain Recycled Special Translucent Color1 Color2 Thick Letterhead Preprinted Prepunched Bond Cardstock Labels OHP Index Yellow Green Blue Purple Ivory Orange Pink Red Gray
OutputBin/Destination: *Default FinProof FinShift PlockmaticTray FinBooklet
RIZfold/Z-fold: *None Bottom Right Left
StapleLocation/Staple: *None UpperLeft UpperRight LeftW RightW UpperW CenterW
RIPunch/Punch: *None LeftJP2 LeftUS2 LeftUS3 LeftEU4 LeftNEU4 RightJP2 RightUS2 RightUS3 RightEU4 RightNEU4 UpperJP2 UpperUS2 UpperUS3 UpperEU4 UpperNEU4
RIPrintMode/Toner Saving: *0rhit 5rhit
JobType/JobType: *Normal SamplePrint LockedPrint DocServer
Password/Locked Print or Doc Server Password (4-8 digits): *None 4001 4002 4003 Custom.PASSCODE
UserCode/User Code (up to 8 digits): *None 1001 1002 1003 Custom.PASSCODE



beheerder at server-PSSD-ubuntu:~$ lpoptions -p RICOH_Aficio_MP_9000

auth-info-required=none copies=1 device-uri=socket://192.168.0.151 finishings=3 job-hold-until=no-hold job-priority=50 job-sheets=none,none marker-change-time=1273221799 marker-colors=#000000,#000000 marker-levels=-1,-1 marker-names='Toner,Verbruikte\ toner' marker-types=toner,wasteToner media=na_letter_8.5x11in number-up=1 printer-commands=AutoConfigure,Clean,PrintSelfTestPage printer-info='RICOH Aficio MP 9000' printer-is-accepting-jobs=true printer-is-shared=false printer-location=Drukkerij printer-make-and-model='Ricoh Aficio MP 9000 PXL' printer-state=3 printer-state-change-time=1273221799 printer-state-reasons=none printer-type=10498100 printer-uri-supported=ipp://localhost:631/printers/RICOH_Aficio_MP_9000 sides=one-sided





More information about the cups mailing list