Why the PDF file is bigger than .DOC file when converted programmatically

R

ralfph2002

I am using Acrobat 4.0.1 and I am converting the MS-WORD doc file into
..PDF file by VBA. The code works but my problem is when I tried to
check the size of the converted .PDF file it is 138 kb whereas when I
saved the same document by .DOC file it is only 19 kb . How come the
PDF file is more bigger in size than .DOC file , isn't supposed the
PDF file should be much lesser in size than the .DOC FILE? Then I
tried to convert the current document manually to PDF file and then I
check the converted .PDF file it is only 10kb at least smaller than
saved .DOC file if done manually. Why is it there is big difference
when I do the conversion manually and programmatically, where do I miss
my code here? Are there any settings/properties that I have to set in
the instance of the PDFdistiller before I finally convert the .doc
file? Please help I do not understand why this is happening?

I have the following partial codes which runs successfully without
errors.

ActivePrinter = "Acrobat Distiller"
PSfile = docfile & ".ps"
PDfile = docfile & ".pdf"

cDoc.PrintOut False, , , PSfile
DoEvents
Sleep 2000

objPDF.FileToPDF PSfile, PDfile, ""
Set objPDF = Nothing

Please help. Any suggestions ? thank you. ROEL
 
J

Jonathan West

Hi Ralph,

You need to check your Acrobat Distiller settings. I suspect that you are
using pre-press settings or some other very high image quality setting.

--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top