Dec 242017
 
Adds page breaks and page numbers to ASCII files.
File PAGEBRK2.ZIP from The Programmer’s Corner in
Category Word Processors
Adds page breaks and page numbers to ASCII files.
File Name File Size Zip Size Zip Type
PAGEBRK.COM 13989 10043 deflated
PAGEBRK.DOC 4578 1956 deflated

Download File PAGEBRK2.ZIP Here

Contents of the PAGEBRK.DOC file



PAGEBREAK--> The Formfeeds the
Author Forgot!
Version 1.1

Another EXCELLENT utility by

Bill Kuhn

SysOp
the THUNDERBOLT RBBS
(904)253-4846


FILES Included in PAGEBRK.ARC

PAGEBRK.COM ---- The Actual utility
PAGEBRK.DOC ---- This file


FUNCTION and PURPOSE

This document is short, as the function of Pagebreak is simple.
Pagebreak is designed to take a continuous feed document (one that
has no page format or page breaks) and add formfeeds after every 55
lines and blank lines at the top of every newly formed page. It will
also add a header line to each page with the document name and page
number.

The reason this was created was to allow printing hardcopy of a
document without having problems with lines running over perforations.
This may not be a problem if your printer is set to skip over the
perforations automatically, but if you are trying to print pages
created by the AltPage utility program (which breaks docs into odd
and even pages which may then be printed on both sides of the paper)
there is no option but to insert breaks BEFORE printing, which this
program does nicely.

OPERATION

Operation is simple. Type PAGEBRK at the DOS prompt, and follow
the prompts. The program will ask for the name of the file you wish
to add breaks to-- give it a full DOS-legal filename including
drive and path (if not the current drive and path) AND the extension.
It will then ask for a target drive/path -- give it the FULL drive
and/or path where you want the modified file to go. You may also
give the filename and target drive/path in the command line.

EXAMPLE:
if you enter

A>PAGEBRK FILELIST.TXT B:\DOCFILES

PAGEBRK will add page breaks to the file FILELIST.TXT, which
is in the current drive/path, and put the resulting file,
FILELIST.NEW on B drive in the DOCFILES subdirectory.

PAGEBREAK will automatically assign the extension .NEW to the
original filename, so if your original file was named THISFILE.DOC
you will find the modified file in the drive/path you specified under
the name THISFILE.NEW. You will see hyphens (-'s) appear on your
monitor as lines are transferred from the original file to the
.NEW one. I have not formatted the pages on this document so you
may try it on here first to see what it does...

PROBLEMS?

I have not added any spiffy error checking to this program as
it does not harm your original file so you won't lose anything but
time if something fails. You will see an I/O Error come up and the
program will abort if the filename you give it as an input file
does not exist, or if there is not enough room on the output drive
for the modified file. Other than that I have seen no problems in
the testing I have done so far.

DISCLAIMER and CAUTION

KEEP THIS IN MIND==> I TAKE NO RESPONSIBILITY FOR THE ACTIONS
OR BEHAVIOR OF THIS PROGRAM, AND WILL NOT BE HELD LIABLE FOR ANY
DAMAGES OR LOSSES CAUSED BY ITS USE!! I give this file to the public
for their TESTING. If you like it, by all means use it! If you
don't, give it to someone who might. IF YOU ARE GOING TO USE THIS
ON AN IMPORTANT DOCUMENT, ABSOLUTELY MAKE SURE YOU MAKE A COPY OF
IT AND TRY RUNNING THIS PROGRAM ON THE COPY, NOT THE ORIGINAL!!


QUESTIONS? COMMENTS? PROBLEMS?

LET ME KNOW!! I may be contacted at my BBS :

the THUNDERBOLT RBBS
300/1200/2400 baud 24hrs/day
(904)253-4846
leave a message or page me...

I may also be contacted on COMPUSERVE -- user # 73717,2335
or on GENIE -- address W. KUHN

If you really feel generous, don't hesitate to send a
contribution (any amount) to me:

WILLIAM S. KUHN
1436 TOMMY HITCHCOCK AVE
DAYTONA BEACH, FL 32014

I hope it works for you!


 December 24, 2017  Add comments

Leave a Reply