pdfFactory Developer Kit
The pdfFactory Developer Kit is not yet available. However, you can still
integrate pdfFactory with your applications. Since pdfFactory is a printer
driver, you can print to the pdfFactory driver just as you would any other
printer. The registry keys below allow programmatic access to the display
mode, filename and path.
Setting the display mode:
HKEY_CURRENT_USER\Software\FinePrint Software\pdfFactory\FinePrinters\FinePrint
pdfFactory\PrinterDriverData\ShowDlg
0 = show UI before spooling
1 = show UI after spooling
2 = do not show UI but view PDF file
3 = do not show UI but put PDF file in an email
4 = do not show UI, do not email, do not view PDF file
This does not affect any open HDCs into the pdfFactory printer.
Setting the filename:
HKEY_CURRENT_USER\Software\FinePrint Software\pdfFactory\OutputFile
HKEY_CURRENT_USER\Software\FinePrint Software\pdfFactory\OutputFilePerm
This only works for display modes 2, 3 and 4 (shown above).
OutputFile is used once and then erased; OutputFilePerm is used every
time. Existing files are overwritten without prompting.
Setting the default path:
HKEY_CURRENT_USER\Software\FinePrint Software\pdfFactory\JobsDir
HKEY_CURRENT_USER\Software\FinePrint Software\pdfFactory\AutoSaveDir
Note: In order to have the registry
settings take affect, you need to change the registry settings and call
DocumentProperties to get the DEVMODE before calling CreateDC. Check out this
MSDN note for more information.
Find out more on the
FinePrint Developer
Kit.
|