Applications Tab

Use this tab to determine the settings for advanced control of the printing applications.

Conversion timeouts

This group allows you to specify how fast the printing application should respond to the print request and what the component will do if the application does not respond during the timeout. The timeouts should be specified in seconds.

Option Description
First page timeout Enter a reasonable timeout value between the moment of sending a document to printing application and the actual time when the first document page starts to be printed. If an error occurs in the native application during starting, document loading or preparing for printing, the process will hang until the timeout expires. The default value is set to 60 seconds. You can use one or several available RRTs in this field.
Next page timeout Enter a reasonable timeout value between the end of printing of the previous page and the end of printing of the next page. If an error occurs in the native application during preparing and printing any single page of the document, the process will hang until the timeout expires. This timeout is also used to wait until printing of the last page is completed and the document is closed. The default value is set to 20 seconds . You can use one or several available RRTs in this field.
Complete timeout Enter a reasonable timeout value for the complete PDF conversion process. If an error occurs in the native application during PDF conversion, the process will hang until the timeout expires. The timeout value depends on the complexity (such as size, and type) of your files. The default value is set to -1. You can use one or several available RRTs in this field.
Note: In timeout fields, if the specified value is -1, that means infinite timeout, that is, application should wait infinitely for the event. Value 0 means that the application will not wait at all.
Close topmost window after timeout If this check box is selected, the component will close the topmost window on the screen after any of the timeouts has expired and terminate the process that opened the window.
Note: When you use this option, the component will terminate the process of the topmost (foreground) window displayed on the desktop, even if this window does not belong to the printing application. This option is used for the compatibility with the previous version of the component and it is not recommended to use this option in the new version of the component.
Close application window after timeout If this check box is selected, the component will close all the windows that belong to the printing application process after any of the timeouts has expired.
Terminate application process If this check box is selected, the component should terminate the printing application process after any of the timeouts has expired.

If both the Terminate application process and the Close application window after timeout options are selected, then the component will attempt to close the application windows first and then to terminate the process.

Note: Sometimes the component does not have information about the printing application. For example, it can happen when an instance of the printing application is already running. In this case the component cannot handle the Close application window after timeout and the Terminate application process options correctly. To avoid this problem do not launch any applications under the component service account, at least those of them which are used by the PDF Converter.

Application dialogs

This group allows you to specify how the component should handle the printing applications which interact with the user when printing documents. According to these settings, the component will close the dialogs which are issued by the printing application or the other dialogs that can block printing.
Option Description
Press OK button automatically If this check box is selected, the component will send the Enter key to the dialog-like windows that have a default button different from a Cancel button. Most of the standard message boxes are regular dialogs with the default OK button, therefore when this options is selected, the OK button on such dialogs will be pressed automatically.
Note: Some message boxes are not regular dialog windows; for example, Convert File dialog box of the Microsoft Word. The component will fail to determine the default button and will not close this dialog box. For those dialog boxes use the title-based search using the Send 'Enter' to dialogs with following titles option.
Send 'Enter' to dialogs with following titles This field displays the list of the titles of dialog boxes that the component should close with the Enter key.
Add Click this button to add a new dialog box to the list in the opened Add Dialog Title window.
Edit Click this button to edit the selected dialog box in the opened Edit Dialog Title window.
Remove Select one or several dialog boxes in the list and click this button to remove them from the list.
Close topmost dialogs If this check box is selected, the component will send the Enter key to the desktop and close the topmost dialog box. Any window with the dialog frame is considered as a dialog box. This check box is not selected by default.
Close applications dialogs only If this check box is selected, the component will close the dialogs that are opened by the printing application process. This check box is selected by default.
Note: Sometimes the component does not have information about the printing application. For example, it can be when an instance of the printing application is already running. In this case the component cannot handle the Close application dialogs option correctly. To avoid this problem, do not launch any applications under the workflow service account, at least those of them which are used by the PDF Converter.
Close visible dialogs only If this check box is selected, the component will close only the dialogs that are visible for the desktop where the component service is running.
Note: It is recommended to clear the Close visible dialogs only check box when working on Windows Vista or Windows 2008 server.