Hi, i'am trying to use DOC to Any Converter Command Line to convert document files to PDF in PHP. i got problem when the files is convert to PDF, it give me bad result, it contain symbols..but if i use windows command prompt it work fine..
i using the code from http://www.verydoc.com/doc-to-any-shell.html
in example #6 (PHP Example).
i try to use other code to run commmand line in PHP, and it give me this result
ReportError: Type mismatch
i also try this code :
doc2any.exe -debug -useoffice 1 -useprinter C: est.docx C:out.pdf
the result is still the same and this is the debug from the process :
Check utility functions…
Start the conversion…
Enter ConvertPDF2PS function (1).
Enter ConvertPDF2PS function (4).
Convert this DOC file to PS file by MS Word…
ReportError: Type mismatch.
Convert this DOC file to PS file by our DOC Render…
[OK] ABI: Connect print port to a disk file
[OK] Create 'C:out.pdf' file successful.
[OK] Distiller 'C:out.pdf' ==> 'C:WindowsTEMPpdf9167.tmp.pdf'
Conversion time = 8393ms
C: est.docx ==> C:out.pdf, result=OK
TickCount = 8471ms(8.47s), Result = 1
is there any solution to solve my problem..?
Thanks in advance..
Ihsan.