Convert .phs output for a Hewlett-Packard PCL compatible printer
Pp.pcl [-1] [-A] [-b size] [-c colors] [-D debug_fname]
[-d] [-L] [-ocn] [-odn] [-of] [-ogn] [-oh]
[-omn] [-opn] [-orn] [-oSX,Y] [-osn] [-oyn]
[-U file] [-V]
filename
- -1
- Invert black and white colors.
- -A
- Force anti-aliasing of fonts.
- -b size
- Specify size of printer buffer in bytes.
- -c colors
- Force size of color palette.
- -D debug_fname
- Send debug information to the specified file.
- -d
- Delete input file after processing.
- -L
- Enable landscape mode.
- -ocn
- Adjust cyan gamma correction (where negative is lighter, positive is darker).
- -odn
- Set printer graphical depletion (default: 1). Ranges between
0 (disables) and 5 (remove every fifth pixel).
- -of
- Enable Floyd-Steinberg dithering (the default).
- -ogn
- Adjust black gamma correction (where negative is lighter, positive is darker).
- -oh
- Enable halftone dithering (default: "-of").
- -omn
- Adjust magenta gamma correction (where negative is lighter, positive is darker).
- -opn
- Specify printing type. Choices are: 1 (B/W), 3 (CMY color), 4 (CMYK).
- -orn
- Set resolution (default: 300 DPI). Valid choices are: 75, 150, 300, 600.
- -oSX,Y
- Set scale in the X or Y dimension (e.g.
-oS0.75,0.6), where scale value may be:
- negative
- scale as a multiple of the source image size
- positive
- scale as a multiple of the page size
- 0
- maximum size while respecting the aspect ratio
- -osn
- Specify multiple pass printing "shingling" (default: 1).
Valid range is between 0 and 2 passes.
- -oyn
- Adjust yellow gamma correction (where negative is lighter, positive is darker).
- -U file
- Delete this file when the print job is completed. Use for synchronizing
print-spooling operations.
- -V
- Be verbose (-VV: be more verbose).
- filename
- Name of a Photon draw-stream (*.phs) file.
This utility converts .phs output for Hewlett-Packard PCL compatible printers.
The Pp.pcl driver is usually used as a part of lpsrvr or
called directly from the prsetup configuration.
Hewlett-Packard suggests the following settings:
Paper Type
|
Shingling
|
Depletion |
Plain paper (Fast)
|
0 (none)
|
5 (50% with gamma correction) |
Plain paper (Normal)
|
1 (50%)
|
1 (25%) |
Plain paper (Better)
|
2 (25%)
|
4 (25% with gamma correction) |
Plain paper (Best)
|
2 (25%)
|
5 (50% with gamma correction) |
HP glossy paper (Normal)
|
2 (25%)
|
1 (25%) |
HP glossy paper (Best)
|
0 (0%)
|
1 (25%) |
Black transparency film
|
2 (25%)
|
0 (No depletion) |
Color transparency film (Normal)
|
1 (50%)
|
1 (25%) |
Color transparency film (Best)
|
2 (25%)
|
0 (No depletion) |
Pp.pcl file.phs >/dev/par
The output is sent to stdout. Typically this is redirected to
a printer device, as shown in the example.