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
..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