🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #476

Re: JS: CS4 print active document

#476
From: John_Kallios
Date: Mon, 23 Mar 2009 02:54
16 lines
1158 bytes
Yes, it is a big help to the "uninitiated". :)

I am having another problem

My preset is named

ps

myPreset = app.printerPresets.item("ps");
app.activeDocument.print(false, myPreset);

If I turn it to true, it does launch the print window. If false, no print is created. When set to true and the print window opens, the preset is not set to "ps"

However, I have CS2 at home and CS4 out work. I will spend more time tomorrow trying to figure out my failing.

You have been a big help. Thank you!
Technical Details
Message-ID: <59b860c2.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news.astraweb.com!border5.newsrouter.astraweb.com!newshub.sdsu.edu!webcrossing
References: <59b860c2.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,b00375fe3369de3e
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: John_Kallios@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news.astraweb.com!border5.newsrouter.astraweb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: JS: CS4 print active document
Message-ID: <59b860c2.1@webcrossing.la2eafNXanI>
Date: Sun, 22 Mar 2009 19:54:43 -0700
References: <59b860c2.-1@webcrossing.la2eafNXanI>
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit