Metropoli BBS
VIEWER: asmprn.doc MODE: TEXT (ASCII)
ASMPRN.EXE

ASMPrn.EXE is Copyright (C) 1993 by Gene Fowler and is not public domain
software, involving Borland's copyrights as well as my own. You may use Key-
Read.EXE without paying a licensing fee, and you pass it along to others if
you do not sell it or charge a fee beyond reasonable costs for getting it del-
ivered and that you include this file with the .EXE file. If you make a $15
donation to the "workbench" fund, I'll send you the improved version when
there is one.

There is no warranty, real or imaginable, of any kind on this software. I
don't see any conceivable harm, electronic, physical or moral, that can follow
from running the program or using its data, but if you're inventive enough to
do harm with it, you'll have to sue yourself.

ASMPrn--for .ASM file printer--can be used as a standalone line printer with
enhancements for printing .ASM source code, but the procedure will seem a bit
strange. If you do use ASMPrn from the DOS prompt, you type it's name and the
switches you want to use, but no file name. In fact, you must copy the file you
want to print into a file called ASMPrn.TMP in your current directory. The
enhancements (on the /f switch) are useful only for .ASM files. Comments are
printed in italics if the selected printer has italics and underlined other-
wise, and strings in the dseg forrest are in bold. The /d switch darkens the
base print on the dot matrix printers, using bold if the /f isn't used and nlq
otherwise.

The peculiarities are because I wrote this for use with my ASMEnv.EXE, an ASM
IDE further customized (though easily recustomized) to be used with Borland's
TASM and support software. It parallels, but doesn't replicate, the TP/BP IDEs.
Anyway, from 1.9 the Print item on the menu uses ASMPrn (feeding it the ASMPrn-
.TMP file (which explains the peculiar standalone procedure).

I birthed ASMPrn from Borland's PrnFltr.EXE used in the BP 7.0 package in a
similar "wired in" structure. Consequently, I use the printers they use and
trust it will, in fact, work on them (mainly, the codes are correct). I do ad
the /Propr and /HP- switches. My own testing is on the /propr and /ps (Post-
script). My TrueLaser will emulate the HP as well as PS, ...but I don't know
which breed, so haven't tried it.

Printers Supported:

     EPSON and compatibles;
     HP LaserJet II, III, IIP, IID, IIID, IIISi and compatibles
     (Italics are available on IIIx, IIP);
     ADOBE(R); PostScript(R);
     ASCII (which is about like the "Save to Prn" from 1.8)

Command Line Switches (Set in Printer Setup in ASMEnv)

    /EPSON   - Output EPSON printer codes.
    /Propr   - Output EPSON-like printers w/o
               itals (IBM Proprinter).
               /F will use underline.
    /HP      - Output HP LaserJet codes
    /HP-     - HP printers w/o itals,
               /F will use underline.
    /PS      - Output PostScript.
    /ASCII   - straight "copy to prn" (Default).

    /Lxx     - Lines per page (Default 55).
    /Txx     - Tabsize (Default 8).
    /O[file] - Output to file or device
               (Default LPT1).
    /F  - ASM comments in itals (or underline).
          and strings in bold. Otherwise,
          printers are simple line printers.
    /D  - Puts Epson and Proprinter on Bold if
          no /F, otherwise NLQ, which slows
          but DARKENS base print. (Bold is
          reserved for /F string printing).

If nothing else about this is useful to you and you just use it as an ASCII
line printer, being able to use a Postscript printer as a line printer outside
of Windows will be worth the bother.

No electronic addresses. Correspondence has to be by way of renting pack room
on the U.S. Mule...

Gene Fowler
The Re-Geniusing Project
1432 Spruce Street
Berkeley, CA 94709

[ RETURN TO DIRECTORY ]