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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table 3–20 Image Format Options by Output Type<br />

Report Output Available Image Format Choices<br />

HTML,HTMLCSS PNG, JPEG, JPG, GIF<br />

PDF PNG, JPEG, JPG, GIF<br />

RTF PNG, JPEG, JPG, BMP<br />

Setting <strong>the</strong> default printer for an in-process server<br />

To enable advanced imaging, you must set <strong>the</strong> REPORTS_DEFAULT_DISPLAY<br />

environment variable <strong>to</strong> YES. The REPORTS_OUTPUTIMAGEFORMAT environment<br />

variable lets you choose <strong>the</strong> default image type. Users can override <strong>the</strong> default choice<br />

for images with <strong>the</strong> OUTPUTIMAGEFORMAT command line keyword. For example:<br />

rwclient server=my_rep_server report=images.rdf destype=file desformat=html<br />

desname=images.html userid=scott/tiger outputimageformat=PNG<br />

Enabling advanced imaging also allows you <strong>to</strong> import images of <strong>the</strong>se same formats<br />

in<strong>to</strong> your report.<br />

Usage Notes<br />

Note: As you choose your image format, you should take in<strong>to</strong><br />

account <strong>the</strong> quality and size considerations. Typically, <strong>the</strong> higher<br />

<strong>the</strong> quality of <strong>the</strong> image format, <strong>the</strong> greater <strong>the</strong> size. For example,<br />

PNG and JPEG are higher quality than GIF, but <strong>the</strong>y may also<br />

require more s<strong>to</strong>rage space.<br />

■ Enabling advanced imaging means that you can no longer use <strong>the</strong> old CGM and<br />

OGD formats in outputs of type HTML or HTMLCSS. If you require <strong>the</strong>se formats<br />

for input sources, you should set REPORTS_DEFAULT_DISPLAY <strong>to</strong> NO. This<br />

limitation does not apply on <strong>the</strong> Windows platform<br />

■ Running a report with JPEG images (REPORTS_OUTPUTIMAGEFORMAT=JPEG)<strong>to</strong><br />

RTF causes an increase in <strong>the</strong> RTF file size that is not directly proportionate <strong>to</strong> <strong>the</strong><br />

image size.The reason being that <strong>the</strong> binary image stream is first converted <strong>to</strong> HEX<br />

characters and <strong>the</strong>n written <strong>to</strong> RTF. This conversion increases <strong>the</strong> file size. This is<br />

as per <strong>the</strong> RTF specification and is expected behavior. However, an RTF file with<br />

JPEG images is of a smaller size when compared <strong>to</strong> an RTF with BMP images.<br />

See Also:<br />

■ Appendix B, "<strong>Reports</strong>-Related Environment Variables"<br />

For more information on environment variables.<br />

■ Appendix A, "Command Line Options"<br />

For more information on command line keywords.<br />

3.8 Setting <strong>the</strong> default printer for an in-process server<br />

The in-process server does not recognize <strong>the</strong> default printer of a user currently logged<br />

on <strong>to</strong> Windows. This is because <strong>the</strong> service that runs <strong>the</strong> in-process server is logged on<br />

as <strong>the</strong> Local System. Therefore, you might face <strong>the</strong> following issues:<br />

■ Printing <strong>to</strong> default printer fails with <strong>the</strong> REP_3002 error. For example, <strong>the</strong><br />

following command:<br />

Configuring <strong>Oracle</strong>AS <strong>Reports</strong> Services 3-47

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

Saved successfully!

Ooh no, something went wrong!