On Tue, Feb 25, 2014 at 10:03:27AM +0100, Andr?? St??be wrote:
> Josh Grosse wrote:
> > I haven't found that the -J option works for me.  OTOH, the foomatic-rip -o
> > operand does work with print options when printing directly.
> 
> Are you sure? I've used this in conjunction with the options defined in
> the PPD file.
> 
> Try "foomatic-ppd-options
> /etc/foomatic/hp-lj_300_400_color_m351_m451-ps.ppd"
> and see if you can pass any of these options.

I'm sure.  Here's an example:

$ foomatic-rip -o InputSlot=Tray1_Man myfile.ps

The printer prompts for media to be manually loaded in Tray 1

$ lpr -J InputSlot=Tray1_Man myfile.ps

The printer prints from Tray 2 immediately.

Reply via email to