Category : Files from Magazines
Archive   : VOL8N7.ZIP
Filename : LASERLST.DOC

 
Output of file : LASERLST.DOC contained in archive : VOL8N7.ZIP

LASERLST.COM
Command

Michael Holmes and Bob Flanders
1989 No. 7 (Utilities)


Purpose: Formats text files so that two standard-sized pages will print
side-by-side on a single landscape mode page when using an HP LaserJet (or
compatible) laser printer.

Format: [d:][path]LASERLST infile [outfile] [/Tn]

Remarks: The infile parameter designates the text file(s) to be printed.
DOS "wildcards" (* and ?) can be used to designate multiple files, and a drive
and path may also be included as part of infile.

By default, LASERLST sends its output to the standard DOS printing
device, which is normally LPT1:. The optional outfile parameter can be used to
direct the output either to another DOS device (e.g., LPT2:), or to a disk file
instead. The optional /Tn switch causes each tab character (ASCII 9) in the
infile to be replaced in the outfile with n spaces. The default value of n is
8; other values up to 16 may be used.

The outfile produced by LASERLST contains the requisite formatting and
printing Escape sequences used by the HP LaserJet series printers. The infile
is printed in landscape mode with two 66-line x 81-character pages on each
physical page. Files suitable for processing by LASERLST should be ASCII files
that do not contain Escape sequences of their own and that do not require any
specific word processor's formatting codes. Underlining produced by a backspace
and character overstrike is supported, however. LASERLST may be used with files
whose line lengths exceed 81 characters if it is understood that lines will be
wrapped automatically at their 82nd character and that no provision is made for
word wrap. LASERLST is especially suitable for printing program listings,
readme files, and rough drafts of text to be edited.

Available for downloading from PC MagNet (see the LASERLST by Modem
sidebar in the published article), LASERLST.COM is already compiled and ready to
run. As an alternative, LASERLST.COM can be created from either of two program
files that are both printed in the article and are available for downloading
from PC MagNet. LASERLST.BAS will automatically create LASERLST.COM when run
once in BASIC. To create LASERLST.COM from the LASERLST.ASM source code
requires use of a macro assembler (IBM or Microsoft, Version 2 or later) and the
following commands:

MASM LASERLST;
LINK LASERLST;
EXE2BIN LASERLST LASERLST.COM;



  3 Responses to “Category : Files from Magazines
Archive   : VOL8N7.ZIP
Filename : LASERLST.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/