Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.