Есть у мну струйный принтер Lexmark Z602, который есть копией Z600. Обратился я в саппорт и получил ссылку на какой-то драйвер, который писался для RH9.0. Вот что написано в Readme:
INTRODUCTION
============
This is Z600 CUPS Printer Driver version 1.0-1, the first stable
release. Z600 CUPS Printer Driver is a printer driver that may be
used with most common UNIX print spooling systems, including CUPS,
lpr, LPRng, or others. This driver provide high quality printing
for Linux and UNIX systems and can be used for many of the most
demanding printing tasks.
Z600 CUPS Printer Driver was built using the Lexmark Linux Printer
Driver Developer's Kit (LLPDDK) binaries. Please check out out website
at http://support.lexmark.com/en/ldk/index.htm for more details.
Since this is the initial release, backward compatibility is not
yet still an issue.
BASIC INSTALLATION
==================
Z600 CUPS Printer Driver includes the following files:
- z600cups-1.0-1.tar.gz.sh
- README
- COPYING
In general, to install Z600 CUPS Printer Driver, you run
the following command:
- sh z600cups-1.0-1.tar.gz.sh
Note: This printer driver was tested and verified in Red Hat 9.0.
Значит делаю я sh z600cups-1.0-1.tar.gz.sh, а оно мне пишет такое:
troorl_star troorl # sh z600cups-1.0-1.gz.sh
Verifying archive integrity...tail: `+6' option is obsolete; use `-n 6' since this will be removed in the future
OK
Uncompressing Lexmark Printer Drivertrap: usage: trap [-lp] [arg signal_spec ...]
Сразу скажу, у меня вобще нет опыта в установке драйверов для принтера в Линухе. Я абсолютно не представляю, как работает печать на программном уровне.
Обьясните убогому, что оно от меня хочет и что мне делать дальше. Буду по век благодарен.
Ну а дальше нету /dev/usb/lp, при подключении принтер не распознаётся, дрова не ставятся и тд.
Но есть же драйвер, да ещё и 1.0 версии. Значит можно же как-нибудь его поставить?
You will need the z600 series driver from Lexmark. Look for the following file:
CJLZ600LE-CUPS-1.0.1.TAR.gz
Everything in italics is what you should type - Everything after [ these brackets ] is where you should write your command - The rest in bold is what is written by your machine (An answer to your command question).
LOGIN AS ROOT! (next)
1) Tar the file
[root@localhost dan]# tar zxvf CJLZ600LE-1.0-1.TAR.gz
This should create 3 files in your home directory, README, COPYING and the z600cups-1.0-1.gz.sh
2) Extract the file
[root@localhost dan]# sh z600cups-1.0-1.gz.sh -keep
This creates a file called INSTALLER containing 2 rpms (which is what we will be using)
3) Change directory (cd) to /usr/lib by typing the following
[root@localhost dan]# cd /usr/lib
4) Type in the following:
[root@localhost lib]# ln -s libtcl8.4.so libtcl8.3.so
ln: `libtcl8.3.so': File exists
5) Type in the following:
[root@localhost lib]# ln -s libtk8.4.so libtk8.3.so
ln: `libtk8.3.so': File exists
6) Change Directory (cd) again to (where ever the installer file is - mine is in /home/dan/installer and yours should be in a similar place) by typing in the following:
[root@localhost lib]# cd /home/dan/installer
7) Type in the following:
[root@localhost installer]# rpm -Uvh *rpm
error: Failed dependencies:
cups >= 1:1.1.15-10 is needed by z600cups-1.0-1
Type in the following:
[root@localhost installer]# rpm -q cups
cups-1.1.20-5mdk
[root@localhost installer]# rpm -Uvh z600* --nodepsPreparing... ########################################### [100%]
1:z600llpddk ########################################### [ 50%]
2:z600cups ########################################### [100%]
SIOCADDRT: File exists
Дальше автор поста предлагает воспользоваться программой конфигурирования принтерами (у него SUSE). У меня такой нет - нету ни гнома ни кде. Может подскажите, что делать дальше?
Дальше я запускал printerdrake, у меня мдк стоит. Z600 в списке появился, установился и работал отлично. Запусти конфигуратор принтера, в разных дистрах по разному обзывается. cups для з600 появится в диалоге, его выбирай. И пользуйся
You will need the z600 series driver from Lexmark. Look for the following file:
CJLZ600LE-CUPS-1.0.1.TAR.gz
Everything in italics is what you should type - Everything after [ these brackets ] is where you should write your command - The rest in bold is what is written by your machine (An answer to your command question).
LOGIN AS ROOT! (next)
1) Tar the file
[root@localhost dan]# tar zxvf CJLZ600LE-1.0-1.TAR.gz
This should create 3 files in your home directory, README, COPYING and the z600cups-1.0-1.gz.sh
2) Extract the file
[root@localhost dan]# sh z600cups-1.0-1.gz.sh -keep
This creates a file called INSTALLER containing 2 rpms (which is what we will be using)
3) Change directory (cd) to /usr/lib by typing the following
[root@localhost dan]# cd /usr/lib
4) Type in the following:
[root@localhost lib]# ln -s libtcl8.4.so libtcl8.3.so
ln: `libtcl8.3.so': File exists
5) Type in the following:
[root@localhost lib]# ln -s libtk8.4.so libtk8.3.so
ln: `libtk8.3.so': File exists
6) Change Directory (cd) again to (where ever the installer file is - mine is in /home/dan/installer and yours should be in a similar place) by typing in the following:
[root@localhost lib]# cd /home/dan/installer
7) Type in the following:
[root@localhost installer]# rpm -Uvh *rpm
error: Failed dependencies:
cups >= 1:1.1.15-10 is needed by z600cups-1.0-1
Type in the following:
[root@localhost installer]# rpm -q cups
cups-1.1.20-5mdk
[root@localhost installer]# rpm -Uvh z600* --nodepsPreparing... ########################################### [100%]
1:z600llpddk ########################################### [ 50%]
2:z600cups ########################################### [100%]
SIOCADDRT: File exists
Дальше автор поста предлагает воспользоваться программой конфигурирования принтерами (у него SUSE). У меня такой нет - нету ни гнома ни кде. Может подскажите, что делать дальше?
Я совсем забыл об одной детали - у меня многие программы на localhost не работают (даже не спрашивайте почему). CUPS тоже. Я ночью ради этого дела по-быстрому поставил Ubuntu. Буду пробовать.
Кстате, дрова на принтер - это ведь не только PPD-файл?
Device
Я гуглил столько, что видел ВСЕ доки по этому поводу, но по большей части это посты на форумах (причём исключительно на заграничных). Но это так - лирика
А теперь слушайте все внимательно! Я поставил наконец эти дрова и ПРИНТЕР ЗАПАХАЛ!!!! Правда только под Ubuntu, но это временно - по такому случаю переставлю свою Gentoo, чтобы глюки с localhost исчезли.
Рэспэктище всем, а особенно мне Чмоки-чмоки на право и на лево
зы. это последняя железка, которая сдалась под напором линуксоидного энтузиазма, радуюсь как ребёнок. :P
You will need the z600 series driver from Lexmark. Look for the following file:
CJLZ600LE-CUPS-1.0.1.TAR.gz
Everything in italics is what you should type - Everything after [ these brackets ] is where you should write your command - The rest in bold is what is written by your machine (An answer to your command question).
LOGIN AS ROOT! (next)
1) Tar the file
[root@localhost dan]# tar zxvf CJLZ600LE-1.0-1.TAR.gz
This should create 3 files in your home directory, README, COPYING and the z600cups-1.0-1.gz.sh
2) Extract the file
[root@localhost dan]# sh z600cups-1.0-1.gz.sh -keep
This creates a file called INSTALLER containing 2 rpms (which is what we will be using)
3) Change directory (cd) to /usr/lib by typing the following
[root@localhost dan]# cd /usr/lib
4) Type in the following:
[root@localhost lib]# ln -s libtcl8.4.so libtcl8.3.so
ln: `libtcl8.3.so': File exists
5) Type in the following:
[root@localhost lib]# ln -s libtk8.4.so libtk8.3.so
ln: `libtk8.3.so': File exists
6) Change Directory (cd) again to (where ever the installer file is - mine is in /home/dan/installer and yours should be in a similar place) by typing in the following:
[root@localhost lib]# cd /home/dan/installer
7) Type in the following:
[root@localhost installer]# rpm -Uvh *rpm
error: Failed dependencies:
cups >= 1:1.1.15-10 is needed by z600cups-1.0-1
Type in the following:
[root@localhost installer]# rpm -q cups
cups-1.1.20-5mdk
[root@localhost installer]# rpm -Uvh z600* --nodepsPreparing... ########################################### [100%]
1:z600llpddk ########################################### [ 50%]
2:z600cups ########################################### [100%]
SIOCADDRT: File exists
Creating directory installer
Verifying archive integrity...tail: невозможно открыть `+6' для чтения: Нет такого файла или каталога
Error in check sums 2331425966 225780837
И в итоге дириктория installer пуста. Что делать?
Дистр Fedora Core 6.
Человек, говорящий, что это невозможно сделать, не должен мешать тому, кто это делает.