Page 1 of 1

Batch converting word to pdf

Posted: Fri Dec 29, 2006 8:29 pm
by marisoft
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

Posted: Fri Dec 29, 2006 8:52 pm
by Tracker - Clarion Support
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!

Posted: Fri Dec 29, 2006 10:43 pm
by marisoft
Hi Craig,

I have downloaded from the site but even though the version displayed on the download page says v.3.60110 19th Dec, 2006 the installation file is stamped 3.60109.

Which one is correct ?

Cheers,
Poul Jensen

Posted: Sat Dec 30, 2006 11:38 am
by Tracker - Clarion Support
Hi Poul!

I downloaded the indicated file and checked it. Although the installation file PDFXV3SDKPRO_CW.EXE is stamped 3.60109.0.0, the files contained are stamped 3.6.0.110.

I'll bring this to John's attention.

Posted: Sat Dec 30, 2006 3:55 pm
by marisoft
OK.

This means I still have the problem.

Cheers,
/Poul

Posted: Sun Dec 31, 2006 4:41 pm
by John - Tracker Supp
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 ?

Posted: Mon Jan 01, 2007 12:54 pm
by marisoft
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

Posted: Mon Jan 01, 2007 1:53 pm
by Tracker - Clarion Support
Hi Poul!

Due to a long-standing glitch in the template handling, all #EMBED() points within #CODE templates appear as Orphans in the embed tree.

HTH!

Posted: Mon Jan 01, 2007 10:03 pm
by marisoft
Hi Craig,

OK - noted.

/Poul

Posted: Tue Jan 02, 2007 6:02 pm
by John - Tracker Supp
Thanks Poul.

Posted: Mon Jan 08, 2007 7:33 am
by marisoft
Thanks Craig,

Problem solved.

See this thread: http://www.docu-track.com/forum/viewtop ... 0440#10440

Posted: Mon Jan 08, 2007 9:31 am
by John - Tracker Supp
:)