home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
laser
/
ljsetup.arc
/
README
< prev
Wrap
Text File
|
1986-08-13
|
2KB
|
32 lines
The file laser.c is the source to a program that will prepend the
desired setup codes for the Hewlet Packard LaserJet Printers. It takes
into account such things as page orientation, line spacing, typeface
selection, and most, if not all of the other print attributes available
on the LaserJet.
To compile simply type "make" then install the program and manpage in the
appropriate directories for your system. If anyone has any problems
they can reply to me at the address below.
The only system dependencies that I can think of off hand are the fact
that the program uses 'getopt(3)' of which a PD version was posted a
while back, and a selection of the print spooling program usually
'lpr(1)' or on System V 'lp(1)'. Either will work, there's even an
option to allow results to be send to the standard output.
Most of the typeface selections set default settings for other options
in case you are lazy and only want to select a font by it's typeface
name. One other VERY IMPORTANT point I would like to make is that if
you don't have a particular font cartridge to use some of the features
described in the source, then you can't get there from here...
--
ron@vsedev.UUCP (Ron Flax)
UUCP: ..!seismo!vsedev!ron
ARPA: vsedev!ron@seismo.CSS.GOV
[ MODERATOR'S NOTE: The /lib/cpp on my 4.2BSD Vax750 couldn't deal
with the long #define for HELP in the source; I added code to
#ifdef it out, but note that the Makefile by default enables it.
If get a "token too long" error, that's probably the cause. -r$ ]