PDF file gets created with 0 bytes

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
lump10670
Posts: 4
Joined: Thu Feb 01 2007

PDF file gets created with 0 bytes

Post by lump10670 » Tue Apr 09 2013

We are unsing Amyuni 4.0.0.7 and 4.5.2.3 in Windows 8 and the PDF is coming out with 0 bytes. The only way we were kind of able to make it work was shutting off ALL UAC beyond regular UAC Controls. This meant going into Controller Panel --> Admin Tools --> Local Security Policy --> Expand Local Policy --> Clicking User Rights Assignment and turning off UAC in there and even that was inconsistent.

Code: Select all

ii_rc = doc1.ConnectToNewObject("CDIntfEx.Document.4")

IF ii_rc = 0 THEN
	doc1.Open(s_filename)
	doc1.Print( s_printer_name, 1, doc1.PageCount, l_copies)
END IF

lump10670
Posts: 4
Joined: Thu Feb 01 2007

Re: PDF file gets created with 0 bytes

Post by lump10670 » Thu Apr 11 2013

So far we can only get it to work by disabling User Account Control: Admin Approval Mode

Jose
Amyuni Team
Posts: 549
Joined: Tue Oct 01 2002
Contact:

Re: PDF file gets created with 0 bytes

Post by Jose » Fri Apr 12 2013

Hello,

Not sure if I am totally following your issue but it seems you are opening a PDF document and reprinting it to the PDF Converter?

If this is the case, can you elaborate on why you need to reprint a PDF document to another PDF tool?

Thanks
Get PDF Suite, the expert .NET developer toolkit for PDF conversion, creation and editing - www.amyuni.com/pdfsuite

Post Reply