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 /usr/conf/digi/dgdxb/portconfig 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/ttya01 (note that the printer will be called /dev/pra01). maxcps, maxchar and bufsize are left to defaults. Enter:

ditty term vt100 /dev/ttya01

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/ttya01

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/ttya01