TK_DEBUG_POSTSCRIPT Debugging Options

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 10-24 Publishing Reports to the Web with Oracle Reports Services ■ Printed Output Issues

10.9.1 Common Printing Error Messages

REP-00177 - Error while running in remote server REP-1800 - Formatter error REP-3300 - Fatal error in component name UI-9 - This function call is out of context. REP-3002: Internal error initializing printer information Cause: These errors generally indicate a printer configuration issue. Action: Check the printer queues that have been defined at the operating system level in your setup. You can use: ■ lpc status ■ lpstat -a If a valid printer queue is installed, check for the following: ■ uiprint.txt must have a valid entry for the printer. ■ Oracle Reports must be able to open and read the uiprint.txt file: The person running the report must have operating system level read permissions on uiprint.txt. Oracle Reports must be able to open the uiprint.txt. UNIX operating systems do have an open file limit. If you are over that limit, Oracle Reports might not be able to open uiprint.txt. ■ The printer description files specified in uiprint.txt must exist in your installation in: ORACLE_INSTANCEconfigFRComponentfrcommonguicommontkadmin ■ The printer specified in uiprint.txt must be enabled at the operating system level. A quick test is to try printing any file from the command line using lp or lpr. If you can print using one of these commands and get the output on the printer, then the printer is enabled. Note: Reports Server uses rwlpr for submitting a print job. For rwlpr logging for Windows, when you enable tracing for Reports Server using either traceModule=all or traceModule=server, a printing diagnostic log server_ name-rwlpr-jobid.log is created in the log directory ORACLE_ INSTANCEdiagnosticslogsReportsServerComponent reports server name for destype=printer. This log file will contain information regarding the messages that can be used to diagnose any printing issues, such as spooler problem.