1Epson Inkjet Printer Driver (ESC/P-R) Manual 2 3Copyright (C) Seiko Epson Corporation 2005-2019. 4 5Please visit our website for the latest information. 6Please refer to follows for the information about this driver 7http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX 8 9Contents 101 License Agreement 112 Revision History 123 Product Description 134 Installation and CUPS setting 14 4.1 Installing 15 4.2 Settings after installation 165 Printing 17 5.1 Items to be set 18 5.2 Details of setting items 19 5.3 How to Set 20 5.4 How to Print 216 How to build in non-LSB distribution 22 6.1 For Redhat based distributions 23 6.2 For Debian based distributions 24 6.3 Other distributions 25 26------------------------------------------------------------------------------- 271 License Agreement 28------------------------------------------------------------------------------- 29This software is covered by the GNU General Public License (GPL). 30Refer to the file "COPYING" for more information about the GPL. 31 32------------------------------------------------------------------------------- 332 Revision History 34------------------------------------------------------------------------------- 35See ./NEWS. 36 37------------------------------------------------------------------------------- 383 Product Description 39------------------------------------------------------------------------------- 40This software is a filter program used with the Common UNIX Printing 41System (CUPS) on the Linux platform. 42The software offers high quality printing with Seiko Epson color ink jet printers. 43 44This product can only be used with printers that support the Epson ESC/P-R language. 45 46Please see refer to follows for a list of supported printers. 47http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX 48 49This software is based on LSB 3.2. It can be used in distribution supporting LSB 3.2 later. 50If it is used in non-LSB distribution, you can use it by building from the source code. 51 52------------------------------------------------------------------------------- 534 Installation and CUPS Setting 54------------------------------------------------------------------------------- 554.1 Installation 56 4.1.1 In the case of LSB supported distributions 57 Choose the appropriate command for your distribution from the list below 58 and execute it with root privileges. 59 Note: The following package name differs depending on the version 60 you are using. 61 For Redhat based distributions: 62 ----------------- 63 # rpm -i epson-inkjet-printer-escpr-1.7.xx-1lsb3.2.i486.rpm 64 ----------------- 65 For Debian based distributions: 66 ----------------- 67 # dpkg -i epson-inkjet-printer-escpr_1.7.xx-1lsb3.2_i386.deb 68 ----------------- 69 70 4.1.2 In the case of non-LSB supported distributions 71 Refer to "6 How to build in non-LSB distribution". 72 73 744.2 Settings after installation 75 CUPS must be set to enable use of this software. 76 Before printing, be sure to carry out the following steps. 77 78 4.2.1 Restart CUPS 79 Restart CUPS, to enable the installed filter. 80 Execute the following command with root privileges. 81 82 Example: With Red Hat Linux 83 ----------------- 84 # /etc/init.d/cups restart 85 ----------------- 86 With Debian GNU/Linux 87 ----------------- 88 # /etc/init.d/cupsys restart 89 ----------------- 90 91 4.2.2 Add a printer 92 93 Using commands 94 Execute the following command with root privileges. 95 ----------------- 96 # lpadmin -p [PRINTER_NAME] -v [DEVICE_URI] -P [PPD_FILE] -E 97 ----------------- 98 99 Options: -p Specifies the setting name of the printer 100 -E Enables the printer 101 -v Specifies the driver and connection 102 -P Specifies the setting file (PPD file) 103 104 Example: With the PM-A950 printer 105 ----------------- 106 # lpadmin -p ep901a -v usb:/EPSON/EP-901A -P /opt/epson-inkjet-printer-escpr/ppds/EPSON/EPSON-EP-901A-epson-escpr-en.ppd.gz -E 107 ----------------- 108 109 For details of lpadmin, see lpadmin(8). 110 111 112 Using a browser 113 CUPS is provided with a CGI for settings so that you can set your printer 114 using a browser. To add a printer, follow the steps below. 115 Note: The following menu items might differ depending on the CUPS 116 version and the environment used. 117 118 (1) Turn on the printer, and please be connected to the PC with a USB cable. 119 (2) Connect to CUPS Server (Port: 631) with the browser 120 Example: When CUPS is on localhost, access the following URL. 121 ----------------- 122 http://localhost:631/ 123 ----------------- 124 (3) Select "Add Printer" 125 (4) Enter a printer setting name in "Name", and select "Continue" 126 (Other items are not mandatory) 127 (5) In "Device", USB, and select "Continue" 128 Example: With the EP-901A printer, "Model" is displayed as follows. 129 ----------------- 130 "EP-901A USB #1(EP-901A)" 131 ----------------- 132 (6) In "Model", set "EPSON-ESC/P-R Printer Driver for Linux", and 133 select "Add Printer" 134 Example: With the EP-901A printer, "Model" is displayed as follows. 135 ----------------- 136 "EPSON EP-901A, EPSON-ESC/P-R Printer Driver for Linux (en,en,ja,nl,fr,de,it,pt,es,ko,zh_CN,zh_TW)" 137 ----------------- 138 (6') Instead of steps (6), specify the PPD file directly from "Browse" 139 Example: With the EP-901A printer, you would specify the following file. 140 ----------------- 141 /opt/epson-inkjet-printer-escpr/ppds/EPSON/EPSON-EP-901A-epson-escpr-en.ppd.gz 142 ----------------- 143 144This completes adding a printer for this software. 145 146 147------------------------------------------------------------------------------- 1485 Printing 149------------------------------------------------------------------------------- 1505.1 Items to be set 151 The following items can be set with this software. 152 153 * Ink 154 Select color or monochrome printing. 155 156 * Paper size 157 Select the paper size for your document. 158 159 * Print quality 160 Select the media type and its print quality for your printing. 161 162 1635.2 Details of setting items 164 Followings is a list of setting options available for this software. 165 166 * The meaning of the list items 167 - Keyword Text string used when specifying an option 168 - Browser display Text string displayed in the browser window for CUPS settings 169 - Explanation An explanation of the setting 170 171 Ink 172 Setting name for optional settings: Ink 173 Setting name in the browser: Ink 174 175 Keyword | Browser display | Explanation 176 ---------+------------------------+------------------------------------ 177 COLOR | Color | Color printing 178 MONO | Monochrome | Monochrome printing 179 180 Paper size 181 Setting name for optional settings: PageSize or media 182 Setting name in the browser: MediaSize 183 184 Note: When adding multiple settings in the media option, put paper size 185 at the beginning. For the media options, see the CUPS documentation. 186 187 Print quality 188 Setting name for optional settings: Quality 189 Setting name in the browser: Quality 190 191 Duplex printing 192 Setting name for optional settings: Duplex 193 Setting name in the browser: Duplex 194 195 Paper source 196 Setting name for optional settings: InputSlot 197 Setting name in the browser: InputSlot 198 1995.3 How to set 200 201 There are three methods for print settings. 202 203 * Using commands 204 Use lpoptions. For details of the command, see lpoptions(1). 205 206 Example: For the registered printer name ep901a 207 To specify ink = COLOR, page size = A4, quality = PLAIN_NORMAL 208 ----------------- 209 $ lpoptions -p ep901a -o ink=COLOR -o media=A4 -o quality=PLAIN_NORMAL 210 ----------------- 211 212 * Use a browser 213 Select "Configure Printer" from the printer window to display 214 the setting window. 215 216 * Specify options when printing 217 As with lpoptions, set options with -o. For details of the commands, 218 see lpr(1) and lp(1). 219 2205.4 How to Print 221 222 To print, as with the existing LPR, execute the lpr or lp commands. 223 The formats that can be printed are as follows. 224 225 * Postscript 226 * PDF 227 * Text 228 * Various image files 229 230 Example: 231 When printing with the defaults 232 ----------------- 233 $ lpr -P PRINTER_NAME <file> 234 $ lp -d PRINTER_NAME <file> 235 ----------------- 236 237 With printer_name = a950, ink = MONO, media = Legal 238 ----------------- 239 $ lpr -P a950 -o ink=MONO -o media=Legal <file> 240 $ lp -d a950 -o ink=MONO -o media=Legal <file> 241 ----------------- 242 243The method of printing depends on the implementation of CUPS. 244For more details, see the CUPS documentation. 245 246------------------------------------------------------------------------------- 2476 How to build in non-LSB distribution 248------------------------------------------------------------------------------- 2496.1 For Redhat based distributions 250 6.1.1 Uncompress the src.rpm file 251 $ rpm2cpio epson-inkjet-printer-escpr-1.7.xx-1lsb3.2.src.rpm | cpio -id 252 $ tar zxvf epson-inkjet-printer-escpr-1.7.xx-1lsb3.2.tar.gz 253 254 6.1.2 Configure and Create source tarball 255 $ cd epson-inkjet-printer-escpr-1.7.xx 256 $ ./bootstrap && ./configure --prefix=/usr && make dist 257 258 6.1.3 Create the directory for RPM packages 259 $ mkdir -p ~/rpmbuild/SOURCES 260 $ mkdir -p ~/rpmbuild/SPECS 261 $ mkdir -p ~/rpmbuild/BUILD 262 $ mkdir -p ~/rpmbuild/RPMS 263 $ mkdir -p ~/rpmbuild/SRPMS 264 265 You can specifiy the another directory in ~/.rpmmacros 266 267 6.1.4 Copy the source tarball and the spec file to the directory 268 $ cp epson-inkjet-printer-escpr-1.7.xx.tar.gz ~/rpmbuild/SOURCES/. 269 $ cp epson-inkjet-printer-escpr.spec ~/rpmbuild/SPECS 270 271 6.1.5 Create RPM package 272 $ cd ~/rpmbuild/SPECS 273 $ rpmbuild -ba --clean epson-inkjet-printer-escpr.spec 274 275 2766.2 For Debian based distributions 277 6.2.1 Uncompress the src.rpm file 278 $ rpm2cpio epson-inkjet-printer-escpr-1.7.xx-1lsb3.2.src.rpm | cpio -id 279 $ tar zxvf epson-inkjet-printer-escpr-1.7.xx-1lsb3.2.tar.gz 280 281 6.2.2 Configure 282 $ cd epson-inkjet-printer-escpr-1.7.xx 283 $ ./bootstrap && ./configure --prefix=/usr 284 285 6.2.3 Create DEB package 286 $ make 287 $ debuild -us -uc -b 288 2896.3 For other distributions 290 6.3.1 Uncompress the src.rpm file 291 $ rpm2cpio epson-inkjet-printer-escpr-1.7.xx-1lsb3.2.src.rpm | cpio -id 292 $ tar zxvf epson-inkjet-printer-escpr-1.7.xx-1lsb3.2.tar.gz 293 294 6.3.2 Configure 295 $ cd epson-inkjet-printer-escpr-1.7.xx 296 $ ./bootstrap && ./configure --prefix=/usr 297 298 The location of CUPS filter and ppd files are decided automatically, 299 but you can specify with the follwing configure options. 300 301 * "--with-cupsfilterdir" The location of CUPS filter 302 ex) /usr/lib/cups/filter 303 304 * "--with-cupsppddir" The location of PPD files 305 ex) /usr/share/ppd 306 307 6.3.3 Make and Install 308 $ cd epson-inkjet-printer-escpr-1.7.xx 309 $ make 310 $ sudo make install 311 312 313***End of file 314