01.02.2013 Views

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DISPLAY and Printer Dependencies on UNIX<br />

■ Surface resolution when REPORTS_DEFAULT_DISPLAY=YES.<br />

■ Removal of <strong>the</strong> printer dependency.<br />

If, when generating report output, <strong>the</strong>re is no valid printer queue available (not found<br />

from TK_PRINTER,ORACLE_PRINTER,PRINTER, or uiprint.txt), <strong>the</strong> surface<br />

based on screenprinter.ppd will be created and used <strong>to</strong> get font information. You<br />

can modify <strong>the</strong> Fonts section of screenprinter.ppd <strong>to</strong> include new fonts, and<br />

modify <strong>the</strong> DefaultResolution field <strong>to</strong> change <strong>the</strong> resolution<br />

(DefaultResolution is 96).<br />

The font look up algorithm on UNIX is:<br />

if a valid printer available <strong>the</strong>n<br />

look up font information from <strong>the</strong> printer<br />

else<br />

create a screenPrinter surface<br />

look up font information from ScreenPrinter<br />

if ScreenPrinter creation fails <strong>the</strong>n<br />

REP-1800 : Formatter Error if REPORTS_DEFAULT_DISPLAY is set<br />

else<br />

use Screen Fonts<br />

3.7.2 Advanced Imaging Support<br />

Note: If you do add new fonts, ensure that <strong>the</strong> new AFM files are<br />

placed in <strong>the</strong> AFM direc<strong>to</strong>ry.<br />

Note: In certain multi-byte languages like Chinese, you may want<br />

<strong>to</strong> use screen fonts. However, this would necessitate setting <strong>the</strong><br />

DISPLAY variable for running <strong>the</strong> report.<br />

To revert <strong>to</strong> DISPLAY and use screen fonts (old font look up<br />

algorithm):<br />

■ Set REPORTS_DEFAULT_DISPLAY=NO<br />

■ Remove <strong>the</strong> screenprinter.ppd entry in <strong>the</strong><br />

uiscreenprint.txt file.<br />

See Also:<br />

■ Managing Fonts in <strong>Oracle</strong> <strong>Reports</strong><br />

■ Printing on UNIX with <strong>Oracle</strong> <strong>Reports</strong><br />

For more information about fonts and printing on UNIX.<br />

The quality of images contributes considerably <strong>to</strong> <strong>the</strong> overall appearance of a report,<br />

particularly for a <strong>Web</strong> report. You may prefer different image formats in your report<br />

output depending on <strong>the</strong> needs of your project. For example, an aeronautical firm<br />

might prefer <strong>the</strong> higher quality of JPEG or PNG images in <strong>the</strong>ir <strong>Web</strong> reports instead of<br />

GIF images. On <strong>the</strong> o<strong>the</strong>r hand, if you are building a <strong>Web</strong> portal, you might prefer GIF<br />

images because of <strong>the</strong>ir smaller size and faster download. Similarly, you may wish <strong>to</strong><br />

import images of <strong>the</strong>se various formats in<strong>to</strong> your report.<br />

Depending on <strong>the</strong> format of your output, you may choose from a variety of formats for<br />

your images.<br />

3-46 <strong>Oracle</strong> Application Server <strong>Reports</strong> Services <strong>Publishing</strong> <strong>Reports</strong> <strong>to</strong> <strong>the</strong> <strong>Web</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!