Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Considering that there is no iWork installed and there is no "Preview.pdf" in the pages file package, how do I:

convert the pages document to PDF from command line?

I can open the pages document using Preview from command line using this command: "open -a Preview somedocument.pages"

But I don't know how to print that pages document to pdf from command line. I need to do it from command line not from the Preview GUI.

Many thanks before

share|improve this question

migrated from stackoverflow.com Mar 6 '13 at 1:50

This question came from our site for professional and enthusiast programmers.

    
Maybe you can follow the answerds to this question: superuser.com/questions/229418/… – bdecaf Nov 18 '13 at 12:23

I don't believe Preview.app supports a variety of command line arguments; there is probably no way to do this directly from the command line.

You would likely be able to accomplish something along these lines via Automator, though.

share|improve this answer

You must log in to answer this question.