DEBUG_SLFIND Debugging Options

10-22 Publishing Reports to the Web with Oracle Reports Services ■ Removal of the printer dependency. If, when generating report output, there is no valid printer queue available not found from TK_PRINTER,ORACLE_PRINTER,PRINTER, or uiprint.txt, the surface based on screenprinter.ppd will be created and used to get font information. You can modify the Fonts section of screenprinter.ppd to include new fonts, and modify the DefaultResolution field to change the resolution DefaultResolution is 96. The font look up algorithm on UNIX is: if a valid printer available then look up font information from the printer else create a screenPrinter surface look up font information from ScreenPrinter if ScreenPrinter creation fails then REP-1800 : Formatter Error if REPORTS_DEFAULT_DISPLAY is set else use Screen Fonts

10.8.2 Advanced Imaging Support

The quality of images contributes considerably to the overall appearance of a report, particularly for a Web report. You may prefer different image formats in your report output depending on the needs of your project. For example, an aeronautical firm might prefer the higher quality of JPEG or PNG images in their Web reports instead of GIF images. On the other hand, if you are building a Web portal, you might prefer GIF images because of their smaller size and faster download. Similarly, you may wish to import images of these various formats into your report. Depending on the format of your output, you may choose from a variety of formats for your images. Note: If you do add new fonts, ensure that the new AFM metrics files are placed in the AFM directory. Note: In certain multibyte languages like Chinese, you may want to use screen fonts. However, this would necessitate setting the DISPLAY variable for running the report. To revert to DISPLAY and use screen fonts old font look up algorithm: ■ Set REPORTS_DEFAULT_DISPLAY=NO ■ Remove the screenprinter.ppd entry in the uiscreenprint.txt file. See Also: ■ Chapter 9, Managing Fonts in Oracle Reports Table 10–6 Image Format Options by Output Type Report Output Available Image Format Choices HTML, HTMLCSS PNG, JPEG, JPG, GIF Printing on UNIX with Oracle Reports 10-23 To enable advanced imaging, you must set the REPORTS_DEFAULT_DISPLAY environment variable to YES. The REPORTS_OUTPUTIMAGEFORMAT environment variable lets you choose the default image type. Users can override the default choice for images with the OUTPUTIMAGEFORMAT command line keyword. For example: rwclient server=my_rep_server report=images.rdf destype=file desformat=html desname=images.html userid=scotttiger outputimageformat=PNG Enabling advanced imaging also enables you to import images of these same formats into your report. Usage Notes ■ UNIX only: Enabling advanced imaging means that you can no longer use the old Computer Graphics Metafile CGM and Oracle Graphics Data OGD formats in HTML or HTMLCSS output. If you require these formats for input sources, you should set REPORTS_DEFAULT_DISPLAY=NO. This limitation does not apply on the Windows platform. ■ Running a report with JPEG images REPORTS_OUTPUTIMAGEFORMAT=JPEG to RTF output causes an increase in the RTF file size that is not directly proportionate to the image size. This occurs because the binary image stream is first converted to HEX characters and then written to RTF. This conversion increases the file size. This is consistent with the RTF specification and is expected behavior. However, an RTF file with JPEG images is of a smaller size when compared to an RTF file with BMP images.

10.9 Frequently Asked Questions

This section addresses some commonly encountered problems with UNIX printing. ■ Common Printing Error Messages ■ PCL Printing Issues ■ PostScript Printing Issues ■ Font-Related Printing Issues PDF PNG, JPEG, JPG, GIF RTF PNG, JPEG, JPG, BMP Note: As you choose your image format, you should take into account the quality and size considerations. Typically, the higher the quality of the image format, the greater the size. For example, PNG and JPEG are higher quality than GIF, but they may also require more storage space. See Also: ■ Section A.7.3, OUTPUTIMAGEFORMAT ■ Section B.1.42, REPORTS_DEFAULT_DISPLAY ■ Section B.1.58, REPORTS_OUTPUTIMAGEFORMAT Table 10–6 Cont. Image Format Options by Output Type Report Output Available Image Format Choices