• 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: Referencing the Print window in InDesign
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Referencing the Print window in InDesign


  • Subject: Re: Referencing the Print window in InDesign
  • From: Brett Conlon <email@hidden>
  • Date: Thu, 12 Jul 2007 12:14:04 +1100


Bugger, I knew I should have explained myself more in the first email. ;-D

Yeah, I've set all the print preferences but I see now from Bruce's reply how to access the print "properties" record - similar to how it's done in Quark. I tried and tried to find info on print properties on the web but couldn't find anything so I've set the print preferences the long way:

tell myDoc
                        tell print preferences of theDoc
                                set printer to "Adobe PDF"
                                set trapping to "off"
                                --GENERAL
                                set copies to 1
                                set page range to PagesQ
                                set print spreads to false
                                set sequence to all
                                set print nonprinting to false
                                set print blank pages to true
                                set print guides grids to false
                                --SETUP
                                set paper size to PaperSize
                                if PaperSize = "Custom" then
                                        set paper width to newWidth
                                        set paper height to newHeight
                                end if
                                set print page orientation to paperOrient
                                set scale proportional to true
                                set scale mode to ScaleMode
                                set scale height to 100
                                set page position to centered
                                set thumbnails to false
                                set tile to false
                                --MARKS & BLEED
                                set all printer marks to true
                                set bleed marks to false
                                set mark line weight to p25pt
                                set mark offset to "2.5mm"
                                set use document bleed to print to true
                                set include slug to print to false
                                --OUTPUT
                                set color output to SepsComp
                                set simulate overprint to SimOPrint
                                --GRAPHICS
                                set send image data to all image data
                                set font downloading to complete
                                set PostScript level to level 3
                                --COLOR MANAGEMENT
                                set source space to use document
                                --ADVANCED
                                set flattener preset name to "[Medium Resolution]"
                                set OPI image replacement to false
                        end tell
                end tell

Admittedly it looks a little cleaner one line each preference but I'll probably go with Bruce's option.

What I'm trying to achieve with activating the Print window is to then activate Apple's Print window (by pressing the "Printer..." button) so I can set the PDF Options menu to the correct Distiller setting. We have a specific setting for our Pre-Press dept. I have set it up like this (printing to PDF) so the PDF will include the page's crop marks & file name/date.

But, you know, I've just had a look in InDesign's Export to PDF window and have just noticed that there are marks settings in there too - this is great! Our studio is in the process of moving over from Quark so InD is a little newish to me.

So, for now I won't need to access Apple's Print window for creating PDF files. However, when I update my Xerox Splash RIP script to include InDesign I will have the same need - to access Apple's Print window so that I can change the presets depending on what is needed at the Splash RIP (eg. duplexing, thick stock, colour management etc.). So if anyone still knows how to reference InDesign's "Print" window, I'd still appreciate the advice.

I'm off to the InDesign dictionary to learn how to reference the Export to PDF preferences.  8-)

Thanks Shane & Bruce for making me think this through a little harder for a better PDF solution!

Cheers,

Cojcolds



Shane Stanley <email@hidden>
Sent by: applescript-users-bounces+brett.conlon=email@hidden

11/07/07 05:56 PM

To
AS users <email@hidden>
cc
Subject
Re: Referencing the Print window in InDesign





On 11/7/07 5:39 PM, "Brett Conlon" <email@hidden> wrote:

> I'm having trouble referencing the "Print" window of InDesign.

And I'm having trouble understanding why you'd want to. Is there something
you can't get at directly via scripting, without recourse to the interface?

--
Shane Stanley <email@hidden>
<http://scriptingmatters.com/aspro>


_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Referencing the Print window in InDesign (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: questions for scripting apple mail
  • Next by Date: Getting InDesign Print preferences
  • Previous by thread: Re: Referencing the Print window in InDesign
  • Next by thread: Re: Referencing the Print window in InDesign
  • Index(es):
    • Date
    • Thread