Newbie developer questions

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
mWarlock
Posts: 4
Joined: Tue Nov 21 2006

Newbie developer questions

Post by mWarlock »

Just fiddling with the developer's version of the pdf converter C++, just wondering about the following and do note these may sound stupid:

1. Is there any way for me to manipulate or capture the information of the content in a document (not it's form) prior to being sent or converted into pdf format?

2. Is there a way to just simply redirect to the printer through the converter?

3. What are the main function calls made by the drivers when the 'print' button is selected?

4. Could someone explain what some of them do specifically to me aswell?
e.g drvstartdoc()?

answers to any of these would be greatly appreciated...
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello

There is no stupid questions, at least i didn't see any 8)

1) I am not sure if you mean data stream here. You can capture the content in a datastream and manipuate it.

2) The Converter is a printer that enables you to generate PDF files by printing your documents to it. When the PDF file is generated you can programmatically print it to a physical printer using CDIntf (this is the interface of the driver).

3) You mean Windows APIs? You will need to check this with our developers.

4) enablepre, startdoc, startpgae, endpage, enddoc are events fired by the PDF Converter before and during printing. You can capture these events and process your code accordingly: Example when capturing the EnablePre event you can call (or you need to call more precisely) the EnablePrinter() function to enable the printer before printing.

If you need further information please feel free to contact support@amyuni.com

Joanna
mWarlock
Posts: 4
Joined: Tue Nov 21 2006

Post by mWarlock »

Hi Joan,

How do i go about capturing the data stream, I have read page 255 of the Common Interface 250 manual, and I am using Visual 2005 or 6.0 C++ as a compiler to create a dll, but i have never created a dll before, so some help on this would be great, or if possible could you send me a simple code to intercept the datastream and slightly manipulate it in some way?

Cheers
Post Reply