Scripting AppleWorks to print to PDF?

I have a large number of old AppleWorks docs and want to convert them to PDF before Lion comes. I wrote a script to find all AppleWork docs and to open the print dialog, but I found nothing to automate the process of printing to PDF. Do I really need to click the button for PDF printing, select the destination folder and to adapt the name of the PDF file manually? I have a lot of AppleWork docs!


Any idea?

Posted on Jun 5, 2011 2:13 PM

Reply
10 replies

Jun 6, 2011 6:36 AM in response to TomRadfahrer

Freeware CUPS-PDF is what you want for this sort of batch conversion:


https://bitbucket.org/codepoet/cups-pdf-for-mac-os-x/wiki/Home


After following the installation instructions, make an alias to the printer definition at ~yourusername/Library/Printers/CUPS-PDF and then put that alias on the Desktop or wherever it's convenient.


Next, drag and drop all AW docs you want to convert to the alias. Make a cup of coffee as it processes. By default, the new PDFs will be placed in the ~Users/Shared/CUPS-PDF/yourusername folder.


Incidentally, although AW won't run under Lion, I'd still expect to be able to open old AW docs with, for instance, Pages, when Lion arrives. Lion won't kill the docs even if it does kill off the AW application that first created them.

Jun 6, 2011 8:29 AM in response to mns579

Hi mns579,

this is an interesting approach. The advantage would be, that I do not have to handle all those printer dialogs. The drawback is, that I have to move back every PDF file into the folder where the source file is located.


I decided to do it the other way round: My script searches all .cwk docs, opens them, let me do the printing dialog and copies the PDF result back to the folder where the source was in.


Regarding Pages there is a problem: Pages does open Appleworks documents only that are pure text documents. As soon as graphics is inside it cannot open the Appleworks doc. Lion will kill the docs!

Jun 6, 2011 9:22 AM in response to TomRadfahrer

TomRadfahrer wrote:

Regarding Pages there is a problem: Pages does open Appleworks documents only that are pure text documents. As soon as graphics is inside it cannot open the Appleworks doc. Lion will kill the docs!

That is not true! Pages opens AW documents with graphics. It has to be a word processing document though and saved in AW version 6. If they are saved in earlier versions Pages can't open them.


Draw and probably pict documents open in the Eazy Draw application. Spread sheets in Numbers and presentations in Key note

Jun 6, 2011 12:24 PM in response to TomRadfahrer

TomRadfahrer wrote:


Hi mns579,

this (using drag and drop with the freeware CUPS-PDF application) is an interesting approach. The advantage would be, that I do not have to handle all those printer dialogs. The drawback is, that I have to move back every PDF file into the folder where the source file is located.

So do them in folder by folder batches.


Open a Finder window, navigate to and open the destination folder used by CUPS-PDF.


Open a second Finder window, navigate to the folder containing AW files to be converted.

Select all the files to be converted, drag to the CUPS-PDF application icon, drop.

When the converted files appear in the destination folder, select them and drag to the (open) folder whence they came.

Repeat for the next folder.


Regards,

Barry

Jun 6, 2011 12:43 PM in response to fruhulda

Maybe there is an additional problem if the docs would have been saved with an older version of AppleWorks (e.g. ClarisWorks). But even with docs saved with the "newest" version of AppleWorks the problem still exists and Pages cannot open many docs.


AppleWorks has three different document types, which are text, graphics and spreadsheet. Pages can open text with embedded graphics, but it cannot open graphics with embedded text. So it depends on your use pattern of AppleWorks a long time ago. Very often I created a blank graphics and added text boxes and graphical elements. These docs cannot be open with Pages, so don't rely on Pages in Lion.


I just learned that we have time until July to solve the problem. My personal solution is to convert the old docs to PDF and install Lion after that. For new docs I will use Pages, of course.

Nov 6, 2011 11:34 AM in response to TomRadfahrer

"My script searches all .cwk docs, opens them, let me do the printing dialog and copies the PDF result back to the folder where the source was in."


Gosh, that is exactly what I want to do with Clarisworks 2 files going all the way to Appleworks 5 or wherever it was that Pages took over.


Please please someone MUST be clever enough to make an automator script to allow this, so that the many hundreds of CWK files I have can at least be archived digitally and not lost to posterity!!!


I will pay good money for such a script if it works. Then I can move the Macpro and Macbook Pro to Lion when I want to without losing documents. Contact me if you have an answer gjltd@mac.com


Gareth Johnson

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Scripting AppleWorks to print to PDF?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.