Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Txt8888

macrumors newbie
Original poster
Dec 22, 2014
1
0
hello all,

I am new here and not quite sure if this same question was asked previous but I could not find the similar thread here.

I am pretty much spend most of my time on the "Terminal" on Mac. I want to find out if there is a way to use lp (or lpr) to print a file to my printer but with option to specify which tray (my printer has 2 trays. Manual, and the regular tray) the paper is from.

here are some of the info:

1/
Code:
lpoptions -l
Code:
ColorModel/Color Mode: *Gray
cupsPrintQuality/Quality: *Normal
Duplex/2-Sided Printing: *None DuplexNoTumble DuplexTumble
PageSize/Media Size: 3x5 A4 A5 A6 B5 Env10 EnvC5 EnvChou3 EnvDL EnvMonarch EnvYou4 Executive FanFoldGermanLegal ISOB5 ISOB6 Legal *Letter Postcard Custom.WIDTHxHEIGHT
MediaType/MediaType: stationery stationery-lightweight stationery-heavyweight stationery-bond envelope labels *any
InputSlot/Media Source: auto by-pass-tray manual tray-1

2/ I set the Media Source by:
Code:
lpoption -o media=manual
and the result with
Code:
lpoptions -l
is:
Code:
ColorModel/Color Mode: *Gray
cupsPrintQuality/Quality: *Normal
Duplex/2-Sided Printing: *None DuplexNoTumble DuplexTumble
PageSize/Media Size: 3x5 A4 A5 A6 B5 Env10 EnvC5 EnvChou3 EnvDL EnvMonarch EnvYou4 Executive FanFoldGermanLegal ISOB5 ISOB6 Legal *Letter Postcard Custom.WIDTHxHEIGHT
MediaType/MediaType: stationery stationery-lightweight stationery-heavyweight stationery-bond envelope labels *any
InputSlot/Media Source: auto by-pass-tray *manual tray-1

3/ but when I use
Code:
lp myfile.pdf
, it prints without using the paper at the manual paper feed.

4/ I try
Code:
lp -o media=manual myfile.pdf
and result is the same thing, not print to the paper from the manaul feed.

Did I use the wrong option(s) or something else?

Any suggestion will greatly appreciate it. Thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.