🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20938

Re: Printing Postscript from script

#20938
From: S�ren Rehn�
Date: Mon, 20 May 2002 01:02
9 lines
1242 bytes
Hi again! 

I think i got SOMETHING to work. Whether it's perfect or not ... well... here it is: 

copy "sretestprint" to myStyle 

tell application "InDesign 2.0" 	copy {} & printer styles to mylist 	repeat with aItem in mylist 		if (name of aItem) is myStyle then 			tell aItem 				set print file of it to "SRE USER HD:sre.ps" 			end tell 		end if 	end repeat 	print document 1 using myStyle without print dialog end tell 

Kind regards S�ren Rehn�
Technical Details
Message-ID: <ef88bae.2@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!news.tele.dk!small.news.tele.dk!194.213.69.151!news.algonet.se!algonet!news000.worldonline.se!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef88bae.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f939a,aa22258446d4b9e2
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-05-19 18:37:58 PST
From: "S�ren Rehn�" <sre@knowbody.dk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!news.tele.dk!small.news.tele.dk!194.213.69.151!news.algonet.se!algonet!news000.worldonline.se!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Printing Postscript from script
Message-ID: <ef88bae.2@WebX.aaQKaf7vad4>
Date: Sun, 19 May 2002 18:02:50 -0700
References: <ef88bae.-1@WebX.aaQKaf7vad4>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit