Creating Postscript file from Illustrator

Does any body know how create an appleScript which will print an illustrator file as a postscript file?

Don’t seem to find documantation anywhere on this subject
:?:

I’ve never really tried to get Adobe Illustrator to directly output a postscript file. However I use Illustrator all the time to create PDF’s. You should be able to use a PDF in place of a PS file for anything you need to do! However, if you absolutely must have a PS file then I would suggest using Acrobat to convert a PDF into a PostScript for you. You can “print” a PostScript file from Illustrator but this means that you have to commit to a specific printer description file and all of the traps that come with it. So I create a PDF from illustrator and then convert it to a PostScript file with Acrobat, using the following code.
[color=darkred]
tell application “Adobe Illustrator 10.0.3”
set pdf_options to {color compression:none, color downsampling:0, compatibility:Acrobat 4, compress art:false} & ¬
{embed all fonts:true, embed ICC profile:false, font subset threshold:70, generate thumbnails:false, grayscale compression:none} & ¬
{grayscale downsampling:0, monochrome compression:none, monochrome downsampling:0, preserve editability:true}

save document 1 in file save_location as pdf with options pdf_options with replacing
end tell

tell application “Acrobat 6.0 Professional”
set ps_options to {postScript level:2, binary:1, embedded fonts:1} & ¬
{annotation:0, halftone:0, images:1, preview:0, TrueType:0}

save document 1 to file save_location using PostScript Conversion with ps_options
end tell[/color]

I hope this helps! Creating the PDF from Illustrator should work as far back as Illustrator 7, but you will only be able to make a postscript in Acrobat version 6. Version 5 of Acrobat should be able to do this, but the scripting support is buggy and I have not been able to get it to work correctly. SO RUN OUT AND BUY ADOBE CREATIVE SUITE!

FYI, there’s a whole new Printing Suite in Illustrator CS that will let you do what you want (and more).

Shane Stanley