Hello
I try to convert a .doc-file into a .pdf-file using an object called ACRODISTXLib.PdfDistiller with the following code:
Public WithEvents oDist As ACRODISTXLib.PdfDistiller
function printPDF()
Dim result As Integer
set odist = New ACRODISTXLib.PdfDistiller
result = oDist.FileToPDF _("mypath\titi.doc", "mypath\titi.pdf", ""![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
This code seems to run.
The status window of the Distiller appears and desappears and result returns 1, which means the convertion to pdf succeed.
But my titi.pdf hasn't been created!
Instead of this, i get a titi.dic (text document) in which I may read the following very helpful sentences:
%%[ Error: undefined; OffendingCommand: ÐÏࡱá ]%%
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%
Hmmm
Perhaps this comes from the fact that I'm working on Access 97 ...
And perhaps someone could help me ...
However ... Have a great summer
I try to convert a .doc-file into a .pdf-file using an object called ACRODISTXLib.PdfDistiller with the following code:
Public WithEvents oDist As ACRODISTXLib.PdfDistiller
function printPDF()
Dim result As Integer
set odist = New ACRODISTXLib.PdfDistiller
result = oDist.FileToPDF _("mypath\titi.doc", "mypath\titi.pdf", ""
This code seems to run.
The status window of the Distiller appears and desappears and result returns 1, which means the convertion to pdf succeed.
But my titi.pdf hasn't been created!
Instead of this, i get a titi.dic (text document) in which I may read the following very helpful sentences:
%%[ Error: undefined; OffendingCommand: ÐÏࡱá ]%%
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%
Hmmm
Perhaps this comes from the fact that I'm working on Access 97 ...
And perhaps someone could help me ...
However ... Have a great summer