home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
MBUG
/
MBUG126.ARC
/
NUPRN.LBR
/
NUPRN.DOC
< prev
next >
Wrap
Text File
|
1979-12-31
|
3KB
|
56 lines
NUPRN.DOC
NUPRN is a program lister to the LST:device that allows printing on
both sides of the paper, in book fashion.
NUPRN is called by typing
NUPRN [[D:] Filename.ext]
Both the drivecode and the name of the file to be printed are
optional. The drivecode defaults to the currently logged in disk; if NUPRN
doesn't find a filename on the command line, it will ask for one.
NUPRN will prompt the user for various options, the first one being
the choice between 'normal' printing and 'double side' printing. An
heading can be appended to each page, as well as page numbers on the same
line as the heading.
Page numbers can be offset, so that the user can start numbering
pages from any number. The highest page number that will be printed is
255, which should be ample for most applications.
Provision is made to print without page numbers (perhaps a two-sided
air mail letter?).
Once the odd pages have been printed (note: if you specify an offset,
the odd pages may well have an even number), the program halts and prompts
the user to detach the paper and reload it in the printer the other side
up; any key will then resume printing the even pages.
The program has been written for a XX.80 type of printer, a page
length of 66 lines (56 of those will be text) and for 80 characters to the
line. If a line exceeds this length, the excess is printed onto the next
line and the line counter keeps the correct count of the lines printed. It
is a simple matter of changing some of the constants appearing in the main
program (source code) to adapt the program to run on different printers.
This program does not recognise dot commands nor the fact that bit
seven of every byte is set by Wordstar. Consequently, before
printing a Wordstar text file it is necessary to 'purge' it by editing out
the dot commands and by running BIT7.COM (from the CP/M User's Group) or
its modification WSTRIP.COM (that takes into account also soft hyphens) to
reset each 7th bit. Also, since the paper fed to the printer will not be
anymore in continuos form after the first pass for the odd pages (the user
must cut it in order to expose the 'verso' to printing) the printer must
be set up so that the 'out of paper' switch doesn't stop the printer
prematurely.
One last suggestion: after printing your document on both sides of
the paper, tear out the right perforated edge only. You can then collate
the individual pages and staple them on the left edge, so your document
will be in 'book' form.
Max Care
Sydney Microbee Users' Group