Kernel V. 8.0 APIs Banner [skip navigation]
VHA Office of Information - Health Systems Design and Development (HSD&D) 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 of the following variables.

  2. Set the input variables you want changed.

  3. Call the API.

If you do not follow these steps, the variables could unintentionally assume the values of the variables of the current running task.

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 / HSD&D / Site Map / Terms of Use / VA Privacy Policy / Accessibility

Reviewed/Updated: November 14, 2006

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.