home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
misc
/
gold03.lzh
/
GF_003
/
CMD
/
CMD.DOC
< prev
next >
Wrap
Text File
|
1991-04-28
|
3KB
|
63 lines
TITLE: Cmd.uu v4 - Redirects serial or parallel to file
For those of you who have asked for the ability to capture printer
output in a file...
Cmd redirects serial.device or parallel.device output to a file.
This allows you to capture the printer output of many applications
(including screen dumps) in a file.
Cmd version 4 includes changes which allow Cmd to work with the
HPLaser drivers which PWrite during a Forbid in their Close logic
to print and eject the last sheet.
CLI Usage: [run] Cmd [-s] [-m] [-n] parallel|serial filename
(or Cmd ? for help)
Example: run Cmd -m -n parallel ram:pfile
To end a multiple (-m) Cmd, CTRL-C, or use BREAK if run
Workbench: Just double click. All args specified in .info ToolTypes.
Workbench defaults:
DEVICE=parallel
FILE=ram:CMD_file
SKIP=FALSE
MULTIPLE=FALSE
NOTIFY=FALSE
To end a MULTIPLE Cmd, double-click CMD again
Options (CLI or Workbench ToolTypes):
-s (ToolTypes: SKIP=TRUE)
If the -s (SKIP) option is specified, Cmd will ignore an initial
short (less than 8 bytes) write to the device and not save that
write in the file. This option is useful when capturing a
screen dump because most of our drivers currently send a Reset
string to the printer before the dump. The driver then delays
so that subsequent data sent is not lost. When the dump is
captured in a file, this programmatic delay is lost and the
following bytes are endangered by the reset. In most cases,
this option should prevent the Reset string from being stored
in the Cmd file. You should be able to copy the resulting file
directly to PAR: (or SER:) for a quick dump.
-m (Tooltypes: MULTIPLE=TRUE)
If the -m (MULTIPLE) option is not specified, the file is closed
and the redirection removed when the device is closed by the
application. With the -m option, Cmd remains installed and
opens a new file (with .n extension) each time the device is
opened.
-n (Tooltypes: NOTIFY=TRUE)
The -n (NOTIFY) option causes output of progress messages about
the redirection. I like noisy utilities but many others don't,
so it's an option.
Cmd - Copyright (c) 1987 Commodore Business Machines - All Rights Reserved
This program may be freely non-commercially redistributed.
Only warranty is works fine for me --- Carolyn Scheppner