PL/PDF v2.0.0 is now available!
The new version includes a new compression option without Java as well as native PNG support (no need for conversion by Intermedia).
Any object that can be stored in an Oracle database can be used in PL/PDF. Text, numeric data and dates stored in columns as well as images and files stored in BLOB columns can be used.
The Oracle database contains the DBMS_JOB package with which PL/SQL packages can be called at specific intervals and times. DBMS_JOB can be used to call PL/PDF packages.
An Oracle RDBMS is necessary for PL/PDF. Database requirement: Oracle 9i Release 2 and up (including Express Edition). PL/PDF is written in PL/SQL that is available in all database versions. A number of functions use integrated Java components, but PL/PDF can function without these as well. We recommend using the integrated Java components.
Conversion of various formats of images using Oracle InterMedia.
Therefore, if Java is not used:
The created PDF documents will be larger in size.
Only standard JPEG (type APP0) images can be included in the PDF document.
As of version 2.0.0, native support for the PNG image format is introduced, so PNG images can be used without Intermedia/Java. Also, a PL/SQL based compression is now available, so Java is not needed for that either.
For single byte: According to the Adobe PDF specification, characters are encoded using cp1252 in a PDF document. If the database uses a different encoding, then the user needs to either set the default encoding or use the SetEncoding command in PL/PDF to adjust the encoding used.
For Unicode: If the database uses Unicode character sets, then there are two possibilities:
If only one encoding is used throughout the whole PDF, then the same character sets can be used as with the single byte character sets. In this case PL/PDF converts the text to the single byte character set and then includes it in the PDF document. When PL/PDF finds a character that is not in the character set selected then a ‘?’ is displayed instead of the character.
When multiple encoding standards are used in a PDF document, then the TTF font for the appropriate encoding must be embedded and ‘utf16’ encoding must be used. The size of the resulting PDF file will be larger because of the TTF embedding.
It is not necessary to set the default character set. However, if in general only one character set is used, then the creation of PDF takes a lot less time by using default encoding.
PL/PDF supports Adobe’s PDF Specification v1.3, therefore Acrobat Reader 4 is a minimum requirement for viewing PDF files generated by PL/PDF. Any later version of Acrobat Reader can also be used.