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.

Environment Variables<br />

B.1.60 TK_PRINTER<br />

Valid Values Should include %n for <strong>the</strong> printer name (see also TK_PRINT).<br />

If this environment variable is not set, <strong>Oracle</strong> <strong>Reports</strong> uses <strong>the</strong> built-in default values:<br />

System V: /usr/bin/lpstat -p'%n' 2>&1<br />

O<strong>the</strong>r: /usr/etc/lpc status '%n' 2>&1<br />

Default Not defined.<br />

Usage Notes<br />

■ You should only use this environment variable in cases where <strong>the</strong> printer status<br />

command on your platform differs from <strong>the</strong> default values, or when you have no<br />

valid printer. If you have no valid printer, you can set TK_PRINT_STATUS=echo<br />

and specify a dummy entry in <strong>the</strong> uiprint.txt file. This workaround ensures<br />

that <strong>Oracle</strong> <strong>Reports</strong> gets a valid response when checking for a printer.<br />

■ If REPORTS_NO_DUMMY_PRINTER is set, but <strong>the</strong> uiprint.txt file does not<br />

contain a valid entry, <strong>the</strong>n screenprinter.ppd specified in<br />

uiscreenprint.txt is used.<br />

Note: REPORTS_NO_DUMMY_PRINTER is set by default and is<br />

required <strong>to</strong> be set at all times. If it is not set (as a result of being<br />

user-modified), error REP-1800 error is raised.<br />

See Also: ScreenPrinter<br />

For more information on <strong>the</strong> PostScript printer driver,<br />

screenprinter.ppd.<br />

■ Printing on UNIX requires some setup and configuration <strong>to</strong> create <strong>the</strong> proper<br />

printing environment. For detailed information, refer <strong>to</strong> Printing on UNIX with<br />

<strong>Oracle</strong> <strong>Reports</strong>.<br />

Description (UNIX only) This environment variable specifies <strong>the</strong> default printer’s<br />

name.<br />

Valid Values Name of default printer.<br />

Default Not defined.<br />

Usage Notes<br />

■ TK_PRINTER takes precedence over PRINTER, i.e., if both variables are set, TK_<br />

PRINTER is considered first and PRINTER is considered only if TK_PRINTER does<br />

not specify a valid printer. If nei<strong>the</strong>r TK_PRINTER nor PRINTER is set <strong>to</strong> a valid<br />

printer, <strong>Oracle</strong> <strong>Reports</strong> uses <strong>the</strong> first entry in your uiprint.txt file. If<br />

REPORTS_NO_DUMMY_PRINTER is set, but <strong>the</strong> uiprint.txt file does not contain<br />

a valid entry, <strong>the</strong>n screenprinter.ppd specified in uiscreenprint.txt is<br />

used.<br />

B-24 <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!