
PrtPMLM is a Dos utility to print files written by SIO's PMLM utility.

This program is not supported by SIO or Ray Gwinn in any way.
You are free to use it in any way that is useful.

The program accepts the PMLM file path as the first command line parameter.

The default output is to device LPT1 (opened as a file).

A different output device or file may be specifed as optional parameter two.

Examples:

 prtpmlm  inputfile             (output goes to LPT1 by default)

 prtpmlm  inputfile  LPT2       (if you prefer LPT2)

 prtpmlm  E:\dir\inputfile  outputfile       (or to a file for later)


The output is a simple text file, and is shown as a typical hex dump, with
up to 16 charcters per line. The left side is the hex value of all characters,
and the right side is the ascii value of all printable characters.  If the
character is not printable, an ascii period is shown for it, but the hex value
is always present too.

The "modes" are sent characters, received characters, or control signals.
The mode applicable to each line is shown in the left hand margin.
Any line is terminated when the mode changes, and a new line started with
the new "mode", in order to preserve all information shown by ViewPMLM.

No timing infomation is shown because it is not present in the input file,
but sequence order is preserved from the PMLM information.

Output files are typically twice the size of the input file.

That's about it, dont make it hard.

Output looks like this:


Input file is D:\pmlm.out

Legend:
< = sent
> = rcvd
* = ctrl on
. = ctrl off

*  28 44 54 52 29 28 52 54 53 29                     (DTR)(RTS)
<  41                                                A
>  41                                                A
<  54 26 46 0d                                       T&F.
>  54 26 46 0d                                       T&F.
*  28 44 43 44 29                                    (DCD)
>  0d 0a 4f 4b 0d 0a                                 ..OK..
<  41 54 26 46 26 43 31 26 44 32 53 39 35 3d 34      AT&F&C1&D2S95=4
>  41 54 26 46 26 43 31 26 44 32 53 39 35 3d         AT&F&C1&D2S95=
<  34 53 39 35 3d 34 34 53 31 31 3d 37 30 4c 30      4S95=44S11=70L0
>  34 34 53 39 35 3d 34 34 53 31 31 3d 37 30 4c      44S95=44S11=70L
<  0d                                                .
>  30 0d                                             0.
.  28 64 63 64 29                                    (dcd)
>  0d 0a 4f 4b 0d 0a                                 ..OK..



Wayne Fulton
fulton@cyberramp.net
CompuServe  75570,1426

