Documentation Index

Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt

Use this file to discover all available pages before exploring further.

High Volume Print Preview

Prev Next

The Print Preview feature should be used to generate small documents on an ad-hoc basis. Larger documents should be generated separately into Autoform DM and returned via the Document Download interface.

The print preview interface works on a default 30-second timeout basis due to the HTTP post from Transact. This means a response needs to be sent through Lasernet and back within 30 seconds. We recommend the following procedures to be carried out.

Sheet Combining

Combining with a PDF Engine is not a good idea due to the timeout limits required, which add a lot to the document's generation time.  We recommend Sheet Combining within a form.

XML Transformer

XML can be reduced with an XML transformer so it can be processed faster in the form and/or reduce the need for combining different documents.

Lasernet Monitor

Documents can be monitored via the Lasernet Monitor to see how long they have taken and in which module the greatest time was needed. With this information, performance improvements can be targeted.

Use Multiple Servers

The print preview supports multiple Lasernet servers with the use of connection pooling. Each Lasernet server uses connection pooling. We suggest another server if a single server can no longer increase performance along with CPU/Memory resources provided to it

This can be adjusted with the BrowserWeb.war/WEB-INF/web.xml of the interface:

<filter>
  <filter-name>PrintPdfFilter</filter-name>
  <filter-class>com.efstech.temenos.filters.PrintPdfFilter</filter-class>
    <init-param>
      <param-name>target</param-name>
      <param-value>/servlet/LaserNetDataServlet</param-value>
    </init-param>
    <init-param>
        <param-name>lasernet</param-name>
        <param-value>
            http://server1:28080/webinputport/T24Input?preview,
            http://server2:28081/webinputport/T24Input2?preview
        </param-value>
    </init-param>
</filter>

Adjust Timeout Settings

Timeout settings can be adjusted, but the limit is generally 30 seconds for the document to be created and sent back.

Out of Hours

Large files cannot be generated in real-time via print preview, so they can be generated ‘out of hours’ to reduce the impact on the performance of smaller documents needed for print preview.

Was this page helpful? Let us know at knowledgebase.feedback@lasernetgroup.com