### Configuring Transparent Printers: Examples

Use the ditty program to set up your terminal for transparent printing.

ditty commands may be manually inserted in the startup file /etc/rc.d/8/userdef so they are executed every time the system boots.

#### Example 1:

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

`ditty term vt100 /dev/ttyh2d`

#### Example 2:

The following example uses onstr and offstr arguments (this sets the terminal to use ANSI Standard). Enter this command at a command prompt:

`ditty onstr \033[5i offstr \033[4i /dev/ttyh2d`

#### 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):

`ditty term wyse30 maxcps 75 maxchar 100 bufsize 1000 /dev/ttyh2d`