🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19550

Re: Scaling PDF Export -or- PS help

#19550
From: Shane Stanley
Date: Thu, 05 Dec 2002 21:48
33 lines
1917 bytes
in article 1de6e230.-1@WebX.la2eafNXanI, Darren Sullivan wrote:

> I can't seem to find how to scale when Exporting to PDF. Can it not be done?

No, it can't.

> If not, I'll just have the script print to PS and Distiller these (its rare
> when scaling is necessary so I don't mind). Anyway, I've found the dictionary
> items involving postscripting, but I can't seem to get the syntax right. Can
> someone give me the basic syntax to print an active doc to postscript?

set pathToDisk to path to startup disk as text
tell application "InDesign 2.0.2"
 tell document 1
  set docName to name
  tell print preferences
   -- set other properties � for example, active printer style
   set printer to postscript file
   set print file to (pathToDisk & docName & ".ps")
  end tell
  print without print dialog
 end tell
end tell

> Also, 
> if it is your opinion that Export to EPS would be even better than PS for
> these situations, please let me know.

Unfortunately the EPS export settings aren't scriptable at this point, so
it's not really a good choice.

-- 
Shane Stanley,  sstanley@myriad-com.com.au
Technical Details
Message-ID: <BA1614F7.46743%sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de6e230.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f939a,b9e0d0edb36b2f25
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-12-05 14:08:04 PST
From: Shane Stanley <sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Scaling PDF Export -or- PS help
Message-ID: <BA1614F7.46743%sstanley@myriad-com.com.au>
Date: Thu, 5 Dec 2002 13:48:56 -0800
References: <1de6e230.-1@WebX.la2eafNXanI>
Lines: 41
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit