Previous Next Chapter

CMD (Change Main Device)

CMD directs your printer output to a file rather than to a printer, capturing output on disk.

To use CMD, Tool Types must be added in the CMD icon's Information window and you must indicate where to send the printer output.

The following lists the CMD Tool Types and their recognized KEYWORDS, arguments, and default settings.

DEVICE=<port>

The Amiga port where your printer is attached, either parallel or serial. DEVICE=parallel is the default.

FILE=<filename>

The name of the file to which the printer output is sent. FILE=ram:CMD_file is the default.

SKIP=true

Tells CMD to skip any short initial write. The first write sent to the printer may be a printer reset. You can use SKIP=true to ignore it. The default is SKIP=false (initial writes are not skipped).

MULTIPLE=true

Tells CMD to redirect more than one file. The default is MULTIPLE=false (onyl one file is redirected).

NOTIFY=true

Tells CMD to display progress messages. When CMD intercepts the file, a typical message that may appear is as follows:

Redirected <# of bytes> from parallel.device to <filename>

After the output is sent to the file and CMD is turned off, another message may state:

CMD redirection of parallel.device removed

The default is NOTIFY=false (messages are not displayed).

To use CMD, double-click on its icon. The next time information is sent to your printer, it goes to the designated file instead.

Top Previous Next Chapter