Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

PSET^%ZISP: Set Up Special Printer Variables

Reference Type: Supported, Category: Device Handler, ICR#: 3172

Description

The PSET^%ZISP API defines a set of variables that toggle special printer modes. The corresponding fields in the TERMINAL TYPE (#3.2) file entry for the terminal type in question must be set up correctly, because that is where PSET^%ZISP retrieves its output values.

Format

  PSET^%ZISP

Make sure to perform the following steps before calling this API:

  1. NEW all non-namespaced variables.

  2. Set all input variables.

  3. Call the API.

Input Variables

IOST(0):

(required) Pointer to the TERMINAL TYPE entry for the printer in question, as set up by the Device Handler.

Output Variables

IOBAROFF:

Bar code off.

IOBARON:

Bar code on.

IOCLROFF:

Color off.

IOCLRON:

Color on.

IODPLXL:

Duplex, long edge binding.

IODPLXS:

Duplex, short edge binding.

IOITLOFF:

Italics off.

IOITLON:

Italics on.

IOSMPLX:

Simplex.

IOSPROFF:

Superscript off.

IOSPRON:

Superscript on.

IOSUBOFF:

Subscript off.

IOSUBON:

Subscript on.

Example

To toggle a printer mode with one of PSET^%ZISP's output variables, WRITE the variable to the printer using indirection, as follows:

>D PSET^%ZISP
>W @IOBARON