Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Works for individual printers, too!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Works for individual printers, too!
Authored by: rhowell on Apr 12, '05 10:26:14AM
Interestingly, this command works too:
open -a ~/Library/Printers/<some printer> <somefile>
This would allow finer control over where the document gets sent, if you have multiple printers.

[ Reply to This | # ]
enscript
Authored by: Daverz on Apr 12, '05 08:24:56PM
I use enscript, which is in /usr/bin, so I assume it's standard on OS X. I have this in my ~/.profile
alias print='enscript -2rG -DDuplex:true -DTumble:true'
That will print 2 pages per side in landscape mode with a gaudy header and with the sides matching up along the long edge. This uses the default printer. You can specify a printer with the -P switch just like lpr.
man enscript


[ Reply to This | # ]