cdintf250.h is not complete

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
trumpetinc
Posts: 60
Joined: Mon Jul 28 2003

cdintf250.h is not complete

Post by trumpetinc »

There appears to be an error in the cdintf250.h file available on the website.

AutoImageCompression is missing, and Color256Compression is in the file twice.

Also, the SetDefaultPrinter() function is still defined, which causes a collision with a function of the same name in Win32.

- K
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

I will forward your comments about CDIntf250.h to our developers and they will ajdust what need to be adjusted and post a new version online.

For the time being, you can make any needed changes to you .h file yourself. Ie, you can remove the duplicated function and add a declaration of any missing. You can find the function prototype in "Common Driver Interface 250.pdf".

For SetDefaultPrinter(), this function is used only if you can not print to a specific printer from inside your application and you really need to set the printer as default programmatically. You can declare it with an Alias.

Hope this helps.
trumpetinc
Posts: 60
Joined: Mon Jul 28 2003

Post by trumpetinc »

Thanks - I had already done that - my post was just to let you all know.

If anyone wants to use that header file in a C application that links with Win32, they will have to comment out the SetDefaultPrinter() declaration line (or change it, and use it as a function prototype using GetProcAddress).

- K

Joan wrote:Hello,

I will forward your comments about CDIntf250.h to our developers and they will ajdust what need to be adjusted and post a new version online.

For the time being, you can make any needed changes to you .h file yourself. Ie, you can remove the duplicated function and add a declaration of any missing. You can find the function prototype in "Common Driver Interface 250.pdf".

For SetDefaultPrinter(), this function is used only if you can not print to a specific printer from inside your application and you really need to set the printer as default programmatically. You can declare it with an Alias.

Hope this helps.
Post Reply