Date: Thu, 22 Jul 2010 09:56:19 +1200
Reply-To: Tom Robinson <barefootguru@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Tom Robinson <barefootguru@GMAIL.COM>
Subject: Re: PDF file size in SAS 9.2
In-Reply-To: <AEFB63BA-ED7F-49EB-BC0B-5F1BFC6FFBB7@gmail.com>
Content-Type: text/plain; charset=us-ascii
On 2010-07-21, at 10:26, Tom Robinson wrote:
> On 2010-07-21, at 09:49, Vijayan Sundaram wrote:
>
>> We create PDF files using SAS and burn them on a DVD.
>> Earlier with SAS 9.1.3, the files used to fit in a DVD. Now we upgraded to
>> SAS 9.2 and the each individual file has become 3 times larger and hence
>> does not fit into a DVD. I tried using different fonts, compress option, no
>> table of contents and other things to reduce the file size, but nothing
>> worked. The nofontembedding option does reduce the file size dramatically
>> but when I open the pdf on a computer which does not have SAS, I just see
>> bunch of dots. It does look ok on my machine which has SAS.
>>
>>
>> I did ask SAS support and they asked me to change the registry setting in
>> the following path.(Specifically the version registry key to 3)
>> CORE\PRINTING\PRINTERS\PDF\ADVANCED
>> This change also did not reduce the file size.
>>
>> Any ideas how to reduce the file size?
>>
>> Thanks,
>> Vijay
>
> Embedded fonts are the first thing to work on to reduce the file size. If nofontembedding is returning the files to their pre-9.2 size then you just need to fix the display of them: check you're only using the standard 14 fonts:
>
> <http://en.wikipedia.org/wiki/Pdf#Standard_Type_1_Fonts>
>
> Check both in your SAS code and the resulting PDF. In Adobe Reader this is File > Properties > Fonts.
>
> Cheers
Vijay replied to me directly:
> Thanks Tom. I had to change all the fonts to "Times". Got it working now.
|