home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
utility
/
ps16.zip
/
PS.DOC
< prev
Wrap
Text File
|
1993-01-20
|
23KB
|
602 lines
PRINT SCREEN
Version 1.6
Graphics Print Screen
for the IBM Personal Computers and Other Compatibles
---------
User's Manual
(c) 1993 O'Brien Consulting Services
January, 1993
Table of Contents
Introduction................................................1
Registered Version Features.................................2
Installation................................................3
Color Translation File Format...............................4
APPENDICES:
-----------
System Requirements and Limits..............................A
Warranty/Disclaimer/Terms and Conditions....................B
Registration................................................C
PAGE 1
-- INTRODUCTION --
PRINT SCREEN is memory resident utility which supercedes your
systems built in print screen function. The program will print
all standard CGA, EGA and VGA graphics screens with resolutions
up to 640 by 480 in up to 16 colors. It will also print the
monochrome graphics screen in 720 by 348 resolution. 256 color
screens are not supported since translating 256 colors to a
black on white printed output would almost certainly be
unreadable. Graphics modes above the standard 640 by 480 (such
as 800 by 600 and 1024 by 768) are also not supported because
there is no standard followed by board manufacturers on how to
implement these graphics modes.
PRINT SCREEN supports the IBM, EPSON and HP LASER JET printers
and their 100% compatibles. Most printers made today for MS-DOS
based PC's can emulate one of these printer standards.
Once PRINT SCREEN is installed you simply have to press the
print screen key (or execute interrupt 05h within your program)
to get the screen printed. If PRINT SCREEN does not support
the current video mode, such as a screen in text mode or one
with 256 colors, it will invoke the print screen function that
was active before PRINT SCREEN was loaded.
If your printer is not ready when the print screen key is
pressed, a beep will sound and the screen will not be printed.
Once PRINT SCREEN decides to print a screen, the screen image
will be centered on the page (based on 8.5 by 11 inch paper),
rotated by 90 degrees, printed, and then a form feed issued.
PRINT SCREEN uses less than 5k once it is installed.
PAGE 2
-- REGISTERED VERSION FEATURES --
If and when you register your version of PRINT SCREEN, you will
receive a version which provides more features than the
shareware version found on many bulletin boards. This version
provides the following:
o The ability to remove the program from memory
o The ability to use parallel port 2 (LPT2)
o The ability to change the programs configuration
on the fly
o The ability to change color patterns printed. If you
don't like or can't read the printed version of light
blue on a red background for example, you can can change
the light blue and red to patterns that are more readable.
PAGE 3
-- INSTALLATION --
The PRINT SCREEN program is named PS.COM. Simply typing 'PS'
followed by the enter key will install PRINT SCREEN using
its default configuration of parallel port 1 using an EPSON
printer.
Typing 'PS ?' and pressing enter will display the copyright
information and the format of the command line used to start
PRINT SCREEN:
Registered Version:
PS x [/2][/colorfile]
Where x = I for an IBM Proprinter
x = 4 for an IBM 4019 Laser
x = H for an HP Laserjet
x = SPACE for an Epson (default)
x = U to unload from memory
/2 = Optionally to use parallel port 2
/colorfile = Optional ascii file to override
default color patterns
Example:
PS h/2 --> HP Laserjet on LPT2
PS /2 --> Epson on LPT2
PS I/c:\my_color --> IBM on LPT1 with overriding
color translation file named
C:\MY_COLOR
PS u --> Unloads PRINT SCREEN from
memory
PS 4/2/c:\util\color --> IBM 4019 laser printer on
LPT2 with overriding color
translation file C:\UTIL\COLOR
Shareware Version:
PS x
Where x = I for an IBM Proprinter XL24
x = 4 for an IBM 4019 Laser
x = H for an HP Laserjet
x = SPACE for an Epson (default)
Example:
PS h --> HP Laserjet on LPT1
PS --> Epson (default) on LPT1
Note: Some printers that are configured as an IBM Graphics
printer will work better using the Epson setting rather
than the IBM Proprinter XL24 setting. Most Epson graphics
are compatible with IBM.
PAGE 4
-- COLOR TRANSLATION FILE FORMAT --
The process of creating your own tailored color patterns may
seem somewhat teedious but can have drastic effects if you want
to incorporate PRINT SCREEN into custom applications. Each
pixel on the screen translates into a pixel or dot printed, so
the entire process deals with turning bits on and off.
Each pattern printed consists of an 8 by 8 bit block that repeats
from column to column, row to row. Each color, 16 in all, then
has an 8 by 8 bit block associated with it. The translation file
has sixteen records which correspond to the following colors:
Record 1 - Black
Record 2 - Blue
Record 3 - Green
Record 4 - Cyan
Record 5 - Red
Record 6 - Magenta
Record 7 - Brown
Record 8 - White
Record 9 - Dark Gray
Record 10 - Light Blue
Record 11 - Light Green
Record 12 - Light Cyan
Record 13 - Light Red
Record 14 - Light Magenta
Record 15 - Yellow
Record 16 - High Intensity White
Each record is terminated by a carriage return and line feed
which is makes this a standard ascii file which can be created
with a text editor like DOS's EDLIN.
Each record (or color translated) is an 8 by 8 bit block which
totals 64 bits, supplied in hexadecimal format. As you will soon
see, this requires 16 bytes or characters per each record.
If we look at a simple screen that has a black background and
high intensity white text, you might say the background is blank
and the foreground is as bright as possible. This is the default
that PRINT SCREEN uses. Black is blank, so no dots are printed
on the output. The bright white is just the opposite in that
all dots are printed. The following are the bit blocks used
for these two colors. A '0' means a dot will not be printed,
a '1' means a dot will be printed.
PAGE 5
-- COLOR TRANSLATION FILE FORMAT (continued) --
BLACK HIGH INTENSITY WHITE
00000000 11111111
00000000 11111111
00000000 11111111
00000000 11111111
00000000 11111111
00000000 11111111
00000000 11111111
00000000 11111111
All other colors inbetween BLACK and HIGH INTENSITY WHITE have
varing patterns of '0' and '1' such as in the following colors
LIGHT RED CYAN
11101110 01010100
11011101 00101011
10111011 01010101
01111111 11101000
11111110 01010100
11011101 00101011
10111011 01010101
01110111 11101000
All the bit patterns supplied above have 8 rows (left-to-right)
and 8 columns (top-to-bottom). Each ROW of bits has to be
translated into hexadecimal format. A chart of the bit
translations is supplied.
A bit pattern of '00000000' (a row in black) translates to
hex '00'. A bit pattern of '11111111' (a row in white)
translates to hex 'FF'.
Using BLACK as an example, we need 8 occurances of '00' which,
in the first record of the translation file would be
'0000000000000000'. The record for WHITE would then be
'FFFFFFFFFFFFFFFF'. This is why each of the 16 records in the
color translation file needs 16 bytes or characters.
PAGE 6
-- COLOR TRANSLATION FILE FORMAT (continued) --
A color translation file that exactly matches the defaults
used in PRINT SCREEN would be as follows:
0000000000000000
0008004000000200
8A452A158A452A15
542B55E8542B55E8
EEDDBB77EEDDBB77
77BBDDEE77BBDDEE
7EBDDBE7E7DBBD7E
FFFFFFFFFFFFFFFF
0000008000000080
0800008008022000
AA45AA158A452A95
552B55E8552B55E8
EEDDBB7FFEDDBB77
77BBDDFE7FBBDDEE
FFBDFFE7FFDBFF7E
FFFFFFFFFFFFFFFF
Using the bit translation table on the next page, CYAN and
LIGHT RED are translated as follows:
LIGHT RED CYAN
11101110 = EE 01010100 = 54
11011101 = DD 00101011 = 2B
10111011 = BB 01010101 = 55
01111111 = 7F 11101000 = E8
11111110 = FE 01010100 = 54
11011101 = DD 00101011 = 2B
10111011 = BB 01010101 = 55
01110111 = 77 11101000 = E8
LIGHT RED's record then is 'EEDDBB7FFEDDBB77'
CYAN's record then is '542B55E8542B55E8'
Make sure that when you create the file, all letters are
entered in upper case, 16 records exist in the file, each
record contains 16 bytes or characters, and each record is
terminated by a carriage return and line feed.
Bit pattern to hexidecimal table: PAGE 7
00000000=00 00110100=34 01101000=68 10011100=9C 11010000=D0
00000001=01 00110101=35 01101001=69 10011101=9D 11010001=D1
00000010=02 00110110=36 01101010=6A 10011110=9E 11010010=D2
00000011=03 00110111=37 01101011=6B 10011111=9F 11010011=D3
00000100=04 00111000=38 01101100=6C 10100000=A0 11010100=D4
00000101=05 00111001=39 01101101=6D 10100001=A1 11010101=D5
00000110=06 00111010=3A 01101110=6E 10100010=A2 11010110=D6
00000111=07 00111011=3B 01101111=6F 10100011=A3 11010111=D7
00001000=08 00111100=3C 01110000=70 10100100=A4 11011000=D8
00001001=09 00111101=3D 01110001=71 10100101=A5 11011001=D9
00001010=0A 00111110=3E 01110010=72 10100110=A6 11011010=DA
00001011=0B 00111111=3F 01110011=73 10100111=A7 11011011=DB
00001100=0C 01000000=40 01110100=74 10101000=A8 11011100=DC
00001101=0D 01000001=41 01110101=75 10101001=A9 11011101=DD
00001110=0E 01000010=42 01110110=76 10101010=AA 11011110=DE
00001111=0F 01000011=43 01110111=77 10101011=AB 11011111=DF
00010000=10 01000100=44 01111000=78 10101100=AC 11100000=E0
00010001=11 01000101=45 01111001=79 10101101=AD 11100001=E1
00010010=12 01000110=46 01111010=7A 10101110=AE 11100010=E2
00010011=13 01000111=47 01111011=7B 10101111=AF 11100011=E3
00010100=14 01001000=48 01111100=7C 10110000=B0 11100100=E4
00010101=15 01001001=49 01111101=7D 10110001=B1 11100101=E5
00010110=16 01001010=4A 01111110=7E 10110010=B2 11100110=E6
00010111=17 01001011=4B 01111111=7F 10110011=B3 11100111=E7
00011000=18 01001100=4C 10000000=80 10110100=B4 11101000=E8
00011001=19 01001101=4D 10000001=81 10110101=B5 11101001=E9
00011010=1A 01001110=4E 10000010=82 10110110=B6 11101010=EA
00011011=1B 01001111=4F 10000011=83 10110111=B7 11101011=EB
00011100=1C 01010000=50 10000100=84 10111000=B8 11101100=EC
00011101=1D 01010001=51 10000101=85 10111001=B9 11101101=ED
00011110=1E 01010010=52 10000110=86 10111010=BA 11101110=EE
00011111=1F 01010011=53 10000111=87 10111011=BB 11101111=EF
00100000=20 01010100=54 10001000=88 10111100=BC 11110000=F0
00100001=21 01010101=55 10001001=89 10111101=BD 11110001=F1
00100010=22 01010110=56 10001010=8A 10111110=BE 11110010=F2
00100011=23 01010111=57 10001011=8B 10111111=BF 11110011=F3
00100100=24 01011000=58 10001100=8C 11000000=C0 11110100=F4
00100101=25 01011001=59 10001101=8D 11000001=C1 11110101=F5
00100110=26 01011010=5A 10001110=8E 11000010=C2 11110110=F6
00100111=27 01011011=5B 10001111=8F 11000011=C3 11110111=F7
00101000=28 01011100=5C 10010000=90 11000100=C4 11111000=F8
00101001=29 01011101=5D 10010001=91 11000101=C5 11111001=F9
00101010=2A 01011110=5E 10010010=92 11000110=C6 11111010=FA
00101011=2B 01011111=5F 10010011=93 11000111=C7 11111011=FB
00101100=2C 01100000=60 10010100=94 11001000=C8 11111100=FC
00101101=2D 01100001=61 10010101=95 11001001=C9 11111101=FD
00101110=2E 01100010=62 10010110=96 11001010=CA 11111110=FE
00101111=2F 01100011=63 10010111=97 11001011=CB 11111111=FF
00110000=30 01100100=64 10011000=98 11001100=CC
00110001=31 01100101=65 10011001=99 11001101=CD
00110010=32 01100110=66 10011010=9A 11001110=CE
00110011=33 01100111=67 10011011=9B 11001111=CF
APPENDIX A
-- SYSTEM REQUIREMENTS AND LIMITS --
PRINT SCREEN has been successfully run using DOS 2.0 through
DOS 4.01 and has been run on the following machines (not all
versions of DOS on all machines):
o IBM PC
o IBM XT
o IBM XT/286
o IBM AT
o IBM PS/2 Model 50, 60, 70 and 80
o Compac Deskpro
o Compac SLT 286
o Leading Edge Model D
o Gateway 2000 25mhz 80386
o AMI 33mhz 80486
PRINT SCREEN requires about 7k on startup and when installed
uses less than 5k of memory.
A CGA, EGA, VGA, MCGA or Monochrome Graphics card is required.
An HP Laserjet Series II, Epson, IBM Proprinter or IBM 4019
Laser printer or their 100% compatibles is required.
APPENDIX B
-- WARRANTY/DISCLAIMER/TERMS & CONDITIONS --
O'Brien Consulting Services warrants to the original purchaser of
this computer software product that the recording media on which
the programs are recorded will be free from defects in material
and workmanship for ninety (90) days from the date of purchase.
Defective media returned by the purchaser within ninety (90) days
will be replaced without charge provided the returned media have
not been subjected to misuse, damage, or excessive wear.
O'Brien Consulting Services does NOT warrant that the programs
will meet the purchaser's specific requirements. ANY STATEMENTS
MADE REGARDING THE UTILITY OF THE PROGRAMS ARE NOT TO BE CONSTRUED
AS EXPRESS OR IMPLIED WARRANTIES.
THIS WARRANTY IS IN LIEU OF ALL OTHER WARRANTIES, WHETHER WRITTEN
OR ORAL, EXPRESSED OR IMPLIED. ANY IMPLIED WARRANTIES, INCLUDING
IMPLIED WARRANTIES OF MECHANTABILITY AND FITNESS FOR A SPECIFIC
PURPOSE ARE EXCLUDED.
IN NO EVENT WILL O'BRIEN CONSULTING SERVICES BE LIABLE FOR
INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND IN CONNECTION WITH
THE SOFTWARE PRODUCT.
Registered copies of PRINT SCREEN may be purchased by completing
the attached registration form and send it with a check for $20.00
each for PRINT SCREEN (quantity discounts, network pricing and
site licenses also available) to O'Brien Consulting Services at
the address given. Purchase orders will be accepted subject at all
times to apprval of O'Brien Consulting Services. Terms of payment
for orders received via purchase order are "Due Upon Receipt".
O'Brien Consulting Services shall not be liable for delays in
performance caused by riots, strikes, floods, accidents, or any
other contingency beyond its control.
Accepted orders are subject to cancellation charges to the extent
O'Brien Consulting Services shall be reimbursed for the cost of
reasonable expense incurred prior to the cancellation as a result
of order acceptance.
PRINT SCREEN distribution package, consisting of the program and
documentation files are copyright (c) 1993 by O'Brien Consulting
Services. The author reserves the exclusive right to distribute
this product, or any part thereof, for profit.
Under NO CIRCUMSTANCES may modified versions or disassembled
versions be distributed, either for profit or in the public
domain.
APPENDIX B
-- WARRANTY/DISCLAIMER/TERMS & CONDITIONS (con't)--
User's groups, clubs, libraries and clearing houses are authorized
to distribute the FREE version of PRINT SCREEN pursuant to the
following conditions:
1. No charge is made for the software or documentation. A
nominal distribution fee may be charged, provided that it
is no more that $7 total.
2. The program and documentation are distributed together and
are not modified in ANY way.
APPENDIX C
-- REGISTRATION --
Once you become a registered user of PRINT SCREEN you will receive
a new version of PRINT SCREEN which will include capabilities for
LPT2, unloading, updating configuration and color translation
tailoring. You will also receive the following benefits:
o Support by phone or mail. Support will only be
provided to registered users.
o Notice of significant upgrades and bug fixes. You will
be notified by mail for any such updates. There will be
no charge for updates as long as you send us a diskette
and return postage.
Each copy of PRINT SCREEN is registered for use on one computer
only and a registered copy is required for each additional
computer. The price breakdown is given below:
PRINT SCREEN
Copies Price Per Copy
-------- ----------------
1-50 $20.00
51-100 $17.00
101-500 $15.00
500+ $14.00
The price for networks $100.00 for each file server and $7.00
for each computer (node) on the network.
The registered version of PRINT SCREEN can be used in commercial,
educational, and governmental institutions.
The shareware version of PRINT SCREEN is expressly prohibited for
use in commercial, educational, and governmental institutions
except for the purpose of evaluation.
APPENDIX C
-- REGISTRATION FORM --
Please send me a copy of the current full version of PRINT SCREEN
and add me to the list of registered users, to be eligible for
support and update notices.
Computer Model: _____________________________________________
Quantity by diskette Type: _______ 5.25 in. ________ 3.5 in.
Company Name: _____________________________________________
Your Name: _____________________________________________
Title: _____________________________________________
Address: _____________________________________________
City, State, Zip: _________________________________________
Phone: _____________________________________________
Any initial comments about PRINT SCREEN?
___________________________________________________________
___________________________________________________________
___________________________________________________________
Where did you hear about PRINT SCREEN?
___________________________________________________________
___________________________________________________________
___________________________________________________________
May we use your comments and/or name in future literature for
PRINT SCREEN products? _____(yes) _____(no)
Send registration form and check or money order to:
O,Brien Consulting Services
P.O. Box 742
Mequon, Wi. 53092
(414) 241-9504