🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9402

AS, CS2 -- PDF Export Preferences

#9402
From: Jonathan_Hodges
Date: Wed, 23 Aug 2006 14:51
75 lines
3731 bytes
Hi:

I've been using a script that ends off printing out a file using the PDF export preference for the Smallest File Size. Unfortunately, I'm having to alter the script because we're using an OPI server and I need to do some swap outs, so I'm trying to set the PDF Export Preferences as close to Smallest File Size as I can get. What I'm winding up with, however, is producing files twice as big as they use to be (I haven't even started dealing with the OPI issue -- this is just trying to replicate the Smallest File Size preset as a set of PDF export preferences).

Here's what's in my preferences at the moment. Can anyone see something that would account for the larger file sizes I'm seeing?

		tell PDF export preferences
			set page range to all pages
			set acrobat compatibility to acrobat 5
			set export guides and grids to false
			set export layers to false
			set export nonprinting objects to false
			set export reader spreads to false
			set generate thumbnails to false
			set optimize PDF to true
			try
				set ignore spread overrides to false
			end try
			set include bookmarks to false
			set include hyperlinks to false
			try
				set include ICC profiles to false
			end try



			set include structure to false
			set interactive elements to false
			set subset fonts below to 0

			set color bitmap compression to Automatic JPEG 2000
			set color bitmap quality to low
			set color bitmap sampling to bicubic downsample
			set color bitmap sampling DPI to 100
			set threshold to compress color to 150

			set grayscale bitmap compression to Automatic JPEG 2000
			set grayscale bitmap quality to low
			set grayscale bitmap sampling to bicubic downsample
			set grayscale bitmap sampling DPI to 150
			set threshold to compress gray to 225

			set monochrome bitmap compression to CCIT4
			set monochrome bitmap sampling to bicubic downsample
			set monochrome bitmap sampling DPI to 300
			set threshold to compress monochrome to 450

			--Other compression options.

set compression type to Compress None
			set compress text and line art to true
			set content to embed to Embed All
			set crop images to frames to true
			--Printers marks and prepress options.
			set bleed marks to false
			set color bars to false
			--Color tile size and gray tile size are not used
			--unless the compression method chosen is JPEG 2000.
			--set color tile size to 256
			--set Gray tile size to 256
			set crop marks to false
			set omit bitmaps to false
			set omit EPS to false
			set omit PDF to false
			set page information marks to false
			set page marks offset to "12 pt"
			set PDF color space to unchanged color space
			set PDF mark type to default
			set printer mark weight to p125pt
			set registration marks to false
			--simulate overprint is only available when the export standard is PDF/X-1a or PDF/X-3
			--set simulate overprint to false
			--Set viewPDF to true to open the PDF in Acrobat or Adobe Reader.
			set view PDF to false
		end tell
Technical Details
Message-ID: <3bc15db7.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,81567550aaa11956,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Jonathan_Hodges@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: AS, CS2 -- PDF Export Preferences
Message-ID: <3bc15db7.-1@webcrossing.la2eafNXanI>
Date: Wed, 23 Aug 2006 07:51:52 -0700
Lines: 83
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing