Batch converting word to pdf
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software, Tracker - Clarion Support, John - Tracker Supp, Support Staff, moderators
Batch converting word to pdf
Hi,
I am trying to modify the Office Inside example to convert a bunch of Word docs to pdf without much success.
Calling the procedure once with the doc filename and destination filename as parameters works great, but as soon as I call it from a process it fails.
After first run I get a "PDFXC3_Globalinit functions failed" and now the pdf is not saved silently but instead the PdfXchange printer driver save dialog is presented.
What am I doing wrong ?
Cheers,
Poul Jensen
I am trying to modify the Office Inside example to convert a bunch of Word docs to pdf without much success.
Calling the procedure once with the doc filename and destination filename as parameters works great, but as soon as I call it from a process it fails.
After first run I get a "PDFXC3_Globalinit functions failed" and now the pdf is not saved silently but instead the PdfXchange printer driver save dialog is presented.
What am I doing wrong ?
Cheers,
Poul Jensen
.::Poul Jensen::.
Clarion developer
Clarion developer
-
- Site Admin
- Posts: 1412
- Joined: Wed Jun 30, 2004 4:45 pm
- Location: Maryland, USA
- Contact:
Hi Poul!
Late last week we made some changes to the behavior of the PDF-XChange Driver OI handling to correct a problem that sounds very much like yours.
Are you using a version of PDF-XChange Driver downloaded this week? If not I suggest downloading the most current build 110 version and try again.
HTH!
Late last week we made some changes to the behavior of the PDF-XChange Driver OI handling to correct a problem that sounds very much like yours.
Are you using a version of PDF-XChange Driver downloaded this week? If not I suggest downloading the most current build 110 version and try again.
HTH!
-
- Site Admin
- Posts: 1412
- Joined: Wed Jun 30, 2004 4:45 pm
- Location: Maryland, USA
- Contact:
-
- Site Admin
- Posts: 8205
- Joined: Tue Jun 29, 2004 10:34 am
- Location: Vancouver Island - Canada
- Contact:
Hi Poul,
Apologies for the confusion - I have updated the build info on the install and uploaded - though all the files remain as they were.
Can I ask also - have you tried our standard demo app's to ensure all is functioning correctly with the installation ?
Apologies for the confusion - I have updated the build info on the install and uploaded - though all the files remain as they were.
Can I ask also - have you tried our standard demo app's to ensure all is functioning correctly with the installation ?
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
Hi,
Yes demo apps work.
I am actually using PxcWOI36.app for testing this.
- Calling the main procedure with inputfile and outputfile as parameter works ok.
- Calling it repeatedly from a process does not work.
I do note that there is an orphaned embed: %PXCDV3PBeforeRunEmbed.
This containt this code:
PXCDRV32:PrintInfo.printerDriver = PXCDRV32.GetPrinterDriver()
If I check in the EmbedEditor it looks like the code is placed correctly before:
START(PrintProc, 32000, PXCDRV32:PrintInfo)
Cheers,
Poul Jensen
Yes demo apps work.
I am actually using PxcWOI36.app for testing this.
- Calling the main procedure with inputfile and outputfile as parameter works ok.
- Calling it repeatedly from a process does not work.
I do note that there is an orphaned embed: %PXCDV3PBeforeRunEmbed.
This containt this code:
PXCDRV32:PrintInfo.printerDriver = PXCDRV32.GetPrinterDriver()
If I check in the EmbedEditor it looks like the code is placed correctly before:
START(PrintProc, 32000, PXCDRV32:PrintInfo)
Cheers,
Poul Jensen
- Attachments
-
- dan_pdf002.zip
- Source-code for modyfied procedure.
- (3.17 KiB) Downloaded 282 times
-
- Site Admin
- Posts: 1412
- Joined: Wed Jun 30, 2004 4:45 pm
- Location: Maryland, USA
- Contact:
-
- Site Admin
- Posts: 8205
- Joined: Tue Jun 29, 2004 10:34 am
- Location: Vancouver Island - Canada
- Contact:
Thanks Poul.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
Thanks Craig,
Problem solved.
See this thread: http://www.docu-track.com/forum/viewtop ... 0440#10440
Problem solved.
See this thread: http://www.docu-track.com/forum/viewtop ... 0440#10440
.::Poul Jensen::.
Clarion developer
Clarion developer
-
- Site Admin
- Posts: 8205
- Joined: Tue Jun 29, 2004 10:34 am
- Location: Vancouver Island - Canada
- Contact:

If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com