Configuring Transparent Printers: Examples

Choose the applicable link for transparent print setup examples:

Setup Examples for Transparent Printing: C/X, EPC/X, Xem

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

Example 1:

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

ditty term vt100 /dev/ttyb04

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

ditty onstr "\033[5i" offstr "\033[4i" /dev/ttyb04

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

Setup Examples for Transparent Printing: Xr Adapters

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

Example 1:

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

ditty term vt100 /dev/ttyr2d

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

ditty onstr "\033[5i" offstr "\033[4i" /dev/ttyr2d

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

Setup Examples for Transparent Printing: Xe Adapters

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

Example 1:

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

ditty term vt100 /dev/ttyi2d

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

ditty onstr "\033[5i" offstr "\033[4i" /dev/ttyi2d

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