RE: InDesign CS2 printing issue
RE: InDesign CS2 printing issue
- Subject: RE: InDesign CS2 printing issue
- From: Rick Gordon <email@hidden>
- Date: Fri, 21 Aug 2009 14:19:24 -0700
Title: RE: InDesign CS2 printing
issue
Does the same situation occur if you revise the script to export
PDFs directly to the preset? I don't believe at this point in time,
that exporting PostScriipt to Distiller offers any real advantage
unless you're using some explicit parameters that aren't supported in
the PDF export interface. And there is the decided disadvantage that
more advanced PDF inclusions such as transparency are lost, even if
you ultimately distill to a newer PDF version.
As another (perhaps unlikely) possibility, is there any chance
that the pertinent inline graphics are attached to some element on one
of the layers hidden by the script, with the corollary that that layer
might not have been hidden when printing manually?
Rick Gordon
------------------
On 8/21/09 at 3:26 PM -0500, Debbie Perotta wrote in a message
entitled
"InDesign CS2 printing issue":
Below is an
AppleScript that we have been using for several years that goes
through a whole folder and prints each file.
We are currently using InDesign CS2, mostly on MAC OS X 10.4.9.
To create press-ready PDFs we send the .ps files generated by InDesign
to Acrobat Distiller.
Just this week we have had an issue that when we use the script,
random in-line graphics drop out of the PDF. When we process the same
files using the same print preset, but open each manually and print
without the use of the script, these in-line graphics are in the PDF.
The InDesign files are very large, some 60 pages of 3 columns in 8 pt
type.
Have you heard of this issue with printing using AppleScript
before?
Any insight you can give me will help tremendously.
set
x to 1
tell
application "Finder"
--set fileName to choose folder with prompt ¬
--
"Select folder to output
to"
set
myFolder to choose folder with prompt ¬
"Select folder to process"
set
myFiles to every file
of myFolder
repeat with
x in
myFiles
set
file_type to the (the creator
type of x)
--display dialog file_type
if ((the creator
type of x) = "InDn") then
-- open x
set
fileName to the name
of x
as string
set
oldDelim to AppleScript's text item
delimiters
set
AppleScript's text item
delimiters to
"."
set
fileName to text item 1
of fileName
-- display dialog fileName
set
AppleScript's text item
delimiters to oldDelim
tell
application "Adobe InDesign CS2"
open x
set
myDoc to active document
tell print
preferences of myDoc
set page
range to all pages
set print
spreads to false
set print master
pages to false
end
tell
--
change to correct target folder
set
printFile to
("Mesa_Volume:MakePDF_Folder:ELS_PressReady:In:" & fileName & ".ps") as string
--
change to correct print preset
set
myPreset to printer preset "Buck Final PDF"
tell myPreset
set print
file to printFile
end
tell
tell myDoc
-- the following will hide the layers IDLayer and proof
slug--dp June 11, 2008
if exists
layer "IDLayer" then
--display dialog "layer IDLayer
exists"
set
IDLayer to layer "IDLayer"
set
properties of IDLayer to
{visible:false}
end if
if exists
layer "proof slug" then
--display dialog "layer proof slug
exists"
set
proofSlug to layer "proof slug"
set
properties of proofSlug
to {visible:false}
end if
if exists
layer "Figure Mention Layer"
then
--display dialog "layer proof slug
exists"
set
figMentionLayer to layer "Figure Mention
Layer"
set
properties of figMentionLayer
to {visible:false}
end if
delay 2
with timeout of 12000 seconds
print using
myPreset without print dialog
end timeout
delay 2
with timeout of 600 seconds
close
myDoc saving no
end timeout
end tell
end tell
delay 2
end if
end repeat
end tell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list
(email@hidden)
Help/Unsubscribe/Update your Subscription:
>gordon.com
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
--
___________________________________________________
RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________________
WWW: http://www.shelterpub.com
_______________________________________________
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