IMHO.WS

IMHO.WS (http://www.imho.ws/index.php)
-   Пингвинятник (ОС *NIX) (http://www.imho.ws/forumdisplay.php?f=76)
-   -   Помогите с настройкой принтера... (http://www.imho.ws/showthread.php?t=101449)

Payne 28.03.2006 15:51

Помогите с настройкой принтера...
 
Хотелось бы обратиться к знающим людям, возожно сталкивались с такой проблемой.
У меня принтер CANON i250 на USB, скачал драйвер, поставил. CUPS принтер видит, и система видит и определяет, и не только при загрузке. Устанавливаю его, никаких ошибок, но печатать отказывается наотрез...
команда #lpq выдаёт:
СANON is ready //CANON - это имя принтера
no entries
Если можете помочь, помогите... Очень хочется таки поднять его под Линуксом...
Заранее благодарю...
Вот последние логи из error.log
I [27/Mar/2006:18:27:52 +0400] Printer 'CANONi250' deleted by 'root'.
I [27/Mar/2006:18:27:52 +0400] Saving printers.conf...
I [27/Mar/2006:18:30:03 +0400] Setting tmpprinter_8l9XAT93 device-uri to "usb://Canon/i250" (was "file:/dev/null".)
I [27/Mar/2006:18:30:03 +0400] Saving printers.conf...
I [27/Mar/2006:18:30:03 +0400] New printer 'tmpprinter_8l9XAT93' added by 'root'.
I [27/Mar/2006:18:30:03 +0400] Saving printers.conf...
I [27/Mar/2006:18:30:03 +0400] Printer 'tmpprinter_8l9XAT93' modified by 'root'.
I [27/Mar/2006:18:30:03 +0400] Saving printers.conf...
I [27/Mar/2006:18:30:03 +0400] Printer 'tmpprinter_8l9XAT93' now accepting jobs ('root').
I [27/Mar/2006:18:30:03 +0400] Saving printers.conf...
I [27/Mar/2006:18:30:03 +0400] Printer 'tmpprinter_8l9XAT93' started by 'root'.
I [27/Mar/2006:18:30:03 +0400] Adding start banner page "none" to job 3.
I [27/Mar/2006:18:30:03 +0400] Adding end banner page "none" to job 3.
I [27/Mar/2006:18:30:03 +0400] Job 3 queued on 'tmpprinter_8l9XAT93' by 'root'.
I [27/Mar/2006:18:30:03 +0400] Started filter /usr/lib/cups/filter/pstops (PID 4081) for job 3.
I [27/Mar/2006:18:30:03 +0400] Started filter /usr/lib/cups/filter/pstocanonbj (PID 4082) for job 3.
I [27/Mar/2006:18:30:03 +0400] Started backend /usr/lib/cups/backend/usb (PID 4084) for job 3.
I [27/Mar/2006:18:30:07 +0400] Printer 'tmpprinter_8l9XAT93' deleted by 'root'.
I [27/Mar/2006:18:30:07 +0400] Saving printers.conf...
I [27/Mar/2006:18:30:52 +0400] Setting CANON device-uri to "usb://Canon/i250" (was "file:/dev/null".)
I [27/Mar/2006:18:30:52 +0400] Saving printers.conf...
I [27/Mar/2006:18:30:52 +0400] New printer 'CANON' added by 'root'.
I [27/Mar/2006:18:30:53 +0400] Saving printers.conf...
I [27/Mar/2006:18:30:53 +0400] Printer 'CANON' modified by 'root'.
I [27/Mar/2006:18:30:53 +0400] Saving printers.conf...
I [27/Mar/2006:18:30:53 +0400] Printer 'CANON' now accepting jobs ('root').
I [27/Mar/2006:18:30:53 +0400] Saving printers.conf...
I [27/Mar/2006:18:30:53 +0400] Printer 'CANON' started by 'root'.
I [27/Mar/2006:18:31:46 +0400] Adding start banner page "none" to job 4.
I [27/Mar/2006:18:31:46 +0400] Adding end banner page "none" to job 4.
I [27/Mar/2006:18:31:46 +0400] Job 4 queued on 'CANON' by 'root'.
I [27/Mar/2006:18:31:46 +0400] Started filter /usr/lib/cups/filter/pstops (PID 4092) for job 4.
I [27/Mar/2006:18:31:46 +0400] Started filter /usr/lib/cups/filter/pstocanonbj (PID 4093) for job 4.
I [27/Mar/2006:18:31:46 +0400] Started backend /usr/lib/cups/backend/usb (PID 4094) for job 4.
E [27/Mar/2006:18:31:54 +0400] [Job 4] child process aborted
I [27/Mar/2006:18:32:43 +0400] Scheduler shutting down normally.
I [28/Mar/2006:14:36:11 +0400] Listening to 0:631
I [28/Mar/2006:14:36:11 +0400] Loaded configuration file "/etc/cups/cupsd.conf"
I [28/Mar/2006:14:36:11 +0400] Configured for up to 100 clients.
I [28/Mar/2006:14:36:11 +0400] Allowing up to 100 client connections per host.
I [28/Mar/2006:14:36:11 +0400] Full reload is required.
I [28/Mar/2006:14:36:11 +0400] LoadPPDs: Read "/etc/cups/ppds.dat", 2761 PPDs...
I [28/Mar/2006:14:36:13 +0400] LoadPPDs: No new or changed PPDs...
I [28/Mar/2006:14:36:13 +0400] Full reload complete.

dmiva 16.04.2006 20:40

Права посмотрел? К usb-устройству cups может достучаться?

mallory 06.05.2006 00:47

>>Права посмотрел? К usb-устройству cups может достучаться?
Какие права, на что ? Кого делать владельцем?

Вот мой лог про hplj1020(но в RH Ent. 4 AS):
I [05/May/2006:08:47:02 -0400] Listening to 0:631
I [05/May/2006:08:47:02 -0400] Loaded configuration file "/etc/cups/cupsd.conf"
I [05/May/2006:08:47:02 -0400] Configured for up to 100 clients.
I [05/May/2006:08:47:02 -0400] Allowing up to 100 client connections per host.
I [05/May/2006:08:47:02 -0400] Full reload is required.
I [05/May/2006:08:47:02 -0400] LoadPPDs: Wrote "/etc/cups/ppds.dat", 14 PPDs...
I [05/May/2006:08:47:02 -0400] Full reload complete.
E [05/May/2006:08:47:03 -0400] StartListening: Unable to find IP address for server name "localhost.localdomain" - Host name lookup failure
I [05/May/2006:17:45:26 +0400] Listening to 7f000001:631
I [05/May/2006:17:45:26 +0400] Loaded configuration file "/etc/cups/cupsd.conf"
I [05/May/2006:17:45:26 +0400] Configured for up to 100 clients.
I [05/May/2006:17:45:26 +0400] Allowing up to 100 client connections per host.
I [05/May/2006:17:45:26 +0400] Full reload is required.
I [05/May/2006:17:45:28 +0400] LoadPPDs: Read "/etc/cups/ppds.dat", 14 PPDs...
I [05/May/2006:17:45:28 +0400] LoadPPDs: Wrote "/etc/cups/ppds.dat", 15 PPDs...
I [05/May/2006:17:45:28 +0400] Full reload complete.
I [05/May/2006:17:56:42 +0400] Scheduler shutting down normally.
I [05/May/2006:18:22:16 +0400] Listening to 7f000001:631
I [05/May/2006:18:22:16 +0400] Loaded configuration file "/etc/cups/cupsd.conf"
I [05/May/2006:18:22:16 +0400] Configured for up to 100 clients.
I [05/May/2006:18:22:16 +0400] Allowing up to 100 client connections per host.
I [05/May/2006:18:22:16 +0400] Full reload is required.
I [05/May/2006:18:22:17 +0400] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [05/May/2006:18:22:17 +0400] LoadPPDs: No new or changed PPDs...
I [05/May/2006:18:22:17 +0400] Full reload complete.
I [05/May/2006:18:26:14 +0400] Scheduler shutting down normally.
I [05/May/2006:18:41:23 +0400] Listening to 7f000001:631
I [05/May/2006:18:41:23 +0400] Loaded configuration file "/etc/cups/cupsd.conf"
I [05/May/2006:18:41:23 +0400] Configured for up to 100 clients.
I [05/May/2006:18:41:23 +0400] Allowing up to 100 client connections per host.
I [05/May/2006:18:41:23 +0400] Full reload is required.
I [05/May/2006:18:41:24 +0400] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [05/May/2006:18:41:24 +0400] LoadPPDs: No new or changed PPDs...
I [05/May/2006:18:41:24 +0400] Full reload complete.
I [05/May/2006:19:08:08 +0400] Listening to 7f000001:631
I [05/May/2006:19:08:08 +0400] Loaded configuration file "/etc/cups/cupsd.conf"
I [05/May/2006:19:08:08 +0400] Configured for up to 100 clients.
I [05/May/2006:19:08:08 +0400] Allowing up to 100 client connections per host.
I [05/May/2006:19:08:08 +0400] Full reload is required.
I [05/May/2006:19:08:12 +0400] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [05/May/2006:19:08:12 +0400] LoadPPDs: No new or changed PPDs...
I [05/May/2006:19:08:12 +0400] Full reload complete.
I [05/May/2006:19:14:22 +0400] Adding start banner page "none" to job 1.
I [05/May/2006:19:14:22 +0400] Adding end banner page "none" to job 1.
I [05/May/2006:19:14:22 +0400] Job 1 queued on 'hp-laserjet-1020-1' by 'root'.
I [05/May/2006:19:14:22 +0400] Started filter /usr/lib/cups/filter/pstops (PID 3052) for job 1.
I [05/May/2006:19:14:22 +0400] Started filter /usr/lib/cups/filter/foomatic-rip (PID 3053) for job 1.
I [05/May/2006:19:14:22 +0400] Started backend /usr/lib/cups/backend/usb (PID 3054) for job 1.
I [05/May/2006:19:18:19 +0400] Listening to 7f000001:631
I [05/May/2006:19:18:19 +0400] Loaded configuration file "/etc/cups/cupsd.conf"
I [05/May/2006:19:18:19 +0400] Configured for up to 100 clients.
I [05/May/2006:19:18:19 +0400] Allowing up to 100 client connections per host.
I [05/May/2006:19:18:19 +0400] Full reload is required.
I [05/May/2006:19:18:21 +0400] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [05/May/2006:19:18:21 +0400] LoadPPDs: No new or changed PPDs...
I [05/May/2006:19:18:21 +0400] Full reload complete.

Что не так ?
В самой системе дров на LJ1020 нет, так что я выбирал дрова от 1015, как наиболее близкое число...или это неверный путь ?

Hubbitus 06.05.2006 11:17

mallory
Драйвера для твоего принтера есть, протестированы и работают http://www.linuxprinting.org/show_pr...-LaserJet_1020

Также там есть описание как настраивать, в т.ч. и в CUPS.

mallory 09.05.2006 14:32

При распаковке архива foo2zjs-20060324-i486-2gds.tgz образуются папки /etc,/install,/usr - что делать с их содержимым?

Судя по тому что пишется на консоли(см. файл raspakovka_foo2zjs.txt) при разархивировании есть файл usr/share/cups/model/HP-LaserJet_1020.ppd, но тогда зачем скачивать такой же (аналогичный?) файл с http://www.linuxprinting.org/ppd-o-m...et_1020&show=0

Почему при запуске doinst.sh ничего не происходит? Или все таки происходит? Кроме появления пары файлов @hplj1005,@hplj1020 в папке /etc/hotplug/usb я ничего не заметил(визуально;))...

Hubbitus 10.05.2006 02:04

Цитата:

mallory:
При распаковке архива foo2zjs-20060324-i486-2gds.tgz образуются папки /etc,/install,/usr - что делать с их содержимым?
Цитата:

mallory:
Почему при запуске doinst.sh ничего не происходит? Или все таки происходит?
Когда не ясно что делать, я обычно читаю доки, особенно если для этого есть на сайте хауту:

Цитата:

http://foo2zjs.rkkda.com/:
Download and Install

Click the link, or cut and paste the whole command line below to download the driver.

$ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz

Now unpack it:

Unpack:
$ tar zxf foo2zjs.tar.gz
$ cd foo2zjs

Now compile and install it. The INSTALL file contains more detailed instructions; please read it now.

Compile:
$ make

(Optional) Get extra files from the web, such as .ICM profiles for color
correction, and firmware:
$ ./getweb 2300 # Get Minolta 2300 DL .ICM files
$ ./getweb 2200 # Get Minolta 2200 DL .ICM files
$ ./getweb cpwl # Get Minolta Color PageWorks/Pro L .ICM files
$ ./getweb all # Get all of the above

Install driver, foomatic XML files, and extra files:
$ su OR $ sudo make install
# make install

(Optional) Configure hotplug (USB; HP LJ 1000/1005/1018/1020):
# make install-hotplug OR $ sudo make install-hotplug

(Optional) If you use CUPS, restart the spooler:
# make cups OR $ sudo make cups

Now create printer entries for your spooler. Create at least one queue for monochrome, and another queue for color printing. Create the queues first, then edit them and set the device options as desired. See your operating system documentation for further details on creating a printer queue. Click any hyperlinks below for sample screenshots.

For Redhat 7.2/7.3/8.0/9.0 and Fedora Core 1/2/3/4 users:

# printconf-gui

For Mandrake users:

# printerdrake

For Suse 10.0 users:

# yast2 printer

For Ubunto 5.10 users:

$ sudo gnome-cups-manager

For a networked Minolta/QMS 2300 DL, I used a Redhat "Queue Type" of "Unix Printer (LPD)", and set the "Server" to the IP address of the printer, and the "Queue" to "lp". For Ubuntu, I used "HP JetDirect" and set "Host:" to the IP address of the printer and "Port:" to 9100.

For low level testing, you can also create a "raw queue", which will accept ZjStream files as-is and send them directly to the printer.
Вобщем-то процесс стандартный, собрать, установить. Вы не сказали даже какой дистр, а там кстати имеются и специфичные для дистров описания настроек, вот, к примеру, описание с картинками настройки данного принтера под шапкой.

mallory 10.05.2006 19:57

К чему ж я буду применять команды make и make install? Там не видно никакого Makefile...

Hubbitus 11.05.2006 11:11

Цитата:

mallory:
К чему ж я буду применять команды make и make install? Там не видно никакого Makefile...
Как это не видно??? Специально из того хауту что привел сейчас скачал сорец - все там есть в комплекте, все нормально!

softm 07.06.2006 13:42

Цитата:

Сообщение от mallory
>>Права посмотрел? К usb-устройству cups может достучаться?
Какие права, на что ? Кого делать владельцем?

lpd вроде пользователь. На АльтЛинуксе на 12-й консоли к примеру видно что произходимт, когда поключаеш девайс. Я бы рекомендовал попробовать его ... тем более 1120 у меня пашет именно именно с принтсервера на "альте"/

mallory 12.06.2006 19:01

Цитата:

Hubbitus: Вы не сказали даже какой дистр, а там кстати имеются и специфичные для дистров описания настроек
Писал как раз - 5 мая!
Цитата:

Hubbitus: все там есть в комплекте, все нормально!
Перепутал пакет слаки с тарболом по невнимательности;)

После того как мной была применена команда make hotplug-install принтер стал определяться системой, но не всегда, пользователь говорит, что через раз.Когда не определяется, чел вручную вводит cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/usb/lp0. Как добится стабильности работы хотплага?
Не вызовет ли каких-либо конфликтов прописывание в rc.local(или в чем-то подобном) вышеприведенной команды? Предположим, и хотплаг сработает при загрузке и строчку система будет считывать - одно другому мешает? Каких эффектов ждать?


Часовой пояс GMT +4, время: 19:49.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.