Printing external reference documents using OI (OpenInsight 32-bit Specific)
At 12 MAR 2006 08:13:32PM Chris Meyer wrote:
How can I print say a .pdf or .doc or any windows document from within OI without user intervention. I use shellexecute to display windows type documents but now wish to print various windows type documents automatically. I need to print upto 8 scanned PDfs with every invoice printed from OI. I know that if you right click a document in windows explorer you can print the document. I wish to replicate this facility in OI.
TIA
Chris
At 12 MAR 2006 08:42PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
ShellExecute "print" instead of "open"
World leaders in all things RevSoft
At 14 MAR 2006 05:54PM Barry Stevens wrote:
Cmd="C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe" /p /h ':quote(Path:FileName)
utility("RUNWIN",Cmd)
At 22 MAR 2006 08:17PM Prashant Mittal wrote:
You can try creating a VB exe that opens the documents. Executes the print command and closes it. Then you can call the exe from OI using the UTILITY functionality and pass the parameters to it ie the file path and it does the rest. There is a lot of sample code available on VB code websites to accomlish it.
Prashant