Ghostscript Driver Instruction Manual

Contents

  1. License Agreement
  2. Product Summary
  3. Installation
    1. Graphical User Interface
    2. Command Line
  4. Configuring a Printer
    1. CUPS
    2. LPRng
  5. Using the Printer
    1. CUPS
    2. LPRng
  6. Notes and Limitations
  7. Acknowledgements

1 License Agreement

This program is distributed under the terms and conditions of the GNU General Public License (GPL). The full text of this license is available in the file COPYING (distributed as part of the sources) or at http://www.fsf.org/licenses/gpl.html.

THIS PROGRAM IS DISTRIBUTED "AS IS" AND WITHOUT ANY WARRANTY WHATSOEVER, INCLUDING WITHOUT LIMITATION, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND/OR NON-INFRINGEMENT OF THE RIGHTS OF THIRD PARTIES (INCLUDING WITHOUT LIMITATION RIGHTS UNDER PATENT, COPYRIGHT AND TRADE SECRETS). See the GNU General Public License for more details.


2 Product Summary

This is a device driver for use with Ghostscript. It provides support for:

A complete list of supported models is available in the section Using the Printer: Specifying the Device.

RPM binaries are available for the following distributions:

Red Hat Linux 9
ghostscript-7.05-32.1ep3.2.0.i386.rpm
Fedora Core 3
ghostscript-7.07-33ep3.2.0.i386.rpm

3 Installation

3.1 Graphical User Interface

Most file managers, such as GNOME's Nautilus and KDE's Konqueror, support direct installation of RPMs. All you have to do is double click the icon of the RPM you want to install. Note that you may be asked to enter the password for the root user.

Using Nautilus on a default RedHat 9 system, installation proceeds as illustrated below.

File Manager showing the RPM to install
Fig.1. File Manager showing the RPM to install

Preparing system update
Fig.2. Preparing system update

Completed system preparation
Fig.3. Completed system preparation

Updating system
Fig.4. Updating system

3.2 Command Line

Installation from the command line is achieved with the rpm command. Upgrading an existing installation (or installing an initial version) is done with:

# rpm -Uvh ghostscript-7.05-32.1ep3.2.0.i386.rpm

The -v and -h options provide visual progress feedback and may be omitted.


4 Configuring a Printer

4.1 CUPS

The PPD files used by CUPS depend on the foomatic version your system uses.

Foomatic 2
Download and install eplaser-cups-ppd-3.1.6.tgz from http://www.avasys.jp/english/linux_e/dl_laser.html
Foomatic 3
Download the PPD for your printer model(s) from http://www.linuxprinting.org/show_driver.cgi?driver=eplaser and copy them into place, normally that is below /usr/share/cups/model/

After you have added the necessary PPD file(s) you need to restart CUPS. This can be done via redhat-config-services

redhat-config-services screenshot

or by restarting it directly from the command line with

# /etc/init.d/cups restart

After you have restarted CUPS, access http://localhost:631/ with your favourite web browser to add and configure the printer.

CUPS CGI: top level entry point

Click the Manage Printers and Add Printer buttons to add a printer.

CUPS CGI: printer control tab

Enter a name for the printer, and optionally a location and description, and Continue.

CUPS CGI: adding a new printer

Select an output Device and Continue.

CUPS CGI: selecting a device

Select EPSON as the make of your printer and Continue.

CUPS CGI: selecting the make

Select the driver you want to use from the list of models and Continue. Models will be shown similar to one of the following entries:

Epson EPL-6100, Foomatic + epl6100(en)
Epson AcuLaser C9100 Foomatic/eplaser (en)

CUPS CGI: selecting a driver

Now your printer should have been added successfully.

CUPS CGI: printer added successfully

After you have added or changed printer entries it is advisable to restart CUPS. This can be done in either of the two ways described earlier.

4.2 LPRng

In order to add a printer for LPRng systems, you need to add a printer definition to /etc/printcap.local and create a suitable ghostscript filter for use by lpr. A sample filter, for example /usr/local/bin/filterALC9100 would look like:

#!/bin/sh
/usr/bin/gs -q -dNOPAUSE -dBATCH -sDEVICE=alc9100 \
      -sPAPERSIZE=a4 -sOutputFile=- -

After you have saved the filter, let's say as /usr/local/bin/filterALC9100, you need to make it executable. This is done with:

# chmod a+x /usr/local/bin/filterALC9100

Finally, a printer definition for a printer by the name of ALC9100 that uses the filter we just made looks like:

ALC9100:\
      :lp=/dev/lp0:\
      :sh:\
      :if=/usr/local/bin/filterALC9100:\
      :sd=/var/spool/lpd/ALC9100:\
      :mx#0:

After any changes to /etc/printcap.local you need to restart lpd to make them effective.

# /etc/init.d/lpd restart

5 Using the Printer

The lpr command can be used to print from the command line. To print a file tiger.ps with the ALC9100 printer we just configured:

# lpr -P ALC9100 tiger.ps

For more information about the lpr command, please refer to its manual page with:

$ man lpr

5.1 CUPS

Configuration settings for any CUPS printer can be changed via the CGI utility. Access http://localhost:631/ with your preferred browser and click the Configure Printer button.

CUPS CGI: printer status and control page

Modify the settings to your liking and Continue.

CUPS CGI: printer configuration settings

Details about CUPS are available from the CUPS web pages at http://www.cups.org/.

5.2 LPRng

Changing configuration settings is achieved by modification of the ghostscript filter. See also: section 4 Configuring a Printer, LPRng.

As an example, the script belows adds the TonerSaving and Duplex options to /usr/local/bin/filterALC9100.

#!/bin/sh
/usr/bin/gs -q -dNOPAUSE -dBATCH -sDEVICE=alc9100 \
      -sPAPERSIZE=a4 -dTonerSaving -dDuplex -sOutputFile=- -

Specifying the Device

The following table lists all support printer models and the corresponding -sDEVICE option needed to use such a printer.

ModelDevice option
AL-C9100-sDEVICE=alc9100
AL-C8600-sDEVICE=alc8600
AL-C8500-sDEVICE=alc8500
AL-C4100-sDEVICE=alc4100
AL-C4000-sDEVICE=alc4000
AL-C2000-sDEVICE=alc2000
AL-C1900-sDEVICE=alc1900
EPL-6100-sDEVICE=epl6100
EPL-5900-sDEVICE=epl5900
EPL-5800-sDEVICE=epl5800
EPL-N2750-sDEVICE=epl2750
EPL-N2500-sDEVICE=epl2500
EPL-N2120-sDEVICE=epl2120
EPL-N2050+-sDEVICE=epl2050p
EPL-N2050-sDEVICE=epl2050
LP-9800C-sDEVICE=lp9800c
LP-9500C-sDEVICE=lp9500c
LP-9200C-sDEVICE=lp9200c
LP-9000C-sDEVICE=lp9000c
LP-8800C-sDEVICE=lp8800c
LP-8500C-sDEVICE=lp8500c
LP-8300C-sDEVICE=lp8300c
LP-8200C-sDEVICE=lp8200c
LP-8000C-sDEVICE=lp8000c
LP-3000C-sDEVICE=lp3000c
LP-9600S-sDEVICE=lp9600s
LP-9600-sDEVICE=lp9600
LP-9400(R)-sDEVICE=lp9400
LP-9300-sDEVICE=lp9300
LP-9200B-sDEVICE=lp9200b
LP-9100(R)-sDEVICE=lp9100
LP-9000B-sDEVICE=lp9000b
LP-8900(R)-sDEVICE=lp8900
LP-8700(R)-sDEVICE=lp8700
LP-8600F/FX(N)-sDEVICE=lp8600f
LP-8600-sDEVICE=lp8600
LP-8400F/FX(N)-sDEVICE=lp8400f
LP-8300F/FX-sDEVICE=lp8300f
LP-8100(R)-sDEVICE=lp8100
LP-7900(R)-sDEVICE=lp7900
LP-7700(R)-sDEVICE=lp7700
LP-7500(R)-sDEVICE=lp7500
LP-2500-sDEVICE=lp2500
LP-2400-sDEVICE=lp2400
LP-2200-sDEVICE=lp2200
LP-1900(N)-sDEVICE=lp1900
LP-1800-sDEVICE=lp1800

Printer resolution selection

Printer resolution is set via the -r option. It can take any of the listed values but note that not all printers support printing at 1200dpi.

ResolutionOptionAlternative Option
300dpi-r300-r300x300
600dpi-r600-r600x600
1200dpi-r1200-r1200x1200

Paper tray selection

You can activate manual feed via the -dManualFeed option.

Paper feeder selection

To specify the feeder to be used, use the -dCasset option. This option takes a numeric argument in the range from 1 to 15, inclusive, like so:

-dCasset=5

If manual feed has been activated, this setting is invalid.

Output tray selection

For printers with a face up tray, you can select that tray with the -dFaceUp option.
default: face down

Number of copies

The -dNumCopies and -dCollate option control the number of copies to print and how they are ordered. To print three copies of a two page document, you would use:

-dNumCopies=3

This will result in three copies of the first page followed by three copies of the second page. Looking at the page numbers, you get 1, 1, 1, 2, 2, and 2. When you also specify the -dCollate option (and your printer supports it!) like so

-dNumCopies=3 -dCollate

the page ordering changes to 1, 2, 1, 2, 1, and 2. That is, you get three copies of your document instead of three copies of every page in your document.

The -dCollate option is available with the following devices: alc1900, alc2000, alc4000, alc8500, alc8600, epl2050, epl2050p, and epl2750 if they are equipped with a hard disk drive or expansion memory and for the: epl2120, epl2500, epl5800, epl5900, and epl6100 if the device has expansion memory installed.

Paper type

The default paper type is plain paper, but you can change this with the -sMediaType option. To select transparencies, use

-sMediaType=TRANS

and to select card board, use

-sMediaType=THICK

When setting the media type to any of the above values and your printer has a face up tray, paper will be output to that tray irrespective of the output tray you specified.

RIT control

Use the -dRITOff option to turn off RIT control (which is on by default).

Orientation

To change the default orientation to landscape, use the -dLandscape option.

Toner save

Toner Save Mode is activated with the -dTonerSaving option.

Duplex printing

For printers with a duplex printing unit, you can activate its usage via the -dDuplex option.

Binding direction

When duplex printing is activated, you can select for binding at the short edge with the -dTumble option. Otherwise this option will be ignored.

Paper size

Paper sizes listed below may be set via the corresponding options.

Paper sizeOption
A3-sPAPERSIZE=a3
A4-sPAPERSIZE=a4
A5-sPAPERSIZE=a5
B4(Japanese)-sPAPERSIZE=jisb4
B4(ISO)-sPAPERSIZE=b4
B5(Japanese)-sPAPERSIZE=jisb5
B5(ISO)-sPAPERSIZE=b5
C5-sPAPERSIZE=c5
Letter-sPAPERSIZE=letter
Half letter-sPAPERSIZE=halfletter
Legal-sPAPERSIZE=legal
Ledger(B)-sPAPERSIZE=11x17
U.S. foolscap-sPAPERSIZE=flsa
European foolscap-sPAPERSIZE=flse
Government Legal-sPAPERSIZE=glg
Government Letter-sPAPERSIZE=glt
Japanese Postcard-sPAPERSIZE=postcard
Japanese Envelope-sPAPERSIZE=envyou4

The driver supports all the paper sizes supported by your printer as well as those defined in gs_statd.ps.

If an application supports paper size selection, please select the same size as used by the driver for best results.


6 Notes and Limitations

  1. Note that not all combinations of option settings may be supported by your printer. Please refer to your printer manual for information on the support setting combinations.
  2. Option settings that are not included in the Foomatic PPD file can not be selected via CUPS. Please use the most recent version of the PPD files available for best results.
  3. When A4 or LT (letter) size paper is used for an AL-C8500/C8600 feeder tray, set the paper horizontally on the tray.
    If the paper is set on the tray vertically, it may affect the printing result.

7 Acknowledgements

We would like to thank Norihito Oomori for creating gdevlips which served as a useful reference for this driver.

— Copyright © SEIKO EPSON CORPORATION 2001–2005.