A script-enabled browser is required for this page to function properly.

TK_PRINT environment variable

(UNIX only) This environment variable specifies the print command to be executed on UNIX for Oracle Reports 6i. In Oracle Reports 10g (9.0.4), TK_PRINT is obsolete: you can achieve the same results by using the printing script file: $ORACLE_HOME/bin/rwlpr.sh. This script supports lp and lpr commands by default. If you use some other printing command for your machine, this file needs to be modified accordingly.

Valid Values

The print command and all necessary arguments for your flavor of UNIX, including the following elements:

  • %n is the printer name string.

  • %c is the number of copies.

This string is much like a printf() format. If this environment variable is not set, Oracle Reports uses the standard default value for the platform. Examples of default values on various platforms are as follows:

System V: lp -s -d'%n' -n%c

UnixWare: lp -s -Tpostscript -d'%n' -n%c

Solaris: lpr -P'%n' -#%c -s

Default

Not defined.

Usage notes

See also

Environment variables