home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine 1996
/
ARCHIVE_96.iso
/
discs
/
mag_discs
/
volume_2
/
issue_04
/
hp_deskjet
/
HPINFO
< prev
next >
Wrap
Text File
|
1988-12-29
|
2KB
|
44 lines
Hewlett Packard Deskjet ScreenDump Module
This is an Archimedes module and is a screen dump for
the Hewlett Packard Deskjet printer, made with the excellent
ABC compiler. To use it, the RMAsize must be configured for
at least 4 and then one does:
*RMLOAD HPDeskJet
The commands to dump any graphics screen (Modes 0 to 20,
except the text modes) are:
Straight dump: *DeskJet
Dump with colours inverted: *DeskJet I
Dump with small size: *DeskJet S
Dump inverted and small: *DeskJet I S
The dumps are all shaded to represent the luminance of the
colours on the screen.
The ABC compiler gave a fivefold speed increase over BASIC,
well worth it. So the raw BASIC program is NOT included,
far too slow and embarrassing.
I have appended some MODE 18/20 screen dumps done with this
module to the Deskjet. (MODEs 18 or 20 were used to show
that a very high definition is obtainable on the printer.)
Warnings:
1. The normal dump leaves out the right hand 6% of the
screen, being in 75, 150 or 300 dots per inch,
depending on screen mode. The Small dump copies the
whole screen, being in 100 dots per inch.
2. The 256 colour modes are translated to 7 shades
only. There are not enough dots to give more shades
per pixel per colour.
3. The 256 colour modes and the 16 colour modes with
640 pixels width take ages! This is mostly because
they are in 300 dots per inch to give the resolution of
the shades per pixel. When I feel determined enough I
may try to put the dump into proper machine code to see
if that speeds things up.