PDF Printing with APEX in 11g DB Results in Format Error or ORA-20001 (Doc ID 745695.1)

Last updated on NOVEMBER 14, 2016

Applies to:

Oracle Application Express (formerly HTML DB) - Version 3.0.1 and later
Oracle Database - Enterprise Edition - Version 11.1.0.6 and later
Information in this document applies to any platform.
***Checked for relevance on 03-Jul-2012***

Symptoms

APEX is installed in an 11g DB and PDF printing is configured. When trying to export a region to run PDF file using ApEx's PDF Printing functionality, with either the Apache FOP or the BI_Publisher, the request gets one of the following errors:

1. If the reports "view file as" is set to inline see the following:

ORA-20001: The printing engine could not be reached because either
the URL specified is incorrect or a proxy URL needs to be specified.

2. If the reports "view file as" is set to attachment see the following alert:

Acrobat could not open '<name.pdf>' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).


To create an Adobe PDF document, go to the source application. Then print the document to Adobe PDF.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms