Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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"

The Sprezzatura Group

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

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/d18488eaa0f614438525713000013d72.txt
  • Last modified: 2023/12/28 07:39
  • by 127.0.0.1