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 17 NOV 2003 12:26:08PM Wilhelm Schmitt wrote:

After generating a PDF report in OIPI, we open Acrobat Reader for preview of the report. However I would also like to be able to print directly (without the preview).

Does anybody know, if Acrobat Reader has a command line parameter to invoke direct printing? I couldn't find any option.

Regards

Wilhelm


At 17 NOV 2003 12:26PM Jonathan Bird wrote:

If you want to "print directly" why go to the PDF format first? Just print to your printer from OIPI.

J


At 17 NOV 2003 12:26PM Barry Stevens wrote:

The following will print a PDF file to the current printer.

Cmd="C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe" /p /h ':quote(Path:FileName)

utility("RUNWIN",Cmd,-1)

Note:

If Version 6 then utility("RUNWIN",Cmd)

Barry


At 17 NOV 2003 12:26PM Wilhelm Schmitt wrote:

Barry,

thanks a lot for the hint.

Wilhelm


At 17 NOV 2003 12:26PM Wilhelm Schmitt wrote:

Jonathan,

… why go to the PDF format first?

Because:

1. We must preserve the original document as it is (later on it will also have to be signed electronically)

2. OIPI runs through a dynamic engine on the server, consuming a considerable amount of the server capacity (sometimes up to 100%) and we wouldn't want the server tied up to repeat printing.

3. We don't use the OI user-interface, just a thin client in java (JOI), which can handle multiple threads.

Wilhelm

View this thread on the forum...

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