|
If no -density is specified on the command line 300 dots per inch
will be assumed for ljet and 90 dots per inch for pjet.
Allowable density values for a LaserJet printer are 300, 150, 100,
and 75 dots per inch. Consult the operator's manual to determine densities
supported by other printers.
If no -scale is specified the image will be expanded to fit the
printable page area.
The default printable page area is 8x10.5 inches. Other paper sizes can
be accommodated using the -height and -width options.
Note that a 1024x768 image fits the default printable area when processed
at 100 dpi with scale=1, the same image can also be printed using 300 dpi
with scale=3 but will require considerably more data be transferred to the
printer.
xpr may be tailored for use with monochrome PCL printers other than
the LaserJet. To print on a ThinkJet (HP2225A) xpr could be
invoked as:
-
xpr -density 96 -width 6.667 filename
or for black-and-white output to a PaintJet:
-
xpr -density 180 filename
The monochrome intensity of a pixel is computed as 0.30*R + 0.59*G
+ 0.11*B.
If a pixel's computed intensity is less than the -cutoff
level it will print as white. This maps light-on-dark display images
to black-on-white hardcopy. The default cutoff intensity is 50% of full
brightness. Example: specifying -cutoff 87.5 moves the
white/black intensity point to 87.5% of full brightness.
A LaserJet printer must be configured with sufficient memory to handle the
image. For a full page at 300 dots per inch approximately 2MB of printer
memory is required.
Color images are produced on the PaintJet
at 90 dots per inch. The
PaintJet is limited to sixteen colors from its 330 color palette on each
horizontal print line. xpr will issue a warning message if more than
sixteen colors are encountered on a line. xpr will program the
PaintJet for the first sixteen colors encountered on each line and use the
nearest matching programmed value for other colors present on the line.
Specifying the -rv, reverse video, option for the PaintJet will
cause black and white to be interchanged on the output image. No other
colors are changed.
Multiplane images must be recorded by xwd in ZPixmap format.
Single plane (monochrome) images may be in either XYPixmap or
ZPixmap format.
Some PCL printers do not recognize image positioning commands. Output for
these printers will not be centered on the page and header and trailer
strings may not appear where expected.
The -gamma and -render options are supported only on
the PaintJet XL printers.
The -slide option is not supported for LaserJet printers.
The -split option is not supported for HP printers.
The -gray option is not supported for HP or IBM printers.
Copyright 1986, Marvin Solomon and the University of Wisconsin.
Copyright 1988, Hewlett Packard Company.
See X(1) for a full statement of rights and permissions.
|