* HPMODESET: HP PJL printer control utility
@ 1995-11-06 5:00 Glenn Maughan
0 siblings, 0 replies; only message in thread
From: Glenn Maughan @ 1995-11-06 5:00 UTC (permalink / raw)
-----BEGIN PGP SIGNED MESSAGE-----
HPMODESET v1.2
- --------------
6 November 1995
Copyright (c) Glenn Maughan 1995
Many of the newer model Hewlett-Packard printers do not have a control
panel to change printer settings. In a Windows/DOS environment you
are typically given drivers that allow you to change the printer
settings. However, in a Unix environment such as Linux you usually
do not get such nice drivers! I purchased a new LaserJet printer and
found I could not control it completely under Linux. To reduce my
frustrations I developed this utility.
Hpmodeset provides a simple interface for changing printer control
settings on printers that support the Hewlett-Packard Printer Job
Language (PJL). Hpmodeset will encapsulate any number of print files,
such as PostScript or PCL, within PJL control codes.
The utility currently supports only a subset of PJL commands. The
command line switches include:
-economode/(-noeconomode) Economode on or off
-manualfeed/(-nomanualfeed) manual paper feeding on or off
(-portrait)/-landscape use portrait or landscape orientation
-noret/-lightret/ Resolution Enhancement technology setting
(-mediumret)/-darkret
-draftquality/ the print quality for the current job
(-normalquality)/
-highquality
-copies (1) number of copies to print
-resolution (600) printer resolution to use (300dpi or 600dpi)
-density (3) toner density (1 to 5)
The options/values in parenthesis are the default values.
Following any printer control options should be a list of files to
encapsulate. For example, to print the files `test.ps' and `test.pcl'
in economode with manual paper feeds, the following hpmodeset command
would perform the task:
$ hpmodeset -economode -manualfeed test.ps test.pcl | lpr
Hpmodeset can also read from stdin using `-' as the file marker. The
following command would be the ultimate in paper and toner saving
print commands:
$ psnup -2 test.ps | hpmodeset -economode - | lpr
(psnup is available in the excellent psutils package by Angus Duggan
found on many Unix utility ftp sites. Sorry I can't remember the site
I found it on, try archie!)
FEEDBACK
- --------
Please send all bugs, suggestions and support to:
Glenn Maughan
glennm@insect.sd.monash.edu.au
The ftp site for Hpmodeset is:
ftp://hornet.sd.monash.edu.au/pub/hpmodeset
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i
iQCVAwUBMJ5l7oQRll5MupLRAQGHlAQAnanTyQmHExRWMYuKL2s+p6wkW3176wmG
zrP+CaWbWwxTtFrase/qSkC93Y5160Tx1lN+rR8AerOJju0GvKrJi7pF1H5lzfOO
0XOF/GReM5+LNGdUD5gHQfuXNVWrS3h7rvzREBcYcMNGsOR60xtUK4ogLIThVOJo
Y13+epk2dBU=
=89x9
-----END PGP SIGNATURE-----
--
This article has been digitally signed by the moderator, using PGP.
Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-11-06 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-11-06 5:00 HPMODESET: HP PJL printer control utility Glenn Maughan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox