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.

Frequently Asked Questions<br />

■ The printer specified in uiprint.txt must be enabled at <strong>the</strong> operating system<br />

level. A quick test is <strong>to</strong> try printing any file from <strong>the</strong> command line using lp or<br />

lpr. If you can print using one of <strong>the</strong>se commands and get <strong>the</strong> output on <strong>the</strong><br />

printer, <strong>the</strong>n <strong>the</strong> printer is enabled.<br />

■ The printer queue and uiprint.txt entry syntax must be valid.<br />

If <strong>the</strong> printer validation fails, refer <strong>to</strong> <strong>the</strong> environment variables TK_PRINT_<br />

STATUS and REPORTS_NO_DUMMY_PRINTER in Environment Variables.<br />

REP-00826 - Invalid printer driver xxx specified by parameter desformat.<br />

REP-00177 - Error while running in remote server (When run through CGI)<br />

Cause:<br />

An invalid value was specified for DESFORMAT for <strong>the</strong> specified report execution<br />

mode.<br />

Solution:<br />

The DESFORMAT parameter specifies which output format is needed. Valid formats are:<br />

■ For bit-mapped reports, any of <strong>the</strong> output formats supported by <strong>Oracle</strong> <strong>Reports</strong><br />

(Postscript, PCL, PDF, HTML, XML, HTMLCSS) is valid for DESFORMAT. You<br />

should not give <strong>the</strong> PRT file names here. While running <strong>to</strong> a file, <strong>the</strong> DESFORMAT<br />

parameter needs <strong>to</strong> be set <strong>to</strong> a valid printer queue. <strong>Oracle</strong> <strong>Reports</strong> uses <strong>the</strong> printer<br />

definition file associated with <strong>the</strong> printer <strong>to</strong> format <strong>the</strong> output.<br />

■ For character mode reports, DESFORMAT sets up <strong>the</strong> output for ASCII printers and<br />

passes escape characters. For running character mode reports, make sure you<br />

change <strong>the</strong> MODE parameter <strong>to</strong> Character and use any valid .PRT file.<br />

Table 5–6 maps <strong>the</strong> command line options (DESTYPE, DESNAME, and DESFORMAT) <strong>to</strong><br />

<strong>the</strong> printer by what you are trying <strong>to</strong> achieve.<br />

Table 5–6 DESTYPE, DESNAME, and DESFORMAT settings by case<br />

Case DESTYPE DESNAME DESFORMAT<br />

Generating <strong>to</strong> a file File file_name.ps printer name<br />

Printing Printer printer name<br />

Distribute=Yes printer name<br />

Mode=Character file_name.prt<br />

REP-01800 - Formatter error.<br />

REP-00177 - Error while running in remote server<br />

(When run through CGI)<br />

Cause:<br />

The error indicates that a printer configuration issue has occurred on a UNIX server.<br />

Even if <strong>the</strong>re is not a physical printer available on <strong>the</strong> system, you have <strong>to</strong> set it up as if<br />

<strong>the</strong>re was one.<br />

Solution:<br />

1. Verify that <strong>the</strong>re is a valid entry in uiprint.txt.<br />

Printing on UNIX with <strong>Oracle</strong> <strong>Reports</strong> 5-19

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

Saved successfully!

Ooh no, something went wrong!