Article ID: 118527, created on Nov 9, 2013, last review on Apr 29, 2014

  • Applies to:
  • Odin Business Automation Standard 4.x

Symptoms

When I click "Download PDF" on an invoice in either the PCC or the RCC the browser sits their spinning (Waiting for ...) and the PCC/RCC becomes unusable and eventually times out.

Cause

  1. Utility for PDF generation (Top > Configuration Director > Miscellaneous Settings > PDF Generator Setup) runs too slow:

    [root@pbas ~]# /usr/bin/htmldoc --no-embedfonts --quiet --webpage -f /tmp/%target_file%.pdf /tmp/%source_files%.html
    
  2. Printable form (Top > Configuration Director > Miscellaneous Settings > Printable Forms > FORM_ID) contain some images from EXTERNAL.DOMAIN.TLD. According to /etc/hosts file, this domain is resolved to internal IP Address 192.168.1.10 on PBA-S node:

    [root@pbas ~]# cat /etc/hosts
    ...
    192.168.1.10 EXTERNAL.DOMAIN.TLD
    

Resolution

Commented that line so that EXTERNAL.DOMAIN.TLD is resolved to 123.123.123.123 according to DNS. The PDF files are now available by clicking on "Download PDF" button.

Search Words

Cannot download the invoice in PDF format

Cannot download the invoice in PDF format

"Download PDF

400e18f6ede9f8be5575a475d2d6b0a6 caea8340e2d186a540518d08602aa065 70a5401e8b9354cd1d64d0346f2c4a3e

Email subscription for changes to this article
Save as PDF