Recently upgraded to 2.10h of pdf converter professional developer version. Everything is working fine for creating pdf report files. I would like to use the Acrobat Reader 5 to automatically view the pdf file just created. Adding the post processing value to the SetDocFileProps options param. seems to have no affect.
Options param(long) = NoPrompt + UseFileName + Concatenate + PostProcessing. Decimal value of options param sent is 65543.
Adobe Acrobat Reader is associated application for "pdf" files extentions.
I am assuming here that launching the associated app is how post processing is to work. What am I missing?
PDF file post processing trouble using 2.10h Developer
Hello,
Please check that you are specifying the path and exe location of the Acrobat Reader 5 in the postprocessing key in the registry.
You can open the registry using Regedit from the Run command and locate the following key:
Hkey-Current-Config --> Software --> Amyuni PDF Printer --> PostProcessing
Then add the path of Acrobat Reader 5 on your sytem to that key.
Hope this helps.
Please check that you are specifying the path and exe location of the Acrobat Reader 5 in the postprocessing key in the registry.
You can open the registry using Regedit from the Run command and locate the following key:
Hkey-Current-Config --> Software --> Amyuni PDF Printer --> PostProcessing
Then add the path of Acrobat Reader 5 on your sytem to that key.
Hope this helps.
Hello,
Please send us an e-mail to support@amyuni.com so we can send you a screenshot to illustarte this.
Thanks.
Please send us an e-mail to support@amyuni.com so we can send you a screenshot to illustarte this.
Thanks.
-
- Posts: 6
- Joined: Mon May 17 2004
Integrating our app from MS office via Amyuni PDF Converter
I am currently evaluating the developer version of PDF printer converter 2.10i-3. Currently i am trying to integrate this PDF printer converter to MS application such as word and excel using my application. When a document gets printed from MS word through 'Amyuni PDF Converter', our application should run and the created pdf file sholuld be copied in the predefined loaction selected by the user in our app.
How do i create using this tool?
I tried postporcessing in registry as mentioned and added 10000 in the SetFileNameOptions. nothing happens.
Any idea for this kind of integration.
Thanks
How do i create using this tool?
I tried postporcessing in registry as mentioned and added 10000 in the SetFileNameOptions. nothing happens.
Any idea for this kind of integration.
Thanks
Hello,
I didn't really get your requirements, but i will give you some info that might be helpful:
You need the Developer version of the PDF Converter, this version enables you to open Word and Excel from inside your application and print the documents to the PDF Printer and generate pdf files without any user interaction.
Copying the pdf files then to a specific directory should be done from inside your application using windows programming by example or the File object (if you are in an environment like VB).
Concerning postprocessing, please use the decimal value instead of the Hexadecimal one, this may help. 10000 Hex = 65536 Decimal
Hope this helps.
I didn't really get your requirements, but i will give you some info that might be helpful:
You need the Developer version of the PDF Converter, this version enables you to open Word and Excel from inside your application and print the documents to the PDF Printer and generate pdf files without any user interaction.
Copying the pdf files then to a specific directory should be done from inside your application using windows programming by example or the File object (if you are in an environment like VB).
Concerning postprocessing, please use the decimal value instead of the Hexadecimal one, this may help. 10000 Hex = 65536 Decimal
Hope this helps.
-
- Posts: 6
- Joined: Mon May 17 2004
I am using the powerbuilder sample provided at your web site and added the PostProcessing code as decimal value and added in SetFileNameOptions.
value for PostProcessing is C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe under HKEY_CURRENT_CONFIG\Software\Amyuni PDF Converter. it is creating the pdf file properly but it is not bringing the AcroRd32.exe to run.
Please let me know what i am missing.
Following is the PB code.
Constant Long NoPrompt = 1 //do not prompt for file name
Constant integer UseFileName = 2 //use file name set by SetDefaultFileName
Constant Decimal PostProcessing = 10000
PDFPrinter = DriverInit(PrinterName)
SetResolution (PDFPrinter, 600)
SetDefaultConfig (PDFPrinter)
SetDefaultPrinter (PDFPrinter)
SetDefaultFileName (PDFPrinter, OutputFileDll)
// Set file options for the first report without concatenation
SetFileNameOptions (PDFPrinter,NoPrompt + UseFileName + PostProcessing)
// Enable the printer. Used with version 2.1 Developer edition
EnablePrinter(pdfPrinter,LicensedTo,ActivationCode)
// Print the list
dw_list.print()
// Reset file options
SetFileNameOptions (PDFPrinter, 0)
// Restore the default printer.
DriverEnd (PDFPrinter)
Thanks,
john
value for PostProcessing is C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe under HKEY_CURRENT_CONFIG\Software\Amyuni PDF Converter. it is creating the pdf file properly but it is not bringing the AcroRd32.exe to run.
Please let me know what i am missing.
Following is the PB code.
Constant Long NoPrompt = 1 //do not prompt for file name
Constant integer UseFileName = 2 //use file name set by SetDefaultFileName
Constant Decimal PostProcessing = 10000
PDFPrinter = DriverInit(PrinterName)
SetResolution (PDFPrinter, 600)
SetDefaultConfig (PDFPrinter)
SetDefaultPrinter (PDFPrinter)
SetDefaultFileName (PDFPrinter, OutputFileDll)
// Set file options for the first report without concatenation
SetFileNameOptions (PDFPrinter,NoPrompt + UseFileName + PostProcessing)
// Enable the printer. Used with version 2.1 Developer edition
EnablePrinter(pdfPrinter,LicensedTo,ActivationCode)
// Print the list
dw_list.print()
// Reset file options
SetFileNameOptions (PDFPrinter, 0)
// Restore the default printer.
DriverEnd (PDFPrinter)
Thanks,
john
-
- Posts: 6
- Joined: Mon May 17 2004