home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
printer
/
sp.arc
/
SP.DOC
< prev
Wrap
Text File
|
1986-03-14
|
9KB
|
261 lines
SP: A PRINT SPOOLER
for the IBM Personal Computer
Version 3.4
Copyright Alan Jones 1983
3717 Wildwood Drive
Endwell, NY 13760
(607) 754-2339
November 8, 1983
SP is a software printer buffer to hold data intended for the printer.
It works like the buffers that can be installed in the printer but the
data is stored in RAM storage instead of in the printer. The buffer
is unloaded to the printer at the printer's speed while DOS proceeds
at its speed. The size of the buffer is specified as a parameter when
SP is invoked. For example,
SP 14
will produce a buffer of 14K (1K = 1024 bytes). If the parameter is
omitted, a default buffer of 16K is used. The program will work for
all work sent to the printer whether it is from the DOS TYPE command,
a PrtSc command, a BASIC LLIST or LPRINT command, a print command from
EasyWriter 1.1, etc.
If you start a printout and decide you don't want it, turn the printer
off and then back on. This will re-set the buffer.
If you want the printing to pause, hold down the ON LINE button until
the printer stops (which it will do at the end of a line). Pressing
the ON LINE button again will allow printing to resume with no loss of
data.
You can change the size of the buffer by re-invoking SP with the new
parameter. In this case, SP determines that there is already a copy
present in the machine and just alters the size of the buffer of the
older copy. (This feature not available for DOS 2.0.)
You can remove SP from the machine by specifying a buffer of zero.
That is:
SP 0
will return DOS to it's original state (except with DOS 2.0).
MULTIPLE COPIES
You can produce multiple copies of a document as long as the document is
smaller than the buffer specified. To produce more than one copy, say 3
copies, invoke SP as follows:
SP 16 3
where 16 is the buffer size and 3 is the number of copies. Note that if
you specify the number of copies you must specify the buffer size. If your
document is larger than the buffer, SP will default to one copy. You can
respecify the number of copies at any time even if there is another program
resident beyond SP. In this case, the buffer size is not changed.
SPC: A PRINT SPOOLER for use with communications.
The program SP will not work well with communications due to the fact that
SP takes over the computer for periods of time that causes received
characters to be occasionally lost. If you want to use SP with
communications, invoke the program SPC instead. This program works
slightly differently than SP. It speeds up the internal timer by a factor
of 32 and then prints only one character on each timer tick. While this
will allow you to co-exist with communication programs, it causes a slight
problem with BASICA and compiled BASIC. In these environments, a BEEP or
use of the PLAY command will cause strange sound effects and the printer
will stop momentarily.
CAVEATS:
When using with VisiCalc, do not specify a buffer larger than 23K with DOS
1.1 or 10K with DOS 2.0 since VisiCalc will not load (it cannot cross a 64K
boundary during loading.)
There is a problem when using SP with the Personal Editor Version 1.0 on
some occasions when quiting a file. This has turned out to be a problem in
PE. To patch PE: On a scratch disk, rename a copy of PE.EXE to XX and
DEBUG XX. Type E DS:56E7 and change 6 bytes of code to hex 90 by typing 90
and pressing the space bar 6 times. The previous contents of those bytes
should be C7 06 56 EF 00 00. Then use the debug command W (write) to write
the file back out. Then Q (quit) to leave DEBUG and rename XX back to
PE.EXE.
When using it in some environments such as EasyWriter, there may be
commands that allow you to stop the printer. However, when SP is present,
the program will be way ahead of the printer and will only stop sending
data to the buffer. In cases like this, turn off the printer and then turn
back on again to stop printing.
GRAPHICS ON PRINTER: If you send graphics commands to an IBM or Epson
printer with GRAFTRAX-80, GRAFTRAX-PLUS, or the IBM Printer-2 the printer
will slow down. This is due to the fact that the printer must be presented
with the graphics information as fast as it can absorb it.
OPERATING ENVIRONMENTS
SP has been tested in the following environments:
PrtSc command WordStar
DOS TYPE to printer EasyWriter 1.1
BASIC LLIST VisiCalc
BASIC LPRINT With Communications
BASIC PRINT# The Personal Editor
Lotus 1-2-3 Multiplan
PC-FILE PC-TALK
DOS 2.0 PRINT
And with the following printers:
IBM Printer and Printer-2 TI-800
C. Itoh PROWRITER Okidata
Epson MX-80 or MX-80 F/T NEC 7730
AVAILABILITY
Available from Alan Jones under the "user supported software" concept
promoted by Jim Button. See below.
COPYING
SP can be copied onto one of your own diskettes for use on your machine.
In fact we recommend including it in your AUTOEXEC's so that it is always
invoked.
DISCLAIMER.
In no event will the Author be liable to you for any damages, including any
lost profits, lost savings or other incidental or consequential damages
arising out of the use of or inability to use these programs, even if the
Author has been advised of the possibility of such damages, or for any
claim by any other party.
PERMISSION TO COPY:
Clubs and other non-profit organizations are granted permission by the
author to freely copy these programs and documentation and share it with
their members, so long as:
1. No price is charged for the software or documentation. However, a
distribution cost may be charged for the cost of the diskette, so long
as it is not more than $10 total.
2. Club members are informed of the user-supported concept and encouraged
to support it with their donations.
3. The program or documentation are not modified in any way and are
distributed together.
THE USER-SUPPORTED CONCEPT.
User-Supported Software
If you are using this program and find it to be of value
your contribution will be appreciated.
($15 is suggested)
Alan Jones
3717 Wildwood Drive
Endwell, NY 13760
Regardless of whether you make a contribution,
you are encouraged to copy and share this program.
User-supported software is an experiment in distributing computer
programs, based on these beliefs:
1. That the value and utility of software is best assessed by the
user on his/her own system.
2. That the creation of personal computer software can and should
be supported by the computing community.
3. That copying of programs should be encouraged, rather than
restricted.
Anyone may request a copy of a user-supported program by sending a
blank, formatted disk to the author of the program. An addressed,
postage-paid return mailer must accompany the disk (no exceptions,
please). A copy of the program, with documentation on the disk,
will be sent by return mail. The program will carry a notice
suggesting a contribution to the program's author. Making a
contribution is completely voluntary on the part of each user.
Free distribution of software and voluntary payment for its use
eliminates costs for advertising and copy protection schemes.
Users obtain quality software at reduced cost. They can try it out
before buying, and do so at their own pace and in the comfort of
their own home or office. The best programs will survive, based
purely on their quality and usefulness.
Please join the experiment.
If you believe in these ideals, your contribution is solicited to
help make them work.
Many of you have written requesting an invoice so that you could initiate
payment through your company accounting system. The following invoice is
provided for those of you in this category, or for those who wish an
invoice for your tax records. Perhaps it will serve the purpose.
--------------------
INVOICE
--------------------
Purchased from:
ALAN JONES
3717 Wildwood Drive
Endwell, NY 13760
DATE: / / Invoice No. 831201
--------------------------------------------------------------
PRICE PRICE
PRODUCT QTY EACH EXTENDED
------------------------- --- ----- --------
SP: A Print Spooler
program and
documentation 1 $15 $15
SALES TAX 0
--------------------------------------
PLEASE PAY THIS AMOUNT $15 TOTAL
--------------------------------------------------------------
Please make check payable to :ALAN JONES
You may retain this Invoice
for your tax records.