Pdf print to file for mac

broken image
broken image

I tried using osascript = AppleScript = which works but is spotty - it does not always trigger. I have tried the usual MS Office equivalent (OpenOffice and LibreOffice) which both work but the generated PDF layout is so far from that generated by Word that it is shamefully unacceptable. I have tried OPEN which OPENS MS Word but I see no 'print' option for open.

broken image

I have tried lpr, which only appears to work with straight text files. Perfect! Now what is the BASH command equivalent of that? docx file to select and then select print from the file menu it opens MS Word (2011 is installed) and prints the file to the spool (via CUPS) in PDF format. The background is this is on Snow Leopard Server with CUPS-PDF as the default printer. I have an application need to print a MS Word.