Photon IJS printing client
phs-to-ijs [options] -Xoutfile phsfile
- -A
- Force anti-aliasing of fonts.
- -B size
- Specify the size of the printer buffer in bytes.
This buffer is used if the specified input file is a FIFO.
- -b size
- Specify the size of the slice buffer in bytes.
The size can be:
- 0 -- automatically determine the size, based on the page size.
- positive -- use the specified fixed buffer size.
- negative -- don't allocate a buffer.
The page slice buffer must be large enough to hold at least one line of
the output image; that is:
size >= dots_per_inch * page_width(inches) *
bytes_per_pixel
- -C
- Disable the compression of output data.
- -d
- Delete the input file after processing.
- -h height
- Specify the initial height of the source image, if it isn't specified
by the input file.
The default is 480 pixels.
- -L
- Enable landscape mode.
- -m model
- Select the printer model by specifying a string that matches
the MODEL field of the IEEE 1284 Device ID string.
For example, -m"Stylus COLOR 777".
- -n name
- Specify the name of the printer.
- -ocn
- Adjust the cyan gamma correction for Floyd-Steinberg dithering.
A negative value means less, positive means more.
- -oe
- Use Epson dithering (the default).
- -of
- Enable Floyd-Steinberg dithering (default: -oq).
- -ogn
- Adjust the black gamma-correction for Floyd-Steinberg dithering.
A negative number means lighter, positive means darker.
- -oh
- Enable halftone dithering (default: -oq).
- -oin
- Adjust the intensity (0-49 is dark, 50 is normal, and 51-99 is light).
The default is 50.
- -omn
- Adjust the magenta gamma correction for Floyd-Steinberg dithering.
A negative value means less, positive means more.
- -opn
- Specify printing type.
The choices are: 1 (B/W); 3 (CMY color);
4 (CMYK).
- -oQn
- Set the print quality (0 is draft, 1 is normal, 2 is high).
The default is 1.
- -oq
- Use the QNX dithering method (default).
- -orn
- Set the resolution; the default is 360*360 DPI.
- -oSX,Y
- Scale the image in the X or Y dimension
(e.g. -oS0.75,0.6). The scale value may be:
- Negative
- Scale as a multiple of the source image size.
For example, use -oS-1,-1 to print the image at
exactly its source size.
Each pixel of the image corresponds to one printed dot on the page.
The size of the printed image varies, depending on the printer
resolution (DPI).
- Positive
- Scale as a multiple of the page size.
For example, use -oS1,1 to print the image at
the full page size.
In this example, the image is distorted if its aspect ratio (X:Y) is
different from the page's width:height ratio.
- 0
- Use the maximum size while respecting the aspect ratio of the source
image.
For example, -oS0,0.5 scales the image to half
the height of the page and scales the width of the image proportionately.
If you set only the X scale factor, the Y scale
factor is assumed to be the same value.
For example, -oS0.5 sets both X and
Y to 0.5, meaning the image fills 1/4 of the page.
- -oyn
- Adjust the yellow gamma correction for Floyd-Steinberg dithering.
A negative value means less, positive means more.
- -p start[,end]
- Specify the starting (and optionally ending) page number to print.
If start is greater than end, the pages are printed
in reverse order.
- -pr
- Print the entire file in reverse order.
- -V
- Be verbose (-VV: be more verbose).
- -v
- Display information about the version, then exit.
- -w width
- The initial width of the source image, if not specified by the input file.
The default is 640 pixels.
- -Xoutfile
- The output device or file; for example:
- -X/dev/par1
- -X/dev/usbpar0
- -X/home/guest/print1.prn
- -x offset
- The initial x offset (default: 0).
- -y offset
- The initial y offset (default: 0).
- phsfile
- The name of a Photon draw-stream (*.phs) file.
The phs-to-ijs utility is an IJS client for printing Photon
draw-stream (.phs) output using an IJS server.
The configuration file for Epson IJS printers,
/etc/printers/epijs.cfg
specifies phs-to-ijs as a filter for
spooler
to use.
If the printer model cannot be determined from the output device,
then you need to use the -m option to specify the printer model.
|
Currently, only certain EPSON printers are supported. |
phs-to-ijs -oS1 -or360x720 -X/dev/par1 file.phs
phs-to-bjc,
phs-to-bmp,
phs-to-escp2,
phs-to-pcl,
phs-to-ps,
spooler
"Printing with spooler"
in the Printing chapter of the Neutrino User's Guide