Printing a pdf - result: document 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
Winkler
Posts: 1
Joined: Tue Mar 02 2004
Contact:

Printing a pdf - result: document with 0 bytes

Post by Winkler »

i've used the pdf creator to print a docuement which i had loaded into the pdf creator.

when i click on the print button, then i'll get all my printers included the amyuni pdf converter.

i've selected the amyuni pdf converter and clicked - PRINT(into File)
the program has created the file but with 0 BYTES.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

When printing to the PDF Printer there is no need to click the 'Print to File' button, the PDF Printer will automatically generate pdf files.

I didn't however really get the situation you described, are you opening a pdf file in the PDF Creator and then you are printing it to the PDF Converter printer?

Thanks
dCollins
Posts: 10
Joined: Fri Feb 20 2004

Post by dCollins »

Hello,

first of all sorry for using the thread, but I got a problem similar like that.
Situation:
using PDF Converter Pro Dev version 2.10h in our applications. They are coded in C++ .
After selecting the PDF Converter as a Printer and hitting OK a Dialog shows up where the user can select / specify a filename.
The Dialog is an old style Common Dialog.
If a selected file is already existing we want the user to determine if he wants to overwrite or append to the selected file.


here a real small code snippet to set the filenameoptions according to the selection the user made:
_______________________________________
m_filenameoptions = (1 + 2 + 64 );
if (FileSaveDialog.getAppend())
m_filenameoptions += 8192 /*AppendExisting*/ ;
/*or*/
m_filenameoptions += Concatenate ;
________________________________________

this code is working fine with windows 2000 and Windows 9x
but when running Windows NT it creates PDF Documents with Size 0.
And it doesnt matter whether I am using concatenate or AppendExisting.
When omitting those to flags the Documents are created correctly.

I am pretty clueless about whats wrong, so any help/suggestions appreciated.

thanx in advance dCollins
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Please try to use vesion 2.10i of the driver. If you are still getting this same issue with the new version please send a request to support@amyuni.com

Thanks.
Post Reply