|
Reference Type: Supported, Category: Device Handler, ICR#: 3172
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.
PSET^%ZISP
Make sure to perform the following steps before calling this API:
| IOST(0): |
(required) Pointer to the TERMINAL TYPE entry for the printer in question, as set up by the Device Handler. |
| 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. |
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 |