### Transparent Printing: Setup Examples

Use the stty-ncxa program to set up your terminal for transparent printing.

The value for term sets the transparent printer on/off strings to values found in the internal default table. Internal defaults are used for the following terminal types: adm31, ansi, dg200, dg210, hz1500, mc5, vt100, vt220, vt320, vt420, wang2x36, wyse30, wyse50, wyse60 or wyse75. If the terminal type is not found in the internal default table, then stty-ncxa reads the terminfo entry for the terminal type and sets the transparent print on/off strings to the values given by the mc5/mc4 attributes found there.

Note: The the term option for the command stty-ncxa has no relation to the the value TERM.

#### Example 1:

The following command configures the transparent print options for a DEC VT100 terminal connected to /dev/tty-0-0 (note that the printer will be called /dev/tty-0-0p). maxcps, maxchar and bufsize are left to defaults. Enter:

`stty-ncxa term vt100 /dev/tty-0-0`

#### Example 2:

The following example uses onstr and offstr arguments (this sets the terminal to use ANSI Standard). Again maxcps, maxchar, and bufsize are defaults. Enter (on a single command line):

`stty-ncxa onstr "\033[5i" offstr "\033[4i" /dev/tty-0-0`

#### Example 3:

This example command sets the transparent print option for a WYSE30 terminal, with maxcps of 75, a maxchar of 100, and a printer buffer size, bufsize, of 1000. Enter (on a single command line):

`stty-ncxa term wyse30 maxcps 75 maxchar 100 bufsize 1000 /dev/tty-0-0`