;
                                 PRTASM.COM                                   

             Size (recs) CRC   Version    Author/Latest Issue      Disk
               2k (16)   C7EC  1.6        Gene Pizzetta 8/89       Z3COM9

  1- Usage  2- Modifications  3- Notes                                        



   PRTASM is  a ZCPR3 utility  that prints  assembly  source  code  and  other
program listings  on the CP/M LST device.   It  prints  the  filename and page 
number in the upper  right  corner  of  each page.   If  a real-time  clock is
available under ZDOS or DateStamper,  it will also  print the  current date to 
the left of the filename.  It is configured for Epson printers  and runs under 
ZCPR 3.x only.  Vs 1.0 (9/87) by Gene Pizzetta.

:1


 Usage   PRTASM {dir:}<fn.ft>

   An input  filename is required.  If a drive, user, or directory name is not 
given, the current drive and/or user is assumed.

   This program has  been tested  on  a Micromint SB180FX using an Epson FX-85 
printer.  It should work equally well on any machine using an Epson-compatible 
printer and running ZCPR 3.x.
:2
 Modifications - 1/2 

   Printer codes may be changed  to work  with any printer,  or to  adjust the
left margin,  printing pitch,  and number of lines per printed page.   Changes 
should be made at the following labels in the source code:

     LinMax    This equate sets the number of lines  per printed
               page, EXCLUDING the three lines used by  the page
               header.

     TabStr    The number of tabs sent to the printer to put the
               header on the right side of the page.

     EliStr    The escape code to  put the  printer in elite (or
               other)  pitch.   The first byte is  the number of
               characters to send.
 Modifications - 2/2 

     MarStr    The escape code to set the printer's left margin.
               The first byte  is  the  number  of characters to
               send.

     RstStr    The escape  code  to  reset  your  printer  (this
               program cleans up when it's through).   The first
               byte is the number of characters to send.

     BoldOn    The escape code to  put  your printer in boldface
               (for printing the header).  The first byte is the
               number of characters to send.

     BoldOf    The escape code to cancel your printer's boldface
               mode.  The first byte is the number of characters
               to send.
:3
 PRTASM Notes - 1/2 

   a. Version 1.6 updates (8/89):
      - minor change in header format

   b. Version 1.5 updates (7/89):
      - now prints date in header line if a  real-time clock is  working under
        DateStamper or ZDOS (must be linked with version 4 SYSLIB's)

   c. Version 1.4 updates (6/89):
      - slight change in screen display

   d. Version 1.3 updates (3/89):
      - adds DU filespec and ZCPR3 TCAP support
      - incorporates SYSLIB routines
      - now preserves the CP and no longer warm boots
 PRTASM Notes - 2/2 

   e. Version 1.2 updates (10/88):
      - eliminates CP/M Plus dependencies.  
      - adds printer cleanup on user abort.   
      - still sends a failure code to  the BDOS on error, to support CP/M Plus
        conditional submits.   CP/M 2.2  doesn't recognize it,  but it does no 
        harm.

   f. Version 1.1 updates (9/87):
      - added page numbering and boldface filename in header
