home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
EDITORS
/
PBREAK.ZIP
/
PBREAK.DOC
< prev
next >
Wrap
Text File
|
1992-07-28
|
6KB
|
124 lines
PBREAK 2.0 -- (C) 1992 Dickson Computing, Ltd. (07/28/92)
Written by John Dickson and Hugh McManus.
Page breaking/formatting utility for text files.
Usage: PBREAK INFILE.EXT OUTFILE.EXT /? /D /R /Hn /Lnn /F /S /T='TITLE TEXT'
OPTION DEFAULTS FUNCTION
/? (NO ) -- This Command help message is displayed
/D (OFF) -- Use DOUBLE spacing for OUTFILE.EXT (NOTE: if INFILE.EXT
is double spaced, OUTFILE.EXT will be quadruple
spaced)
/R (OFF) -- Place 80 column ruler at Top of Form
/Hn (OFF) -- Repeat n line header from page 1
/Lnn (54 ) -- Use nn lines per page in OUTFILE
/F (OFF) -- Place "From: INFILE.EXT" in header
/S (OFF) -- Place double line (====) Separator between header and
body of file
/T='TITLE TEXT' -- TITLE to be used in header of OUTFILE.EXT
PBREAK is designed to be placed in the same directory as your DOS files (or
any other directory which is on your command search PATH). Then execute
PBREAK in the directory which contains your text file. The output file
should also be created in the current directory, as PBREAK 2.0 doesn't
allow long pathnames. PBREAK can currently handle text files with 512
columns, and should only be limited by free disk space as to length of
the file. An example INFILE.EXT is included for you to play with.
Lets look at the command switches in more detail:
/D (OFF) -- Use DOUBLE spacing for OUTFILE.EXT (NOTE: if INFILE.EXT
is double spaced, OUTFILE.EXT will be quadruple
spaced)
This switch will cause a single spaced input file to be double spaced
in the output file. Thus if you also use /L60 you will only get 30
lines of text on a page.
/R (OFF) -- Place 80 column ruler at Top of Form
This switch causes an 80 column ruler with a dividing line to be
placed immediately above the text. The ruler looks like this:
1 2 3 4 5 6 7 8
12345678901234567890123456789012345678901234567890123456789012345678901234567890
---------+---------+---------+---------+---------+---------+---------+---------+
/Hn (OFF) -- Repeat n line header from page 1
This switch causes a header to be placed at the top of each page,
consisting of whatever is in the top 'n' lines in the INFILE.EXT.
This makes it real easy to add a header to a report or any other
file by simply going into your favorite text editor and typing
what you want in the header and using PBREAK with /H1 for a one
line header. (NOTE: Headers are limited to nine lines.)
/Lnn (54 ) -- Use nn lines per page in OUTFILE
This switch sets the number of lines on a given page, this includes
additional lines created by PBREAK's other switches. The number of
lines can be set up to 99 lines per page. PBREAK uses 54 lines per
page as its default so that when you want to print, you can adjust
your printer such that the first line will be an inch from the top
and you will have a 1 inch top and bottom margin. (As far as left
and right margins, they have to be in your INFILE.EXT.)
/F (OFF) -- Place "From: INFILE.EXT" in header
This switch includes the INFILE.EXT filename in the header, because
you need to know this sometimes for future reference.
/S (OFF) -- Place double line (====) Separator between header and
body of file
This switch adds a double line separator between your header and your
text, which makes for cleaner output in some situations. (You will
probably not want to use /S with /R.)
/T="TITLE TEXT" -- TITLE to be used in header of OUTFILE.EXT
This switch includes any text found between the first " and the
second " and places it on the first line of each page. (NOTE:
All text found between the quotes is converted to upper case.)
The print order of all of the switches used is as follows:
THIS IS PBREAK'S TEST TITLE
From: INFILE.EXT
HEADER line #1 HEADER line #1 HEADER line #1 HEADER line #1 HEADER line #1
HEADER line #2 HEADER line #2 HEADER line #2 HEADER line #2 HEADER line #2
HEADER line #3 HEADER line #3 HEADER line #3 HEADER line #3 HEADER line #3
1 2 3 4 5 6 7 8
12345678901234567890123456789012345678901234567890123456789012345678901234567890
---------+---------+---------+---------+---------+---------+---------+---------+
================================================================================
body line # ?? body line # ?? body line # ?? body line # ?? body line # ??
body line # ?? body line # ?? body line # ?? body line # ?? body line # ??
PRINTING A FORMATTED FILE:
Simply type the following DOS command after you set up your printer to print:
COPY OUTFILE.EXT PRN (or LPT1, LPT2, or LPT3 depending upon whether
you have more than 1 printer or printer ports)
If you find PBREAK easy and convenient to use, a registration of $5 would be
appreciated. If you send $10 or more you will receive, when available, the
next version of the PBREAK program. Please state the version & release date
of the software that you currently have. Please feel free to distribute the
unmodified PBREAK.ZIP to others. See ORDER.FRM for details.
Send check or money order to: Dickson Computing, Ltd.
411 Gravois Drive
Shreveport, LA 71106