CDR To EPS Batch
Up

Batch converting
CorelDRAW9 CDR or PostScript files
to EPS files


CorelDRAW®  v9 has exhibited problems in the past with scripted CDR to EPS conversions. As a result of working on solving this problem we have a script which can work around this. When we went to add the capability for processing EPS source files we found DRAW put another stumbling block in our path. We've fixed that problem as well. Now we've added the ability to process multiple forms of Postscript files (AI, EPS, PRN and PS)

This is the sixth  release (v0.6a) of this add-on. It is still in test, but this is a maintenance release. We found and fixed a flaw which did not affect the operation of the program.

It has been developed and tested only with Draw 9.439 (SP2 or Rev C)
NOTE: The previous version was shown not to work under NT - a bug was found and fixed. The new version does work under NT. It has been rewritten to be less of a CPU hog as well :)
It needs the service packs and will fail with earlier revisions.
(Full source code is provided for your edification and entertainment :)

What it does:

  • Allows you to choose a source folder (where it looks for CDR or AI, EPS, PRN or PS files) and a destination folder where it will put the EPS files. You can choose to process just the singe folder or the whole branch leading off of it.
  • The only CDR / PS files in the source folder(s) which are ignored are those beginning with the text "Backup_of_"
  • Progress and status indicators are provided as well as Pause/Resume and Abort controls.
  • You can choose to have the program skip processing source files where there is already an existing EPS file.
  • If you are processing a branch the destination folder does not have to contain the same folder structure as the source branch. The program will recreate the structure (in the destination) for any folders in which it finds usable files in the source.
  • At the end you are given results of # of files processed, # failed,  and # skipped.
  • Results are also saved in a report file in the destination folder.

If you had the previous (06a) release:

  • you can now run it under NT (bug was reported and fixed)
  • it is not as greedy with CPU cycles

If you had the previous (0.5a) release:

  • You can now process most forms of PostScript files (AI, EPS, PRN and PS)
  • It now employs a helper app with CDR files as well as PS files. This gets around potential hangs when the Font Matching window appears.

If you had the v0.4 release:

  • You can now process EPS files as well as CDR files. This has caused some extra controls to be added for EPS Import settings.
  • You can now add your own custom code into a specific routine and it will get to work on every file processed.
  • It now has a Help file.
  • It also contains extra code for manipulating normally unreachable User Interface windows and controls.

If you had the v0.3 release:

  • The restriction on source and destination not being the same has been lifted. Your EPS output files can now go back into the same branch your source files are in.
  • A bug was fixed. When the source branch had folders in the structure that did not contain any CDRs the make directory calls for any folders further along that branch would fail. This has been fixed.
    It will recreate as much of the branch as needed to reach any folder that will contain EPS output. Folders at the ends of the source branch which do not contain CDRs are not recreated in the destination branch.
  • In cases where the EPS output file was created but an error code was returned it is now reported after the "DONE" code. (You might want to double check these if you get any)

If you had the v0.2 release:

  • In this one you have to select the source and destination folders separately. You may change your mind (and the folder) anytime before you press Doit.
  • It can now drill down from a folder and get all the files in all the folders branching from it. It also recreates any needed folders in the destination, but only for ones which have CDRs in them in the source.
  • It now saves a report in the destination folder.

At this time there is no charge for this software, but we would like to know who's trying it out so  ... the link to it is through the form.

Please provide the following contact information:

Name *
Title
Organization
E-mail *
URL

Change Image
Enter the code shown in the image to the left
Rel 0.6b (Draw v9 ONLY ) (68K Zip file)
I would like receive update notifications by email

* - required fields
No information is provided to outside parties.
We do not sell our clients.


Author: Les Johnson
Copyright © 2000 Misty Creek Productions Inc. All rights reserved.
Revised: August 24, 2008

Reference links:

This script was created as an answer to a technical support question posed on Corel's technical support News Group server.

This is the news group: news://cnews.corel.ca/corelsupport.draw-script

This group and others on the same server are a valuable source of information. Get answers to questions, fixes for bugs and workarounds for problems.

And, of course, the company that provides the core engine of this is Corel®.
Corel, and CorelDRAW are registered trademarks of the Corel Corporation.