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

PSET^%ZISP: Set Up Special Printer Variables

Reference Type: Supported, Category: Device Handler, Integration Agreement: 3172

Description

This API defines a set of variables that toggle special printer modes. The corresponding fields in the TERMINAL TYPE file (#3.2) 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

 


VA (Internet) / VA(Intranet) / OI / PD / Site Map / Terms of Use / VA Privacy Policy / Accessibility

Reviewed/Updated: August 26, 2011

If you have questions, need more information, or are having accessibility problems with this website, please contact us by E-Mail: Webmasters, Phone: 510-768-6800, or FAX: 510-768-6850.