Thanks for the links, Mike, but they do not really help. We already have a function that sets PDFWriter as the default printer, so that we can print to a PDF. I tried using that in combination of the ShellExecute (where I first set the printer to PDF and then print the TIFF file), but that only opened the TIFF file. Below is the code I used:
*****************************************************
PARAMETER tcInFile, tcOutFile
*-set printer to PDFWriter w/ filename specified
=SetUpLPT("PDF1", '',tcOutFile)
*-print passed in file to the PDFWriter -*
DECLARE INTEGER ShellExecute IN shell32.dll ;
INTEGER hndWin, ;
STRING cAction, ;
STRING cFileName, ;
STRING cParams, ;
STRING cDir, ;
INTEGER nShowWin
ShellExecute(0, "print", tcInFile , "", "", 1)
******************************************************
I even tried passing 0 as the last parameter for ShellExecute, but it still didn't work.
I would really like to use an Adobe object. I tried using acroexch.document, acroexch.pddoc and acroexch.AVDoc....but I am not familiar enough with them and the commands I need to use.
Is anyone familiar w/ any of these interfaces enough to show me how to (1) open/load a TIFF file and (2) save the PDF?
Thanks again for your help. I did get an answer to another issue I was having because of these links