On 2018-04-27 01:07, don fisher wrote:
I again hope this is an easy one, but how does one select which tray paper comes from. If I put photo paper in one tray, and plain paper in the another, how does one tell the application which paper to use?
It depends on the printer. You can probably set a default tray, but you can also select the tray somewhere in print options each time you print something. I have never tried to do this from the command line, but looking at "man lpr" I see "-o option[=value]". You would then have to find the appropriate option and value pair. So use "lpoptions" to find out. Try "lpoptions -l". On mine I see: cer@Telcontar:~> lpoptions -l HPServicesWeb/Internet Services: *SupportAndTroubleshooting ProductManuals CheckForDriverUpdates OrderSupplies PageSize/Page Size: Letter Legal Executive w612h935 4x6 5x8 *A4 A5 A6 B5 w283h425 w553h765 w522h737 w558h774 Postcard DoublePostcard Env10 EnvMonarch EnvISOB5 EnvC5 EnvDL Custom.WIDTHxHEIGHT InputSlot/Paper Source: *Auto Tray1 Tray2 Tray1_Man ... and many more, but you already see a Tray in there. So let's try: cer@Telcontar:~> lpoptions -o InputSlot=Tray1 cer@Telcontar:~> lpoptions -l HPServicesWeb/Internet Services: *SupportAndTroubleshooting ProductManuals CheckForDriverUpdates OrderSupplies PageSize/Page Size: Letter Legal Executive w612h935 4x6 5x8 *A4 A5 A6 B5 w283h425 w553h765 w522h737 w558h774 Postcard DoublePostcard Env10 EnvMonarch EnvISOB5 EnvC5 EnvDL Custom.WIDTHxHEIGHT InputSlot/Paper Source: Auto *Tray1 Tray2 Tray1_Man ... See? Changed. So to print from tray 1 I would use: lpr -o InputSlot=Tray1 filetoprint -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)