home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
CMDS
/
hpset.lzh
/
readme.hpset
< prev
Wrap
Text File
|
1995-03-21
|
2KB
|
49 lines
HPSET
This is a quick program I wrote to set up my HP-compatible laser printer. It
should work okay on inkjets too.
To use the program, just type "hpset <enter>". You will be presented with a
screen of options and a cursor bar. Move the cursor bar with the <j> and <k>
keys. To change an options, use <h> and <l>. Once you have the options set to
your liking, press <ENTER> and the printer will be setup. If you press <q> the
program will exit without sending the data to the printer.
By default, the printer name is "/p". You can change this by using the -p
option when start hpset. For example:
hpset -p=/p1
Of course, since this distribution includes the source you could change it
there...
To compile the program, use the following command line:
cc hpset -i -l=/dd/lib/termlib.l
If you are interested in C programming have a good look at the source. It
uses an interesting technique of an array of structures with function
pointers.
Some of the various options will not have any effect on the printer... depending on what fonts, etc. you have loaded. For example, on my
printer "light font weight" has no effect; I don't have "italic bold"; etc. Of
course, if you have more builtin fonts or have downloaded soft fonts to
the printer this may well work.
Oh...and the cost of this program? Well, it is free. However, I do ask that
you send me a postcard if you use the program. Why? Well, that way I can send
you a catalogue of our OSK software.
Have fun.
Bob van der Poel Software
PO Box 355, Porthill, ID, USA 83853
or
PO Box 57, Wynndel, BC, Canada, V0B 2N0
or
Email: CIS 76510,2203