Print from the command line via Print Center

Feb 08, '05 09:27:00AM

Contributed by: MacJaC

You can print from the command line using the Print Center's default printer like this:

open -a Print\ Center /path/to/file_to_print.pdf
[rob adds: We've covered printing from the command line via lpr a number of times, but I don't think we've talked about printing via the Print Center from the command line. This works just like lpr /path/to/file_to_print.pdf, but you'll see the Print Center open, showing the spooling status of the job (assuming you're local to the Mac in question, of course!).]

Comments (2)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20050204182730169