How can I convert EMF files to PDF?

This is a read only forum. It contains the most frequently asked questions about Amyuni products and licensing.
Post Reply
Dany
Amyuni Team
Posts: 113
Joined: Wed Sep 11 2002
Location: Montreal.
Contact:

How can I convert EMF files to PDF?

Post by Dany »

You can do this using BatchConvert. Here is a sample script :

Dim cdi

Set cdi = CreateObject( "cdintf.cdintf" )
cdi.DriverInit( "Amyuni PDF Converter")
cdi.SetDefaultPrinter

cdi.FileNameOptions = 7
cdi.DefaultFileName = "c:\wutemp\emf.pdf"

cdi.BatchConvert "c:\temp\*.emf"

cdi.DriverEnd
set cdi = Nothing

Note: you need to add EnablePrinter and use CdintfEx to make this code work with version 2.1
Post Reply