PDF converter - permission denied

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
charlieM
Posts: 1
Joined: Fri Dec 06 2002

PDF converter - permission denied

Post by charlieM »

Hi,

We have developped a visual basic tool to convert office document to pdf using pdfconverter (cdintf.dll provided by Amyuni). The dll created has been deployed on a W2K advanced server where Office Standard XP has been installed. When we tried to convert a powerpoint document, we receive an error message "permission denied" and the document is not converted. Everything is ok for Word, Excel. When the document is send to the amyuni printer driver through Microsoft Powerpoint, the document is converted.

Any idea will be very appreciated to help us.

Best regards,

CharlieM
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Post by Jose »

Hi,

Sorry for the late post but if you are still having problems please run the code below. Does it generate a permission denied error?

Dim myPowerApp As New PowerPoint.Application
Dim myPowerPres As PowerPoint.Presentation


pdf.DriverInit "Amyuni PDF Converter"
pdf.DefaultDirectory = "c:\temp"
pdf.DefaultFileName = "c:\temp\powerpoint.pdf"

pdf.FileNameOptions = 3

myPowerApp.Visible = True

Set myPowerPres = myPowerApp.Presentations.Open("c:\sample.ppt")
myPowerPres.PrintOut (False)

Set myPowerApp = Nothing
pdf.FileNameOptions = 0
pdf.DriverEnd


Thanks
Post Reply