On Friday 09 May 2008, David A. Desrosiers wrote: > On Thu, May 8, 2008 at 11:57 PM, Tom <tmst08 at gmail.com> wrote: > >> The command I want is > >> lpr -o PrintoutMode=Standard #ps2pdf - - | > > > > This got lost in traffic, I guess. > > Not lost, it's likely nobody has the answer you seek. > > > Anyone know how to specify options to lpr? > > Can't you just pass the options to lpr, using the input dialog? > > I suspect the command you're trying above, is not syntactically > correct. Test it on the CLI first, make it work the way you want, then > copy that into J-Pilot and tweak accordingly. > > There was some discussion on this 2 years ago. Follow these threads: > > http://www.jpilot.org/pipermail/jpilot/2006-March/005999.html > http://www.jpilot.org/pipermail/jpilot/2006-March/006007.html > > Good luck! > Thanks, David. The previous threads revealed nothing new. Printing is complicated. But the following works on my system, for reasons I cannot determine from examing the output of the 'lpoptions -l' command, looking for PPD files or anything else. Somehow I once determined the "PrintoutMode" option as being the magic word, though lpoptions lists the current magic word as "StpQuality", which has no effect, while the following works: lpr -PrintoutMode=[None *FastEconomy Economy Draft Standard High Photo Best] I have an Epson Stylus Color 880. While I can't tell you how I got "PrintoutMode" as the correct option, the acceptable values (draft, etc) at least are available from the 'loptions -l' command. In summary, the "#ps2pdf - - |", while it works, is not necessary here, and even prevented the options to lpr from having any effect. -Tom
More information about the jpilot mailing list