Epson Laser Printer Driver (ESC/Page) Manual Copyright (C) Seiko Epson Corporation 2005-2012. Contents 1 License Agreement 2 Revision History 3 Product Description 4 Installation and CUPS setting 4.1 Installing 4.2 Settings after installation 5 Printing 5.1 Items to be set 5.2 Details of setting items 5.3 How to Set 5.4 How to Print 6 How to build in non-LSB distribution 6.1 For Redhat based distributions 6.2 For Debian based distributions 6.3 Other distributions ------------------------------------------------------------------------------- 1 License Agreement ------------------------------------------------------------------------------- This software is covered by the GNU General Public License (GPL). Refer to the file "COPYING" for more information about the GPL. ------------------------------------------------------------------------------- 2 Revision History ------------------------------------------------------------------------------- See ./NEWS. ------------------------------------------------------------------------------- 3 Product Description ------------------------------------------------------------------------------- This software is a filter program used with the Common UNIX Printing System (CUPS) on the Linux platform. The software offers high quality printing with Seiko Epson Laser printers. This software is based on LSB 3.2. It can be used in distribution supporting LSB 3.2 later. If it is used in non-LSB distribution, you can use it by building from the source code. ------------------------------------------------------------------------------- 4 Installation and CUPS Setting ------------------------------------------------------------------------------- 4.1 Installation Choose the appropriate command for your distribution from the list below and execute it with root privileges. Note: The following package name differs depending on the version you are using. For Redhat based distributions: ----------------- # rpm -i epson-laser-printer-escpage-1.0.1-1lsb3.2.i486.rpm ----------------- For Debian based distributions: ----------------- # dpkg -i epson-laser-printer-escpage_1.0.1-1lsb3.2_i386.deb ----------------- Regarding the building the source code, refer to "6 How to build in non-LSB distribution". 4.2 Settings after installation CUPS must be set to enable use of this software. Before printing, be sure to carry out the following steps. 4.2.1 Restart CUPS Restart CUPS, to enable the installed filter. Execute the following command with root privileges. Example: With Red Hat Linux ----------------- # /etc/init.d/cups restart ----------------- With Debian GNU/Linux ----------------- # /etc/init.d/cupsys restart ----------------- 4.2.2 Add a printer Using commands Execute the following command with root privileges. ----------------- # lpadmin -p [PRINTER_NAME] -v [DEVICE_URI] -P [PPD_FILE] -E ----------------- Options: -p Specifies the setting name of the printer -E Enables the printer -v Specifies the driver and connection -P Specifies the setting file (PPD file) Example: With the AL-M2010 printer ----------------- # lpadmin -p al-m2010 -v usb:/EPSON/AL-M2010 -P /opt/epson-laser-printer-escpage/ppds/Epson/Epson-AL-M2010-epson-laser-printer-en.ppd.gz -E ----------------- For details of lpadmin, see lpadmin(8). Using a browser CUPS is provided with a CGI for settings so that you can set your printer using a browser. To add a printer, follow the steps below. Note: The following menu items might differ depending on the CUPS version and the environment used. (1) Turn on the printer, and please be connected to the PC with a USB cable. (2) Connect to CUPS Server (Port: 631) with the browser Example: When CUPS is on localhost, access the following URL. ----------------- http://localhost:631/ ----------------- (3) Select "Add Printer" (4) Enter a printer setting name in "Name", and select "Continue" (Other items are not mandatory) (5) In "Device", USB, and select "Continue" Example: With the EP-901A printer, "Model" is displayed as follows. ----------------- "AL-M2010 USB #1(AL-M2010)" ----------------- (6) In "Model", set "EPSON AL-M2010 Printer Driver for Linux", and select "Add Printer" Example: With the AL-M2010 printer, "Model" is displayed as follows. ----------------- "EPSON AL-M2010, EPSON AL-M2010 Printer Driver for Linux (en,en,ja,nl,fr,de,it,pt,es,ko,zh_CN,zh_TW)" ----------------- (6') Instead of steps (6), specify the PPD file directly from "Browse" Example: With the AL-M2010 printer, you would specify the following file. ----------------- /opt/epson-laser-printer-escpage/ppds/Epson/Epson-AL-M2010-epson-laser-printer-en.ppd.gz ----------------- This completes adding a printer for this software. ------------------------------------------------------------------------------- 5 Printing ------------------------------------------------------------------------------- 5.1 Items to be set The following items can be set with this software. * Paper size Select the paper size for your document. * Print quality Select the media type and its print quality for your printing. 5.2 Details of setting items Followings is a list of setting options available for this software. * The meaning of the list items - Keyword Text string used when specifying an option - Browser display Text string displayed in the browser window for CUPS settings - Explanation An explanation of the setting Paper size Setting name for optional settings: PageSize or media Setting name in the browser: MediaSize Note: When adding multiple settings in the media option, put paper size at the beginning. For the media options, see the CUPS documentation. Print quality Setting name for optional settings: Quality Setting name in the browser: Quality 5.3 How to set There are three methods for print settings. * Using commands Use lpoptions. For details of the command, see lpoptions(1). Example: For the registered printer name al-m2010 To specify page size = A4, quality = PLAIN_NORMAL ----------------- $ lpoptions -p al-m2010 -o media=A4 -o quality=PLAIN_NORMAL ----------------- * Use a browser Select "Configure Printer" from the printer window to display the setting window. * Specify options when printing As with lpoptions, set options with -o. For details of the commands, see lpr(1) and lp(1). 5.4 How to Print To print, as with the existing LPR, execute the lpr or lp commands. The formats that can be printed are as follows. * Postscript * PDF * Text * Various image files Example: When printing with the defaults ----------------- $ lpr -P PRINTER_NAME $ lp -d PRINTER_NAME ----------------- With printer_name = al-m2010, media = Legal ----------------- $ lpr -P al-m2010 -o media=Letter $ lp -d al-m2010 -o media=Letter ----------------- The method of printing depends on the implementation of CUPS. For more details, see the CUPS documentation. ------------------------------------------------------------------------------- 6 How to build in non-LSB distribution ------------------------------------------------------------------------------- 6.1 For Redhat based distributions 6.1.1 Uncompress the src.rpm file $ rpm2cpio epson-laser-printer-escpage-1.0.1-1lsb3.2.src.rpm | cpio -id $ tar zxvf epson-laser-printer-escpage-1.0.1-1lsb3.2.tar.gz 6.1.2 Configure and Create source tarball $ cd epson-laser-printer-escpage-1.2.0 $ ./autoreconf -fi && ./configure --prefix=/usr && make dist 6.1.3 Create the directory for RPM packages $ mkdir -p ~/rpmbuild/SOURCES $ mkdir -p ~/rpmbuild/SPECS $ mkdir -p ~/rpmbuild/BUILD $ mkdir -p ~/rpmbuild/RPMS $ mkdir -p ~/rpmbuild/SRPMS You can specifiy the another directory in ~/.rpmmacros 6.1.4 Copy the source tarball and the spec file to the directory $ cp epson-laser-printer-escpage-1.0.1.tar.gz ~/rpmbuild/SOURCES/. $ cp epson-laser-printer-escpage.spec ~/rpmbuild/SPECS 6.1.5 Create RPM package $ cd ~/rpmbuild/SPECS $ rpmbuild -ba --clean epson-laser-printer-escpage.spec 6.2 For Debian based distributions 6.2.1 Uncompress the src.rpm file $ rpm2cpio epson-laser-printer-escpage-1.0.1-1lsb3.2.src.rpm | cpio -id $ tar zxvf epson-laser-printer-escpage-1.0.1-1lsb3.2.tar.gz 6.2.2 Configure $ cd epson-laser-printer-escpage-1.0.1 $ ./autoreconf -fi && ./configure --prefix=/usr 6.2.3 Create DEB package $ make $ debuild -us -uc -b 6.3 For other distributions 6.3.1 Uncompress the src.rpm file $ rpm2cpio epson-inkjet-printer-escpage-1.0.1-1lsb3.2.src.rpm | cpio -id $ tar zxvf epson-inkjet-printer-escpage-1.0.1-1lsb3.2.tar.gz 6.3.2 Configure $ cd epson-laser-printer-escpage-1.0.1 $ ./autoreconf -fi && ./configure --prefix=/usr The location of CUPS filter and ppd files are decided automatically, but you can specify with the follwing configure options. * "--with-cupsfilterdir" The location of CUPS filter ex) /usr/lib/cups/filter * "--with-cupsppddir" The location of PPD files ex) /usr/share/ppd/epson-laser-escpage-raster 6.3.3 Make and Install $ cd epson-laser-printer-escpage-1.0.1 $ make $ sudo make install ***End of file