• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

debian/H03-May-2022-911432

lib/H03-May-2022-33,60218,836

lsb/H03-May-2022-224164

m4/H03-May-2022-9,0768,204

ppd/H03-May-2022-730,248720,221

src/H03-May-2022-4,6313,281

AUTHORSH A D03-May-202249 21

COPYINGH A D03-May-202217.6 KiB341281

ChangeLogH A D03-May-202282 42

INSTALLH A D03-May-202215.4 KiB371289

Makefile.amH A D03-May-20222.4 KiB8353

Makefile.inH A D03-May-202227 KiB889781

NEWSH A D03-May-202231.3 KiB889768

READMEH A D03-May-202211 KiB314244

README.jaH A D03-May-202213.4 KiB328251

aclocal.m4H A D03-May-202241.3 KiB1,1581,052

bootstrapH A D03-May-20221,004 3110

compileH A D03-May-20227.2 KiB348258

config.guessH A D03-May-202242.5 KiB1,4421,249

config.h.inH A D03-May-20223.5 KiB13489

config.subH A D03-May-202235.3 KiB1,8141,676

configureH A D03-May-2022438.7 KiB15,04112,557

configure.acH A D03-May-20224.9 KiB203177

depcompH A D03-May-202223 KiB792502

epson-inkjet-printer-escpr.specH A D03-May-20221.5 KiB6349

epson-inkjet-printer-escpr.spec.inH A D03-May-20221.4 KiB6349

install-shH A D03-May-202214.8 KiB509329

ltmain.shH A D03-May-2022316.8 KiB11,1577,986

m4-macrosH A D03-May-202290 21

missingH A D03-May-20226.7 KiB216143

README

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

README.ja

1Epson Inkjet Printer Driver (ESC/P-R) 説明書
2
3Copyright (C) Seiko Epson Corporation 2005-2019.
4
5本ドライバーに関する情報は、下記を参照して下さい。
6http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX
7
8目次
91  使用許諾契約
102  修正履歴
113  製品説明
124  インストールとCUPSの設定
13    4.1  インストール
14    4.2  インストール後の設定
155  印刷
16    5.1  設定項目
17    5.2  設定項目詳細
18    5.3  設定方法
19    5.4  印刷方法
206  LSB非対応ディストリビューションでのビルド方法
21    6.1 Redhat系ディストリビューションの場合
22    6.2 Debian系ディストリビューションの場合
23    6.3 それ以外のディストリビューションの場合
24
25-------------------------------------------------------------------------------
261  使用許諾契約
27-------------------------------------------------------------------------------
28本ソフトウェアは、GNU General Public License (GPL)に準拠しています。
29GPLの詳細はCOPYINGファイルを参照して下さい。
30
31-------------------------------------------------------------------------------
322  修正履歴
33-------------------------------------------------------------------------------
34./NEWSに記載。
35
36
37-------------------------------------------------------------------------------
383  製品説明
39-------------------------------------------------------------------------------
40本ソフトウェアは、Linuxプラットフォーム上において、Common UNIX Printing
41System(CUPS)より利用されるフィルタプログラムです。Seiko Epson製カラー
42インクジェットプリンタを使った、高品質印刷を提供致します。
43
44本ソフトウェアは、Epson ESC/P-R言語に対応するプリンタでのみ利用可能です。
45対象機種については、以下のウェブサイトをご覧下さい。
46http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX
47
48本ソフトウェアは、LSB 3.2に準拠しており、LSB3.2以上をサポートするディストリ
49ビューションで使用可能ですが、LSBに対応していないディストリビューションにおいても、
50ソースコードからビルドすることにより利用可能です。
51
52-------------------------------------------------------------------------------
534  インストールとCUPSの設定
54-------------------------------------------------------------------------------
554.1  インストール
56	4.1.1  LSB3.2対応のディストリビューションの場合
57	   お使いのディストリビューションに合わせて、rpm、debパッケージをインストールします。
58	   以下のコマンドをroot権限で実行して下さい。
59	   注) 以下のパッケージ名はお使いのバージョンにより異なります。
60
61	   Redhat系Linuxの場合
62	   -----------------
63	   # rpm -i epson-inkjet-printer-escpr-1.7.xx-1lsb3.2.i486.rpm
64	   -----------------
65	   Debian系Linuxの場合
66	   -----------------
67	   # dpkg -i epson-inkjet-printer-escpr_1.7.xx-1lsb3.2_i386.deb
68	   -----------------
69
70	4.1.2  LSB3.2以上に非対応のディストリビューションの場合
71	   「6  LSB非対応ディストリビューションでのビルド方法」を参照してください。
72
73
744.2  インストール後の設定
75   本ソフトウェアを使用する為に、CUPSの設定を行う必要があります。
76   印刷を行う前に、必ず以下の手順を実行して下さい。
77
78	4.2.1  CUPSの再起動
79	     インストールされたフィルタを有効化する為に、CUPSを再起動して下さい。
80	     root権限で以下のコマンドを実行します。
81
82	     例) Redhat系ディストリビューションの場合
83	     -----------------
84	     # /etc/init.d/cups restart
85	     -----------------
86	     Debian系ディストリビューションの場合
87	     -----------------
88	     # /etc/init.d/cupsys restart
89	     -----------------
90
91	4.2.2  プリンタの追加
92
93	  [ コマンドによる追加 ]
94	     root権限で以下のコマンドを実行します。
95	     -----------------
96	     # lpadmin -p [PRINTER_NAME] -v [DEVICE_URI] -P [PPD_FILE] -E
97	     -----------------
98
99	     オプションの説明: -p   プリンタ設定名称の指定
100	                        -E   プリンタを有効にする
101	                        -v   接続に使用するドライバと接続先の指定
102	                        -P   設定ファイル(PPDファイル)の指定
103
104	     例) 利用するプリンタがEP-901Aの場合
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	     lpadminの詳細については、lpadmin(8)を参照下さい。
110
111
112	  [ ブラウザからの追加 ]
113	     CUPSでは、設定用のCGIが用意されており、プリンタの設定をブラウザ上
114	     で行うことができます。プリンタの追加には、以下の手順を実行します。
115	       注) 以下のメニュー項目は、CUPSのバージョンやお使いの環境により
116	           異なります。
117
118	     (1) プリンターの電源を入れて、PCにUSBケーブルで接続してください。
119	     (2) ブラウザから、CUPSサーバ (Port:631) に接続
120	         例) CUPSがlocalhost上にある場合、以下のURLに
121	             アクセスして下さい。
122	             -----------------
123	             http://localhost:631/
124	             -----------------
125	     (3) "Add Printer" を選択
126	     (4) "Name" にプリンタ設定名称を記述して、"Continue" を選択
127	          (他の項目は必須ではありません)
128	     (5) "Device" に USB を設定して、"Continue" を選択
129	         例) 利用するプリンタがEP-901Aの場合、"Model" は以下のように
130	             表示されます。
131	             -----------------
132	             "EP-901A USB #1(EP-901A)"
133	             -----------------
134	     (6) "Model" に "EPSON-ESC/P-R Printer Driver for Linux" を設定して、
135	         "Add Printer" を選択
136	         例) 利用するプリンタがEP-901Aの場合、"Model" は以下のように
137	             表示されます。
138	             -----------------
139	             "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)"
140	             -----------------
141	     (6') 上記(6)の代わりに、[Browse]から直接PPDファイルを指定
142	          例) 利用するプリンタがEP-901Aの場合、
143	              以下のファイルを指定します。
144	              -----------------
145	              /opt/epson-inkjet-printer-escpr/ppds/EPSON/EPSON-EP-901A-epson-escpr-en.ppd.gz
146	              -----------------
147
148以上で、本ソフトウェア用のプリンタが追加されます。
149
150
151-------------------------------------------------------------------------------
1525  印刷
153-------------------------------------------------------------------------------
1545.1  設定項目
155   本ソフトウェアにて設定可能な項目は、以下の通りです。
156
157   * インク
158        カラー印刷かモノクロ印刷かを選択します。
159
160   * 用紙サイズ
161        印刷物の用紙サイズを選択します。
162
163   * 印刷品質
164        印刷物のメディアタイプ、及びその際の印刷品質を選択します。
165
166
1675.2  設定項目詳細
168   本ソフトウェアで指定可能なオプションのリストを示します。
169
170   * リスト項目の意味
171     - Keyword          オプション指定時に使用する設定文字列
172     - ブラウザ表示     CUPSの設定ブラウザ画面上に表示される文字列
173     - 説明             設定に関する解説
174
175   [ インク ]
176      オプション指定での設定名称 : Ink
177      ブラウザ上での設定名称 : Ink
178
179      Keyword  | ブラウザ表示  | 説明
180      ---------+---------------+---------------------------------------------
181      COLOR    | Color         | カラー印刷
182      MONO     | Monochrome    | モノクロ印刷
183
184   [ 用紙サイズ ]
185      オプション指定での設定名称 : PageSizeまたはmedia
186      ブラウザ上での設定名称 : MediaSize
187
188      注) mediaオプションに複数の設定を記述する場合は、用紙サイズを
189          先頭に記述して下さい。mediaオプションの使用方法については、
190          CUPSのドキュメントを参照下さい。
191
192   [ 印刷品質 ]
193      オプション指定での設定名称 : Quality
194      ブラウザ上での設定名称 : Quality
195
196   [ 両面印刷 ]
197      オプション指定での設定名称 : Duplex
198      ブラウザ上での設定名称 : Duplex
199
200   [ 給紙装置 ]
201      オプション指定での設定名称 : InputSlot
202      ブラウザ上での設定名称 : InputSlot
203
204
205
2065.3  設定方法
207
208   印刷設定を行うには、以下の3つの方法があります。
209
210   * コマンドから設定する
211        lpoptionsを使用します。コマンドの詳細についてはlpoptions(1)を
212        参照下さい。
213
214        例) 登録プリンタ名 ep901a に対して
215            ink=COLOR, PageSize=A4, quality=PLAIN_NORMAL を指定する場合
216        -----------------
217        $ lpoptions -p ep901a -o ink=COLOR -o media=A4 -o quality=PLAIN_NORMAL
218        -----------------
219
220   * ブラウザから設定する
221        プリンタ画面より、"Configure Printer" を選択すると、設定画面が
222        表示されます。
223
224   * 印刷時にオプションを指定する
225        lpoptions と同様に、-oオプションで設定します。コマンドの
226        詳細については、lpr(1)、lp(1)を参照下さい。
227
2285.4  印刷方法
229
230   印刷には、従来のLPRと同様にlprコマンドもしくはlpコマンドを用いて
231   実行します。印刷できるフォーマットは以下の通りです。
232
233   * Postscript
234   * PDF
235   * Text
236   * 各種画像ファイル
237
238   例)
239      デフォルト設定での印刷の場合
240      -----------------
241      $ lpr -P PRINTER_NAME <file>
242      $ lp -d PRINTER_NAME <file>
243      -----------------
244
245      printer_name=a950, ink=MONO, media=Legal の場合
246      -----------------
247      $ lpr -P a950 -o ink=MONO -o media=Legal <file>
248      $ lp -d a950 -o ink=MONO -o media=Legal <file>
249      -----------------
250
251印刷の方法については、CUPSの実装に依存します。より詳しい情報については、
252CUPSのドキュメントを参照下さい。
253
254-------------------------------------------------------------------------------
2556  LSB非対応ディストリビューションでのビルド方法
256-------------------------------------------------------------------------------
2576.1 Redhat系ディストリビューションの場合
258
259	6.1.1 ダウンロードしたsrs.rpmを解凍します。
260	   $ rpm2cpio epson-inkjet-printer-escpr-1.7.xx-1lsb3.2.src.rpm | cpio -id
261	   $ tar zxvf epson-inkjet-printer-escpr-1.7.xx-1lsb3.2.tar.gz
262
263	6.1.2 configureを実行し、ソースtarballを作成します。
264	   $ cd epson-inkjet-printer-escpr-1.7.xx
265	   $ ./bootstrap && ./configure --prefix=/usr && make dist
266
267	6.1.3 パッケージ作成用ディレクトリを作成します。
268	   $ mkdir -p ~/rpmbuild/SOURCES
269	   $ mkdir -p ~/rpmbuild/SPECS
270	   $ mkdir -p ~/rpmbuild/BUILD
271	   $ mkdir -p ~/rpmbuild/RPMS
272	   $ mkdir -p ~/rpmbuild/SRPMS
273
274	   (~/.rpmmacrosでrpmbuild以外のディレクトリを指定することもできます。)
275
276	6.1.4 ソースtarballとspecファイルを、上記のディレクトリにコピーします。
277	   $ cp epson-inkjet-printer-escpr-1.7.xx.tar.gz ~/rpmbuild/SOURCES/.
278	   $ cp epson-inkjet-printer-escpr.spec ~/rpmbuild/SPECS
279
280	6.1.5 rpmパッケージを作成します。
281	   $ cd ~/rpmbuild/SPECS
282	   $ rpmbuild -ba --clean epson-inkjet-printer-escpr.spec
283
284	   成功すると、~/rpmbuild/RPMSにrpmパッケージが作成されます。
285
286
2876.2 Debian系ディストリビューションの場合
288
2896.2.1 ダウンロードしたsrs.rpmを解凍します。
290   $ rpm2cpio epson-inkjet-printer-escpr-1.7.xx-1lsb3.2.src.rpm | cpio -id
291   $ tar zxvf epson-inkjet-printer-escpr-1.7.xx-1lsb3.2.tar.gz
292
2936.2.2 configureを実行します。
294   $ cd epson-inkjet-printer-escpr-1.7.xx
295   $ ./bootstrap && ./configure --prefix=/usr
296
2976.2.3 debパッケージを作成します。
298   $ make
299   $ debuild -us -uc -b
300
301   成功すると、ひとつ上のディレクトリにdebパッケージが作成されます。
302
303
3046.3 それ以外のディストリビューションの場合
305
3066.3.1 ダウンロードしたsrs.rpmを解凍します。
307   $ rpm2cpio epson-inkjet-printer-escpr-1.7.xx-1lsb3.2.src.rpm | cpio -id
308   $ tar zxvf epson-inkjet-printer-escpr-1.7.xx-1lsb3.2.tar.gz
309
3106.3.2 configureを実行します。
311   $ cd epson-inkjet-printer-escpr-1.7.xx
312   $ ./bootstrap && ./configure --prefix=/usr
313
314   CUPS filterとPPDファイルのインストール先は自動判定していますが、
315   以下のconfigure オプションで、明示的に指定することもできます。
316
317   * "--with-cupsfilterdir" ..... CUPSフィルターの保存先
318                                  例) /usr/lib/cups/filter
319   * "--with-cupsppddir" ........ PPDファイルの保存先
320                                  例) /usr/share/ppd
321
3226.3.3 make, make install を実行します
323   $ cd epson-inkjet-printer-escpr-1.7.xx
324   $ make
325   $ sudo make install
326
327***End of file
328