Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Convert PDF to low res PDF

Is there a way to take a PDF that is 300dpi and convert it to 150 or 72dpi?

Posted on Feb 25, 2010 2:42 PM

Reply
14 replies

Feb 26, 2010 9:01 AM in response to BenChase

Using sips works for single page pdfs. The usage would be as follows:

*sips -s format pdf -s dpiHeight 72 -s dpiWidth 72 -s formatOptions low /path/to/pdf.pdf --out /path/to/converted/pdf.pdf*

The formatOptions may be low, normal, high, best or a %. There are many different ways to adapt this to AppleScript using "*do shell script*".

Feb 26, 2010 9:30 AM in response to Chachi

Thanks.

This is what I tried...

do shell script "sips -s format pdf -s dpiHeight 72 -s dpiWidth 72 -s formatOptions low Macintosh HD/Users/mkt/Desktop/HR PDF's/A22 351-00-7385 0310.pdf --out Macintosh HD/Users/mkt/Desktop/PA Folder/test.pdf"

This is what I got...

error "sh: -c: line 0: unexpected EOF while looking for matching `''
sh: -c: line 1: syntax error: unexpected end of file" number 2

Feb 26, 2010 9:49 AM in response to BenChase

The apostrophe in your "HR PDF's" folder name is throwing things off as well as the spaces and unnecessary "Macintosh HD". Try this instead:
<pre style="width:630px;height:auto;overflow-x:auto;overflow-y:hidden;"
title="Copy this text and paste it into your Script Editor application.">

set inFile to quoted form of "/Users/mkt/Desktop/HR PDF's/A22 351-00-7385 0310.pdf"
set outFile to quoted form of "/Users/mkt/Desktop/PA Folder/test.pdf"
do shell script "sips -s format pdf -s dpiHeight 12 -s dpiWidth 12 -s formatOptions low " & ¬
inFile & " --out " & outFile

</pre>
Hope this helps...

Feb 27, 2010 6:28 AM in response to BenChase

You can adjust the size using " -Z":
<pre style="width:630px;height:auto;overflow-x:auto;overflow-y:hidden;" title="Copy this text and paste it into your Script Editor application.">

set inFile to quoted form of "/Users/mkt/Desktop/HR PDF's/A22 351-00-7385 0310.pdf"
set outFile to quoted form of "/Users/mkt/Desktop/PA Folder/test.pdf"
do shell script "sips -s format pdf -s dpiHeight 12 -s dpiWidth 12 -s formatOptions low -Z 800 " & ¬
inFile & " --out " & outFile

</pre>

Mar 1, 2010 11:26 AM in response to handellphp

Handellphp, what do you mean by AI? Also is Acrobat Pro 9 the only version that you can for sure do that in? I'd prefer to use Acrobat Pro too but can't find a way to script it in either v7 or 8.

Chachi, Thanks, that works but it very difficult to get the page size to be exactly what it was before and really degrades the quality.

Mar 2, 2010 11:02 AM in response to BenChase

AI = Adobe Illustrator.

Since you are limited by software.
have you tried to script the "System Events"


example:
tell application "Adobe Reader"
activate


tell application "System Events"
-----do your menu or keyboard command here
keystroke "+" using {command down}
end tell


end tell


Are you able to PRINT/SAVE to a file as a smaller PDF doc.

Convert PDF to low res PDF

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.