Using the Type Option
Use the Type option to specify the type of file you want to import to speed processing. Enter T (TIFF) or P (PDF). If you omit this option, the system first looks for TIFF files. If it cannot find a TIFF file, it looks for a PDF file.
The system also automatically detects and imports the following file types:
Description | Extension |
Adobe Flash 6.x and 7.x “text only” | .SWF |
Adobe Photoshop | .PSD |
Adobe Postscript (PS) | .PS |
CCITT Group 3 Fax | .FAX |
CompuServe Graphic Interchange Format | .GIF |
Encapsulated PostScript | .EPS |
Extensible Markup Language | .XML |
HP Graphics Language | .HPG |
Hypertext Markup Language | .HTM, .HTML |
Microsoft Excel | .XLS |
Microsoft Outlook Messages | .MSG |
Microsoft Powerpoint | .PPT |
Microsoft Word | .DOC |
MIME-encoded email | .EML |
OS/2 and Windows bitmap, cursor, and icon files | .BMP |
Paintbrush | .DCX .PCX |
Portable Bitmap/Graymap/Pixmap | .PBM, .PGM, .PPM |
Portable Network Graphics | .PNG |
Rich Text Format | .RTF |
Text, including ANSI, UTF-8, and EBCDIC | .TXT |
Windows Enhanced Metafile | .EMF |
Windows Metafile | .WMF |
X-Windows Pixmap | .XPM |
Keep in mind:
- Pages imported from a PDF file are placedat coordinates (0,0) in the output by default. You can use the position options (IN, MM, or TOP) to specify another position.
- You can specify several AddMultiPageBitmap rules, as shown here, but realize that each subsequent rule reuses the document pages added by previous rules.
Here is an example:
<Image Rules>
...
;AddMultiPageBitmap;DAL(PDF_DAL.dal),Only(ODD),TYPE(P);
;AddMultiPageBitmap;DAL(PDF_DAL.dal),Only(ODD),TYPE(P);
...
Assume the first PDF file contains four pages and the second PDF file contains five pages.
After executing the two rules, there will be five pages in the form. The first four pages will have two images each (one from the first rule and one from the second) and the final page will contain the last image from the 5-image PDF file.
Be aware that the placement of those bitmap images on the page can make them overlap.
Note | This rule supports long file names on 32-bit Windows operating systems. The full list of supported formats is not yet available on Windows 64-bit systems. |
- Use the following options to set the resolutions at which files are imported.
< BitmapLoaders >
<PDFImportDPI =
<VectorGraphicImportDPI =Option Description PDFImportDPI (Optional) Enter the resolution in dots per inch (DPI) at which you want to import PDF files. The default is 100 DPI. VectorGraphicImportDPI Optional) Enter the DPI (dots per inch) at which you want to import files other than TIFF or PDF files. The default is 100.
- Beginning with release 12.2.1 these additional options are available. They all have default values and therefore are all optional.
<BitmapLoaders>
PDFImportColorDepth =
VectorGraphicColorDepth =
UseImageExportOnly =Option Description PDFImportColorDepth Enter the color depth at which you want to import PDF files. Valid values are 1, 8 and 24. The default is 8. VectorGraphicImporColorDepth Enter the color depth at which you want to import files other than TIFF or PDF files. Valid values are 1, 8 and 24. The default is 8. UseImageExportOnly Enter NO or YES. The default is NO. The process of importing a PDF file is independent of the process of importing supported file types other than TIFF, for example, importing a Word document. To use this same process for importing PDF files set this INI setting to YES. If set to YES then the PDFImportDPI and PDFImportColorDepth do not apply for PDF files and are ignored. It also implies that the AddMultiPageBitmap EMBED option will be forced to Y.
© Copyright 2020, Oracle and/or its affiliates. All rights reserved. Legal notices.