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.

Debugging Options<br />

printer that does not have <strong>the</strong> Chinese fonts installed, it will not print <strong>the</strong> Chinese<br />

characters properly.<br />

5.5.2 Overview of IX and PASTA<br />

5.6 Debugging Options<br />

5.6.1 DEBUG_SLFIND<br />

When installed and used with <strong>Oracle</strong> Applications, <strong>Oracle</strong> <strong>Reports</strong> has an additional<br />

utility for font embedding in PostScript output.<br />

For character mode reports, <strong>the</strong> utility is called PASTA. For bit-mapped reports, a new<br />

component called IX is shipped with <strong>Oracle</strong> <strong>Reports</strong>. IX allows you <strong>to</strong> embed <strong>the</strong> fonts<br />

in <strong>the</strong> PostScript output <strong>the</strong>reby allowing you <strong>to</strong> print even if <strong>the</strong> font is not installed<br />

on <strong>the</strong> printer. Both PASTA and IX are supported only for <strong>Oracle</strong> <strong>Reports</strong> used with<br />

<strong>Oracle</strong> Applications.<br />

When used for character mode reports, PASTA takes tagged character mode output<br />

(generated via an appropriate prt file) and generates a PostScript rendition of it. IX<br />

enables <strong>Oracle</strong> <strong>Reports</strong> <strong>to</strong> print PostScript bit-mapped reports for all character sets,<br />

including UTF8, on a PostScript printer. With this functionality, PostScript printing in<br />

Unicode as well as all native languages on Solaris is supported. The IX library is<br />

turned off by default with <strong>the</strong> <strong>Oracle</strong> <strong>Reports</strong> patch.<br />

Please refer <strong>to</strong> your <strong>Oracle</strong> Applications System Administra<strong>to</strong>r’s Guide for <strong>the</strong> setup and<br />

usage information for IX and PASTA with <strong>Oracle</strong> <strong>Reports</strong>. If you are a member of<br />

MetaLink (http://metalink.oracle.com), you can also get this information from<br />

MetaLink notes 189708.1 and 159225.<br />

If you have problems with PASTA, you can use <strong>the</strong> following technique <strong>to</strong> isolate <strong>the</strong><br />

problem:<br />

1. Unset <strong>the</strong> PASTA environment variable.<br />

2. Try <strong>to</strong> perform <strong>the</strong> steps that caused <strong>the</strong> problem again.<br />

3. If <strong>the</strong> problem reproduces without <strong>the</strong> environment variable set, <strong>the</strong>n it should be<br />

treated as a normal <strong>Oracle</strong> <strong>Reports</strong> printing problem and <strong>the</strong> diagnostic steps<br />

provided in this document should be applied.<br />

If <strong>the</strong> problem reproduces only with <strong>the</strong> PASTA environment variable set, <strong>the</strong>n<br />

follow <strong>the</strong> diagnostic process given in <strong>the</strong> <strong>Oracle</strong> Applications documentation.<br />

This section explains <strong>the</strong> different environment variables and techniques available in<br />

<strong>Oracle</strong> <strong>Reports</strong> for <strong>the</strong> debugging of UNIX printing problems.<br />

■ DEBUG_SLFIND<br />

■ TK_DEBUG_POSTSCRIPT<br />

If this environment variable is set, <strong>the</strong> file-finding routine lists what was searched for<br />

and where <strong>Oracle</strong> <strong>Reports</strong> searched for it. This information is a tremendous help if<br />

your current configuration does not work. You can send <strong>the</strong> output <strong>to</strong> a file, stdout<br />

(for standard output), or <strong>to</strong> stderr (for output <strong>to</strong> standard error). If you try <strong>to</strong> send<br />

<strong>the</strong> output <strong>to</strong> a file and it cannot be written <strong>to</strong>, <strong>Oracle</strong> <strong>Reports</strong> uses stderr instead.<br />

We recommend sending <strong>the</strong> output <strong>to</strong> a file because it is faster and <strong>the</strong> output can be<br />

quite large. Sample output from DEBUG_SLFIND is shown below. Notice how <strong>the</strong><br />

5-16 <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!