Husky MP2500 Manual page 173

Hide thumbs Also See for MP2500:
Table of Contents

Advertisement

would store input received from COM2 in the file INPUT.TXT, until an end-
of-file marker (Ctrl-Z) is received. Note the /A switch; this makes sure that
Ctrl-Z is interpreted as end of file.
CAUTION:
There is a problem when using the MS-DOS COPY
command like this. If the transmitting system sends data
slower than the receiving system requires it, the COPY
command will time out, inserting a NUL (ASCII 0) character
in the input for each such timeout. This is unlikely to
happen if the transmitting system is simply copying data
from a fast disk, but may cause problems if copying data
from a slow peripheral or processing data before sending it.
If this is the case, try a slower Baud rate or edit the NULs
from the received file.
CAUTION:
Set SERIG to ignore nulls.
COPY LISTING.TXT COM2/A E
would transmit the file LISTING.TXT via COM2, ending with a Ctrl-Z (so the
other system can detect the end of the file). Again, note the /A switch,
which ensures that Ctrl-Z is sent. If the destination does not need to detect
the end of the file (for example, is a printer), you could omit this.
These commands may be quite sufficient for transferring ASCII (text) files,
but are not suitable for transferring binary files. To do this, you must use the
MP2500 HCOM utility (see section 14.5) or a communications application
(see section 14.9).
COM2 is configured as LPT1 automatically, so any command that prints will
usually direct its output to COM2. For example:
S W+P
T+P
PRINT filename E
Chapter 14: Using Communications
E
E
E
output current screen contents to COM2
(there is no Print Screen key on the
MP2500)
Echo subsequent screen output to
COM2 until T+P pressed again
queue a file for output to COM2 in
background. (The PRINT command is
not installed as standard.)
151

Advertisement

Table of Contents
loading

Table of Contents