Skip to main content

How to Increase PDF Print timeout

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Bjorn_Wedbratt
Former Employee
Former Employee

How to Increase PDF Print timeout

Last Update:

Jul 6, 2021 8:37:23 AM

Updated By:

Sonja_Bauernfeind

Created date:

Oct 1, 2012 7:23:49 AM

The default timeout (120 s) may need to be increased for the PDF printer, when doing a PDF distribution.
In case of a timeout when distributing, the following error may occur in the task log:
 

(2012-02-06 09:30:25) Error: Could not print report. 
ErrorCode=PRINTER_UNKNOWN_ERROR. ReportID=Document\RP02 
(2012-02-06 09:30:30) Information: Retry <1> to get document package. 
(2012-02-06 09:30:30) Error: Could not print report. 
ErrorCode=PRINTER_UNKNOWN_ERROR. ReportID=Document\RP02 
(2012-02-06 09:30:35) Information: Retry <2> to get document package. 
(2012-02-06 09:30:35) Error: Could not print report. 
ErrorCode=PRINTER_UNKNOWN_ERROR. ReportID=Document\RP02 
(2012-02-06 09:30:40) Information: Retry <3> to get document package. 
(2012-02-06 09:30:40) Error: Could not print report. 
ErrorCode=PRINTER_UNKNOWN_ERROR. ReportID=Document\RP02 
(2012-02-06 09:30:45) Information: Retry <4> to get document package. 
(2012-02-06 09:30:45) Error: Could not print report. 
ErrorCode=PRINTER_UNKNOWN_ERROR. ReportID=Document\RP02 
(2012-02-06 09:30:50) Information: Retry <5> to get document package. 
(2012-02-06 09:30:50) Error: Failed to generate QVW File package.. 
Exception=System.NullReferenceException: Failed to get document package from QVB after < 5 > 
(2012-02-06 09:30:50) Error: at QDSMain.DistributeHelper.GrabPDFFile 

 

Resolution:


To increase the PDF Printer timeout, do the following

  1. Locate the file settings.ini found

    in C:\Windows\System32\config\systemprofile\AppData\Roaming\QlikTech\QlikViewBatch

  2. Add the setting PDFPrintTimeoutInSeconds in the [Settings 7] section

    [Settings 7]
    PDFPrintTimeoutInSeconds= 120

  3. Save settings.ini and restart QlikView Distribution Service
Labels (1)
Contributors
Version history
Last update:
‎2021-07-06 08:37 AM
Updated by: