• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Printing PS from InDesign
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing PS from InDesign


  • Subject: Re: Printing PS from InDesign
  • From: Shane Stanley <email@hidden>
  • Date: Sun, 26 May 2002 19:42:47 -0700

On 26/5/02 6:51 PM +1000, webguide, email@hidden, wrote:

> Just loaded InDesign 2 and want to try generating .ps files with a
> pre-defined Printer Style. I'm finding the dictionary a little confusing
> and the archives don't reveal anything on the subject.
>
> Can someone (Shane?) enlighten me on the syntax for printing a .ps file from
> ID2?

There are a couple of glitches at the moment. The default style has a
problem with its name, so is best addressed by index. There's also a problem
with styles generated via script; basically, the best advice is to use only
manually created styles.

Presuming you have a printer style called PostScript 2, you could use this:

tell application "InDesign 2.0.1"
tell document 1
tell print preferences
set active printer style to "PostScript 2"
set print file to "Macintosh HD:Doc2.ps"
end tell
print without print dialog
end tell
end tell

or something like this, if you wanted the settings to live on with the
document:

tell application "InDesign 2.0.1"
set theProps to properties of printer style "PostScript 2"
set theProps to {print file:"Macintosh HD:Doc3.ps"} & theProps
tell document 1
set properties of print preferences to theProps
print without print dialog
end tell
end tell

--
Shane Stanley, email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Printing PS from InDesign (From: webguide <email@hidden>)

  • Prev by Date: Printing PS from InDesign
  • Next by Date: clip2gif + choose in a determined folder
  • Previous by thread: Printing PS from InDesign
  • Next by thread: Re: Saving lists of records to a text file
  • Index(es):
    • Date
    • Thread