--> -->




ijsgimpprint - Ghostscript driver for Gimp-Print


     Ghostscript IJS options
     Gimp-Print IJS options
Print Resolution
Ink Types
Media Types
Media Sources
Media Sizes
Color Balancing
Dithering Algorithms
Output Type
Image Type
     Example 1
     Example 2
     Example 3
See Also


gs -sDEVICE=ijs -sIjsServer=/usr/bin/ijsgimpprint -sDeviceManufacturer=vendor -sDeviceModel=name [ -dIjsUseOutputFD ] -sIjsParams=[ key1=value1,keyn=valuen... ] [ options ] [ files ]




ijsgimpprint provides Ghostscript with a Gimp-Print driver, supporting all printers supported by libgimpprint.

IJS is an initiative to improve the quality and ease of use of printing with Ghostscript. It permits adding or upgrading drivers without recompiling Ghostscript. An IJS driver runs in a separate process that communicates with Ghostscript via an IPC channel. The Gimp-Print IJS driver may be used with AFPL Ghostscript, as it runs in a separate process.

The options for this driver are very complex. We strongly recommend use of a printer management system such as Foomatic rather than configuring a spooler manually with this driver. The driver name used by Foomatic is gimp-print-ijs.


ijsgimpprint accepts the following options:

    Ghostscript IJS options

  This option should be specified whenever output from Ghostscript will go to stdout or into a pipe. It may be specified in all other cases, with only a slight performance degradation.
  This parameter contains a single string containing a comma-separated list of sub-options.
-sDeviceManufacturer=vendor -sDeviceModel=name
  This option must be supplied. There is no default. The IJS driver requires the vendor (it’s part of the protocol), but the ijsgimpprint driver ignores it. It should be CANON, EPSON, LEXMARK, or HEWLETT-PACKARD. The value of the -sDeviceModel parameter is the same as the value of the -sModel parameter in the old stp driver.
A complete list of supported printers may be found in gimpprint-models(7).
Most or all of the Epson Stylus printers are fully functional. The others vary. In particular, all of the listed Epson Stylus Photo printers print in full 6-color photo mode; most of the others do not. The color output has also been better tuned for Epson Stylus printers than for others.

    Gimp-Print IJS options

These options are all used in the -sIjsParams options, except where mentioned otherwise. Due to their complicated nature, the options are explained in detail in their own sections.


  The meaning of this is model-specific. Two names are listed for each resolution; the first (short) name is the quality that must be passed to Quality, and the second (long) name is descriptive. Each printer has its own default value; for most printers, this is a reasonable 300 or 360 DPI resolution. A full list of available resolutions for each printer may be found in gimpprint-resolutions(7).


This is printer type specific. The option names are case sensitive. A full list of available media types may be found in gimmprint-inktypes(7).


This is printer type specific. The option names are case sensitive. A full list of available media types may be found in gimpprint-mediatypes(7).


This is printer type specific. The option names are case sensitive. A full list of available media sources may be found in gimpprint-mediasources(7).


  for known Ghostscript paper sizes.
  where x and y are the width and height of the paper respectively, in points (1/72"). Note this is a normal gs option, not an IJS option.
This is printer-specific; we cannot list the correct values for each printer here. The option names are case-sensitive. Two names are listed for each resolution; the first (short) name is the value that must be passed to -sPAPERSIZE, and the second (long) name is descriptive. This option does not set GhostScript up to use a paper size other than the default; it only tells the driver to set up the printer for a different paper size. The default paper size is "Letter".

A complete list of available paper sizes may be found in gimpprint-mediasizes(7).


A full description of the color balancing options, including the allowed ranges of values, may be found in gimpprint-color(7).


  Possible values for algorithm may be found in gimpprint-dithers(7).


-sProcessColorModel=DeviceGray -dBitsPerSample=1
  Black and white
  Color (RGB)
  Color (CMYK)
Note these are gs options, not IJS options. Choose color vs. grayscale output. Color output is the default. Choosing DeviceGrey and -dBitsPerSample=1 results in only black ink (no color ink) being used, which is faster and usually results in the most accurate grayscale, but at the expense of smoothness. This prints only black and white (thresholding). This option always uses Fast dithering unless you specify Very Fast. If you want composite color (using a mixture of color and black inks to produce gray), use DeviceGrey.

In addition, using DeviceGrey uses luminance (perceived brightness) of red, green, and blue to choose output levels. Blue of a given intensity is perceived to be much darker than red, which in turn appears darker than green. DeviceRGB, DeviceCYMK and Saturation=0.0 (see "Saturation" above) do not use luminance.

CMYK output may be used with the IJS driver only. It is useful if you’re printing a CMYK graphic and want explicit control over the inks. Generally it yields inferior quality, as Gimp-Print has good algorithms for converting RGB (screen) into CMYK (inks) that take into account paper type, ink type, and other variables. In CMYK mode, the brightness, contrast, and saturation controls do not function.


This option can be used to optimize the dither.
  Possible values are:

1Line art (color or gray scale)
2Primarily solid colors or smooth gradients (color or gray scale)
3Continuous-tone photographs (color or gray scale)
Option 0 is the fastest. It generates strong, but not particularly accurate, colors. There may be some fairly sharp color transitions in this mode.
Option 1 generates more accurate colors, but is slower.
Option 2 generates the most accurate colors, but is considerably slower.
Note that any of the modes may be used with either color or black & white output. If black and white output is requested, but a color mode used, composite color will be printed. This generally offers smoother tone, but less purity of gray or black, than pure black ink. Furthermore, it is possible to tune the color of the gray (to achieve warmer or cooler effects) using the color controls in this fashion.

Specifying a lower GhostScript resolution (with -r) results in faster color conversion. For example, if you print at 1440x720 DPI, but specify a Ghostscript resolution of 360 DPI (with -r360), output will be significantly faster and there will be much less difference in performance between the three image type options.


Note that a lot of these options are used for demonstration; generally adjusting the density is a bad idea!

    Example 1

Print charts to file, using A4 paper, color, 360 dpi:
gs -sDEVICE=ijs -sIjsServer=/usr/bin/ijsgimpprint
-sDeviceManufacturer=EPSON -sDeviceModel=escp2-ex
-sPAPERSIZE=a4 -sOutputFile=itsyourchoice.prn
Brightness=0.4,ImageType=1 foo.ps

    Example 2

Print color photograph to /dev/lp0 at maximum quality:
gs -sDEVICE=ijs -sIjsServer=/usr/bin/ijsgimpprint
-sDeviceManufacturer=EPSON -sDeviceModel=escp2-870
Density=0.8,ImageType=2’ foo.ps

    Example 3

Print pure black text to stdout:
gs -sDEVICE=ijs -sIjsServer=/usr/bin/ijsgimpprint
-sDeviceManufacturer=EPSON -sDeviceModel=escp2-660
-dIjsUseOutputFD -sProcessColorModel=DeviceGray
-dBitsPerSample=1 -sOutputFile=-
-sIjsParams=’Quality=720sw,Density=0.8’ foo.ps


The Ghostscript stp driver was originally written by Henryk Richter ([email protected]), and was integrated into Gimp-Print during the 3.1 development series. Gimp-Print itself was originally written by Michael Sweet <[email protected]>, who released up to version 2.0; Robert Krawitz released version 3.0. The Gimp-Print development team (http://gimp-print.sourceforge.net) now maintains the entire package.

The IJS driver was originally written by Russell Lang, and incorporated into Gimp-Print in early 2002. This driver corresponds with the IJS protocol 0.32.


Copyright © 2001-2002 Robert Krawitz ([email protected])

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


Robert Krawitz. Originally written by Russell Lang.

This manual page was written by Robert Krawitz ([email protected]) and Roger Leigh ([email protected]).


gs(1), gimpprint-color(7), gimpprint-dithers(7), gimpprint-inktypes(7), gimpprint-mediasizes(7), gimpprint-mediasources(7), gimpprint-mediatypes(7), gimpprint-models(7), gimpprint-resolutions(7).


See attributes(5) for descriptions of the following attributes:

Interface StabilityVolatile


Source for gimp-print is available on http://opensolaris.org.
Jump to page    or go to Top of page |  Section 1 |  Main Solaris Index.

Version 4.2.6 IJSGIMPPRINT (1) 11 Jan 2004
Generated by Open Solaris Forum from /usr/share/man/man1/ijsgimpprint.1 using man macros with tbl support.