USE-PRINTER-TYPE

Syntax

USE-PRINTER-TYPE printer-type

Description

Sets the printer type to be used for the current report.

The USE-PRINTER-TYPE command sets or alters the printer type to be used for the current report. The USE-PRINTER-TYPE command must appear before the first output is written to that report. If output has already been written to the report file, the USE-PRINTER-TYPE command is ignored.

Parameters

Parameter Description

printer-type

Specifies the printer type to be used for the current report. See DECLARE-PRINTER for valid types.

Example

The following example shows the USE-PRINTER-TYPE command:

use-report customer_orders
use-printer-type PostScript
print (1, 1) 'Customer Name: '
print () $customer_name

See DECLARE-PRINTER, DECLARE-REPORT, USE-REPORT