Convert .phs output for an Epson ESC/P2 printer
Pp.escp2 [-1] [-A]] [-b size] [-c colors] [-D debug_fname]
[-d] [-L] [-M model] [-ocn] [-odn] [-oDn]
[-of] [-ogn] [-oh] [-oL] [-omn] [-opn]
[-orn] [-oSX,Y] [-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.
- -M model
- Specify Epson model number (e.g. 400, 500, 600). (You can also specify the model
number in the command. For example, Pp.escp2.600 indicates
the Epson model 600.)
- -ocn
- Adjust cyan gamma correction (where negative is lighter, positive is darker).
- -odn
- Set printer graphical depletion (default: 0 is disabled).
Ranges between 2 and 5 where a value of 2
removes 50% of the pixels, 3 removes 33% of the pixels, etc.
If you're printing to an Ink Jet printer, use this option to deplete the amount of ink
that's used when printing solid colors. It can prevent the paper from
getting soaked.
- -oDn
- Specify ink dot size. Range is 0 to 4.
- -oL
- Fractional string-extent loop limit. The maximum number
of iterations that the sting-extent algorithm attempts
to fit a string into the required bounding box.
(Default: 3. For quicker, but sloppier text, use 0.
Values greater than 6 aren't recommended.)
- -of
- Enable Floyd-Steinberg dithering (default).
- -ogn
- Adjust black gamma correction (where negative is lighter, positive is darker).
- -oh
- Halftone dithering (default: "-of").
- -omn
- Adjust magenta gamma correction (where negative is lighter, positive is darker).
- -opn
- Printing type. Choices are: 1 (B/W); 3 (CMY color); 4 (CMYK).
- -orn
- Set resolution (default: 360 DPI).
- -oSX,Y
- Set scale in the X or Y dimension (e.g. -oS0.75,0.6).
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
- -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 an Epson ESC/P2 printer.
The Pp.escp2 driver is usually used as a part of lpsrvr or
called directly from the prsetup configuration.
Pp.escp2 file.phs >/dev/par
The output is sent to stdout. Typically this is redirected to
a printer device, as shown in the example.