サポート

このマニュアルでは、Marvelio プリンタ Linux 対応ドライバの make、インストール方法、バージョンアップ方法、 および、アンインストール方法について説明します。

Marvelio プリンタ Linux 対応ドライバ インストールマニュアル

[ プリンタドライバをダウンロード ]

目次

概要

このプリンタドライバは、Marvelio プリンタ用の CUPS プリンタドライバです。 ソースコードで提供されていますので、お使いのシステム環境にて make、インストールを行ってください。

このマニュアルでは、プリンタドライバの make、インストール方法、バージョンアップ方法、 および、アンインストール方法について書かれています。

※このマニュアルの作業を実施する場合、システム管理者、若しくは同等の権限、 知識を保有している方が実施してください。

↑TOP

プリンタドライバのインストール

このプリンタドライバをインストールする前に、以下のパッケージがインストールされていることを確認してください。
尚、ソースパッケージのインストールには、GCC、g++ が必要になります。

  • CUPS、CUPS ライブラリ、および CUPS 開発パッケージ
  • ESP (Easy Software Products) の Ghostscript
  • Xerces C++ ライブラリ、および Xerces C++ 開発パッケージ
  • expat ライブラリ、および expat 開発パッケージ
  • 例) 以下のパッケージは、Debian GNU/Linux 3.1 + CUPS version 1.1.20 の環境で確認したものです。

    機能名 パッケージ名 Description
    CUPS cupsys Common UNIX Printing System(tm) - server
    CUPSライブラリ libcupsimage2 Common UNIX Printing System(tm) - image libs
    CUPS開発パッケージ libcupsimage2-dev Common UNIX Printing System(tm) - image development files
    ESPのGhostscript gs-esp The Ghostscript PostScript interpreter - ESP version
    Xerces C++ ライブラリ libxerces26 Validating XML parser library for C++
    Xerces C++ 開発パッケージ libxerces26-dev Validating XML parser library for C++ (development files
    expat ライブラリ libexpat1 XML parsing C library - runtime library
    expat 開発パッケージ libexpat1-dev XML parsing C library - development kit
  • インストールされているパッケージを確認するには、以下のコマンドを実行します。
    debパッケージの場合
    dpkg -l package-name
    rpmパッケージの場合
    rpm -q package-name
    • パッケージ名、およびバージョンについては、お使いのシステム環境により異なる場合があります。
      お使いのシステム環境に応じたものをインストールしてください。
    • xerces ライブラリをソースパッケージからインストールする方法は、Xerces C++ Parser の左メニューから "Build Instructions" を選択し、その後、"Building on UNIX/Linux/Mac OS X platforms" のリンクをクリックして開かれるページを参照してください。
      また、その際は注意事項に記述されている設定を行って下さい。

このプリンタドライバをインストールする手順は、以下のとおりです。

  • 既にこのプリンタドライバのパッケージがダウンロードされ、展開されているものとします。
  • 以下の手順は、root ユーザで実施してください。
  1. 展開したパッケージディレクトリへ移動し、configure コマンドを実行します。
    # ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking whether make sets $(MAKE)... yes
    .
    .
    .
    checking for a BSD-compatible install... /usr/bin/install -c
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
  2. make コマンドを実行します。
    # make
    Making all in src
    make[1]: Entering directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1/src'
    Making all in Raster2TRIC
    make[2]: Entering directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1/src/Raster2TRIC'
    .
    .
    .
    make[1]: Entering directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1'
    make[1]: Nothing to be done for `all-am'.
    make[1]: Leaving directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1'
  3. 作成した実行モジュールをインストールします。
    # make install
    Making install in src
    make[1]: Entering directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1/src'
    Making install in Raster2TRIC
    make[2]: Entering directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1/src/Raster2TRIC'
    .
    .
    .
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1'
    make[1]: Leaving directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1'
  4. CUPS を再起動してください。

    例:Debian GNU/Linux 3.1の場合

    # /etc/init.d/cupsys restart
    Restarting Common Unix Printing System: cupsd.

※インストール時のパッケージ環境が無いと、アンインストールできなくなる場合がありますので削除しないでください。

↑TOP

インストールされているプリンタドライバのバージョンの確認方法

インストールされているMarvelio プリンタ Linux 対応ドライバのバージョンの確認方法は、以下のとおりです。

  1. Marvelio プリンタ Linux 対応ドライバのバージョンを表示するコマンドを実行します。
    # /usr/local/sbin/lcl_marvelio_printerdriver_version
    1.0.0

↑TOP

プリンタドライバのバージョンアップ

これまで使用していたプリンタの印刷動作の設定を継続して使用する為に、プリンタの印刷動作の設定のバックアップとアップデートの必要があります。
プリンタドライバをバージョンアップする時は、これまで使用していたプリンタドライバのアンインストールは必要ありません。
プリンタドライバをバージョンアップする手順は、以下のとおりです。

  • 既にバージョンアップするこのプリンタドライバのパッケージがダウンロードされ、展開されているものとします。
  • 以下の手順は、root ユーザで実施してください。
  1. 展開したパッケージディレクトリへ移動し、プリンタの印刷動作の設定をバックアップします。
    # tools/backup_printer_conf.sh
  2. configure コマンドを実行します。
    # ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking whether make sets $(MAKE)... yes
    .
    .
    .
    checking for a BSD-compatible install... /usr/bin/install -c
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
  3. make コマンドを実行します。
    # make
    Making all in src
    make[1]: Entering directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1/src'
    Making all in Raster2TRIC
    make[2]: Entering directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1/src/Raster2TRIC'
    .
    .
    .
    make[1]: Entering directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1'
    make[1]: Nothing to be done for `all-am'.
    make[1]: Leaving directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1'
  4. 作成した実行モジュールをインストールします。
    # make install
    Making install in src
    make[1]: Entering directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1/src'
    Making install in Raster2TRIC
    make[2]: Entering directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1/src/Raster2TRIC'
    .
    .
    .
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1'
    make[1]: Leaving directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1'
  5. 手順1でバックアップしたプリンタの印刷動作の設定をアップデートします。
    # tools/update_printer_conf.sh
  6. CUPS を再起動してください。

    例:Debian GNU/Linux 3.1の場合

    # /etc/init.d/cupsys restart
    Restarting Common Unix Printing System: cupsd.

↑TOP

プリンタドライバのアンインストール

このプリンタドライバをアンインストールする手順は、以下のとおりです。
※プリンタドライバをアンインストールしますと、これまで使用していたプリンタの印刷動作の設定がアンインストールされます。

  • 以下の手順は、root ユーザで実施してください。
  1. インストール時のプリンタドライバパッケージディレクトリへ移動し、make コマンドを実行します。
    # make uninstall
    Making uninstall in src
    make[1]: Entering directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1/src'
    Making uninstall in Raster2TRIC
    make[2]: Entering directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1/src/Raster2TRIC'
    .
    .
    .
    make[1]: Entering directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1'
    make[1]: Nothing to be done for `uninstall-am'.
    make[1]: Leaving directory `/usr/local/src/marvelio_cups_printer_driver-0.23.1'
  2. CUPS を再起動してください。

    例:Debian GNU/Linux 3.1の場合

    # /etc/init.d/cupsys restart
    Restarting Common Unix Printing System: cupsd.

↑TOP

注意事項

Xerces C++ Parser 又は、The Expat XML Parser をソースパッケージからインストールした場合、 環境変数 LD_LIBRARY_PATH を設定する必要があります。 CUPS の起動スクリプトへ以下を追加して CUPS を再起動して下さい。

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

例:Debian GNU/Linux 3.1の場合

  1. /etc/init.d/cupsys ファイルを編集します。
    #! /bin/sh
    
    export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
    
    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
    .
    .
    .
  2. CUPS を再起動して下さい。
    # /etc/init.d/cupsys restart
    Restarting Common Unix Printing System: cupsd.

↑TOP

トップページ > サポート > 製品マニュアル > Marvelio プリ... > Marvelio プリンタ Linux 対応ドライバ インストールマニュアル