Captstatusui communication error

Модератор: Модераторы разделов

Настройка USB-принтеров CANON LBP 1120 и подобных (LBP1120, LBP1210, LBP3200, LBP2900, LBP3000, LBP3210)

Модератор: Модераторы разделов

KMS

Сообщения: 231
ОС: Leap 42.1

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

zardoz писал(а): ↑

09.10.2007 15:17

общение, но тем не менее…. Сделал…. Запускается ccpd при загрузке. Как загрузился, принтер всё равно не виден и печатать отказывается. каптстатусуи открывает окошко, но там всё не активно. И что бы всё заработало нада перезагрузить ccpd. Так что толку не особо много ((((

У меня правда suse не 10.0 , но на suse10.1-10.2 все работает, после загрузки системы посмотри, должны быть два процесса ccpd.

kivrin

Сообщения: 4
ОС: Mandriva

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

kivrin » 15.10.2007 12:02

Та же байда… примерно….
Всё работает отлично, если запустить после перезагрузки сспд под рутом…
Пока сделал ссылку на на него в автозапуске КДЕ с указанием «запускать от имени» рута…
Приходится после перезагрузки ввести один раз пароль рута, а дальше всё ОК.
Может, кто предложит более красивое решение? для Мандривы…

LVS

Сообщения: 264
Статус: All Hail Random
ОС: Kubuntu, CentOS, Slackware

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

LVS » 15.10.2007 18:44

kivrin писал(а): ↑

15.10.2007 12:02

Та же байда… примерно….
Всё работает отлично, если запустить после перезагрузки сспд под рутом…
Пока сделал ссылку на на него в автозапуске КДЕ с указанием «запускать от имени» рута…
Приходится после перезагрузки ввести один раз пароль рута, а дальше всё ОК.
Может, кто предложит более красивое решение? для Мандривы…

/etc/rc.local

Аватара пользователя

Redfoxnet

Сообщения: 394
ОС: Gentoo
Контактная информация:

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

Redfoxnet » 23.10.2007 09:34

estarchak писал(а): ↑

06.02.2006 20:14

…..

Также полезно добавить демон ccpd в автозагрузку, чтобы после перезагрузки системы принтер заработал.

В Mandriva я это делаю так:

Код: Выделить всё

 # ln -s /etc/init.d/ccpd /etc/rc5.d/S99ccpd

В дистрибутиве SUSE эта команда не помогла, и я написал простой скрипт, сделал его исполняемым и добавил в каталог автозапуска KDE.

Текст скрипта:

#!/bin/bash
#
#Этот скрипт используется для запуска сервиса ccpd при загрузке системы
/etc/init.d/ccpd start

В SUSE переработанная система init.d/rc.d (о чем говорит файл README) и файл автозагрузки — /etc/init.d/boot.local

В этот файл я добавил строку

Код: Выделить всё

 /etc/init.d/cups stop && /etc/init.d/ccpd stop && /etc/init.d/cups start && /etc/init.d/ccpd start

Которая решила проблемму с руганью на тип бумаги и неактивностью принтера во время ззагрузки. Решение тупое и некрасивое, зато быстрое и надежное.

Аватара пользователя

Redfoxnet

Сообщения: 394
ОС: Gentoo
Контактная информация:

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

Redfoxnet » 23.10.2007 10:17

VAA писал(а): ↑

09.03.2007 11:43

estarchak писал(а): ↑

09.03.2007 10:33

captstatusui сначала при попытке запустить жаловался на отсутствие gtk — шной библиотеки, а сейчас, после ее установки:
Gtk-WARNING **: cannot open display:

Запустите от юзера с указанием принтера.
<code>
captstatusui -P имя_принтера.
</code>

В сообщении об ошибке можно будет увидеть немало интересного.

Попробовал запустить из консоли пользователя. В Kubuntu выбрасывает окошко, но там нет ничего. И не надо — все и так работает.

А в Deep style много интересного — это вот:

*** captstatusui Socket Error ***

:) :(

Похоже надо попробовать доустановить гнома…

Уже установлены:
gnome-common-2.12.0
libgnomecups-0.2.2
но это не спасает…

Попробовал в Slackware 11.0 (= Deep style 2.0) с установленным Dropline GNOME. То же
*** captstatusui Socket Error ***
:(

Есть ище идеи как «можно будет увидеть немало интересного?

Попытался читать /var/log/error_log. Выставлял разную степень подробности в настройках cups, но моему глазу там незачто зацепиться :(

*** captstatusui Socket Error ***

Тоже была такая ошибка , решалась остановкой ccpd , или перезапуском cups и ссpd

Elusive

Сообщения: 3

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

Elusive » 04.12.2007 03:57

Помогите пожалуйста. Я всего несколько дней пользуюсь linux Mandriva 2008 и не сильно во всем разобрался.
У меня возникла проблема с принтером Canon i-sensis LBP2900. Следуя настройкам и рекомендациям, которые даны в начале темы, я пытался настроить. Результат был всегда разный. Но не разу принтер не заработал. И после ввода /usr/sbin/lpadmin -p LBP2900-m CNCUPSLBP2900CAPTK.PPD -v ccp:/var/ccpd/fifo0 -E высветливаеться такая надпись : lpadmin: Не удается копировать PPD-файл!
Помогите с настройкой этого агрегата. Заранее спасибо за советы и помощь.

konki

Сообщения: 216

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

konki » 06.12.2007 16:11

Elusive писал(а): ↑

04.12.2007 03:57

Помогите пожалуйста. Я всего несколько дней пользуюсь linux Mandriva 2008 и не сильно во всем разобрался.
У меня возникла проблема с принтером Canon i-sensis LBP2900. Следуя настройкам и рекомендациям, которые даны в начале темы, я пытался настроить. Результат был всегда разный. Но не разу принтер не заработал. И после ввода /usr/sbin/lpadmin -p LBP2900-m CNCUPSLBP2900CAPTK.PPD -v ccp:/var/ccpd/fifo0 -E высветливаеться такая надпись : lpadmin: Не удается копировать PPD-файл!
Помогите с настройкой этого агрегата. Заранее спасибо за советы и помощь.

после долгих мучений с LBP1120, я все же сумел его завести.
прочтите очень внимательно эту инструкцию (именно по ней делал и все заработало):
https://help.ubuntu.com/community/HardwareS…/Canon_LBP_2900.

теперь комментарий относительно ошибки, описанной в вашем посте:
выполните эти команды:
$ cd /usr/share/ppd/
$ sudo ln -s /usr/share/cups/model/CNCUPSLBP2900CAPTK.ppd
после чего выполняйте свою:
/usr/sbin/lpadmin -p LBP2900-m CNCUPSLBP2900CAPTK.PPD -v ccp:/var/ccpd/fifo0 -E
делайте все это под рутовыми правами.
если не заработает — отпишите.
PS если у вас будет JID, могу помочь при помощи него :console:

vorchun

Сообщения: 73
ОС: Linux (сейчас Mandriva)

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

vorchun » 16.12.2007 10:24

konki писал(а): ↑

06.12.2007 16:11

после долгих мучений с LBP1120, я все же сумел его завести.
прочтите очень внимательно эту инструкцию (именно по ней делал и все заработало):
https://help.ubuntu.com/community/HardwareS…/Canon_LBP_2900.

теперь комментарий относительно ошибки, описанной в вашем посте:
выполните эти команды:
$ cd /usr/share/ppd/
$ sudo ln -s /usr/share/cups/model/CNCUPSLBP2900CAPTK.ppd
после чего выполняйте свою:
/usr/sbin/lpadmin -p LBP2900-m CNCUPSLBP2900CAPTK.PPD -v ccp:/var/ccpd/fifo0 -E
делайте все это под рутовыми правами.
если не заработает — отпишите.
PS если у вас будет JID, могу помочь при помощи него :console:

Спасибо за ссылку!
Однако в Mandriva2008 получил проблемы в самом последнем шаге. А именно, при выполнении

получаю ошибку Communication error.

Права на /var/ccpd/fifo0 исправил, могут писать/читать все.

В чем может быть проблема? Кабель и принтер исправны, в этом я уверен.

konki

Сообщения: 216

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

konki » 16.12.2007 13:13

vorchun писал(а): ↑

16.12.2007 10:24

[Однако в Mandriva2008 получил проблемы в самом последнем шаге. А именно, при выполнении

получаю ошибку Communication error.
В чем может быть проблема? Кабель и принтер исправны, в этом я уверен.

попробуйте перезапустить демон печати и демон кэнона:
sudo /etc/init.d/cups restart
sudo /etc/init.d/ccpd restart

после чего еще раз запустите графическое окошко о состоянии принтера — должно показываться что-то типа «ready to printing»

vorchun

Сообщения: 73
ОС: Linux (сейчас Mandriva)

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

vorchun » 16.12.2007 17:22

konki писал(а): ↑

16.12.2007 13:13

vorchun писал(а): ↑

16.12.2007 10:24

[Однако в Mandriva2008 получил проблемы в самом последнем шаге. А именно, при выполнении

получаю ошибку Communication error.
В чем может быть проблема? Кабель и принтер исправны, в этом я уверен.

попробуйте перезапустить демон печати и демон кэнона:
sudo /etc/init.d/cups restart
sudo /etc/init.d/ccpd restart

после чего еще раз запустите графическое окошко о состоянии принтера — должно показываться что-то типа «ready to printing»

перезапустил… Все равно captstatusui -P LBP2900 выдает Communication error. Проверил еще раз права на канал — все разумно. Прямо не знаю, что делать…

Решение было найдено следующим образом: ccpdadmin давал диагностику, что принтер на /dev/usblp0, однако такого узла в /dev не оказалось. Поискав, обнаружил, что при включении принтера создается узел /dev/usb/lp0. Правило udev, которое создает этот узел, не обнаружил (возможно, узел создается до запуска udev). Но отредактировал /etc/ccpd.conf, а именно установил DevicePath /dev/usb/lp0 (т.е. так, как это есть в реальной системе). После этого перестартовал ccpd и все заработало.

Спасибо всем за помощь! С наступающми Новым Годом! :drunk:

Elusive

Сообщения: 3

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

Elusive » 11.01.2008 07:15

И сегодня вроде бы все уже было сделано. Даже несколько страниц распечатано, а потом он снова затих и единственным признаком его жизни есть синяя лампочка. Он изо всех сил не хочет работать с Мандривой, сопротивляеться. Но в конечном итоге его сопротивление будет сломлено и он будет работать на благо человечества)))

Elusive

Сообщения: 3

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

Elusive » 14.01.2008 16:53

Мне настраивал друг со своего компа (управлял моим компом со своего через интернет) и во время установки у него получилось расспечатать несколько листов. а потом дело сново провалилось. Но на следующий день, после включения принтера он заработал и распечатал мне одну страницу, которую я пробовал днем раньше. вобще интересно он работает.

Canon

Сообщения: 6
ОС: Ubuntu 7.10

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

Canon » 30.03.2008 13:39

Принтер Canon 2900 настроен в Ubuntu 7.10 по этому руководству.
Работает нормально, но недавно обнаружил глюк: после выхода из режима засыпания принтер не печатает. То есть везде он видется, документы на печать принимает, но не печатает.
Помогает только перезапуск демона печати: sudo /etc/init.d/ccpd restart, после этого все снова работает нормально до следущего засыпания.
Но хочется чтобы CCPD перезапускался автоматически.
Не поможете?

Nudnyj

Сообщения: 3
ОС: Mandriva

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

Nudnyj » 16.06.2008 20:53

Mandriva 2007. Делал по Инструкции на первой странице. Задание висит в «Заданиях», но ничего не печатает.

[root@Vasilijj ccpd]# ls -l
итого 0
prw-rw-rw- 1 root root 0 Июн 14 13:21 fifo0|
prw-rw-rw- 1 root root 0 Июн 14 13:21 fifo1|
prw-rw-rw- 1 root root 0 Июн 14 13:21 fifo2|
prw-rw-rw- 1 root root 0 Июн 14 13:21 fifo3|
prw-rw-rw- 1 root root 0 Июн 14 13:21 fifo4|
prw-rw-rw- 1 root root 0 Июн 14 13:21 fifo5|
prw-rw-rw- 1 root root 0 Июн 14 13:21 fifo6|
prw-rw-rw- 1 root root 0 Июн 14 13:21 fifo7|

captstatusui — появляется окошечко все кнопки не активные кроме «Hide Monitor»

Дополняю — появилась кнока Clearing, как кто-то здесь отписывался протягивает бумагу. Ready to print.

Что ещё можно сделать?

AlexUg

Сообщения: 13

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

AlexUg » 26.07.2008 00:16

Valraven писал(а): ↑

09.07.2008 19:36

Проблема не детская. :)
Система Ubuntu 8.04
Пытаюсь установить Canon lpb2900.
В точности следую инструкциям на https://help.ubuntu.com/community/HardwareS…/Canon_LBP_2900

Получаю:
после набора команды $ captstatusui -P LBP2900
Мне выходит следующее сочетание:
*** captstatusui Socket Error ***
Принтер видим системе, на него отправляются задания печати, которые благополучно зависают. Сам принтер (железка) мертв аки камень.
Подскажите, кто знает, не сочтите за труд. Я уже три дня убил, раз десять драйвера переустанавливал.

На счет Ubuntu не знаю, а SuSe 10.3 это лечиться командой:

Вобщем перезапуском cppd.
Причем перезапуск надо делать при включенном/подключенном принтере.

igorigor76

Сообщения: 11
ОС: ASPLinux 12 Carbon (Fedora 7)

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

igorigor76 » 28.08.2008 12:41

ASPLinux 12 Carbon (Fedora 7)
Linux version 2.6.22.9-91.0.120asp
Canon LBP 1120

Скачал и установил:
cndrvcups-common-1.60-1.i386.rpm
cndrvcups-capt-1.60-1.i386.rpm

# services cups restart
# /usr/sbin/lpadmin -p LBP1120 -m CNCUPSLBP1120CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
# /usr/sbin/ccpdadmin -p LBP1120 -o /dev/usb/lp0
# services ccpd start

Принтер в списке появился.
Печатаю из OpenOffise Writer. В заданиях печати появляется, но не печатает.
# top
процесс captfilter загружает CPU на 98-99 %

При отмене задания печати процесс captfilter завершается.

Так как-же заставить Canon LBP 1120 печатать?

igorigor76

Сообщения: 11
ОС: ASPLinux 12 Carbon (Fedora 7)

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

igorigor76 » 05.09.2008 11:48

Спешу поделиться своей радостью.
Принтер запечатал.
Устанавливал по известной схеме:

# rpm -Uhv cndrvcups-common-1.60-1.i386.rpm
# rpm -Uhv cndrvcups-capt-1.60-1.i386.rpm
# services cups restart
# /usr/sbin/lpadmin -p LBP1120 -m CNCUPSLBP1120CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
# /usr/sbin/ccpdadmin -p LBP1120 -o /dev/usb/lp0
# services ccpd start

До этого пакеты ставил запуском в mc скрипта INSTALL из соответсвующего пакета. Никаких ошибок не было. В «
Установка и удаление программ» пакеты значились как установленные.

Проверял это на 3-х компьютерах. Результат одинаковый. При установке пакетов через mc принтер не печатает.

Возникает вопрос. Теоритически, может mc некорректно ставить пакеты?

Аватара пользователя

Svetlana2008

Сообщения: 196
Статус: Силиконо-кремнивая блондинка
ОС: М* — такое некультурное слово!

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

Svetlana2008 » 05.09.2008 15:49

igorigor76 писал(а): ↑

05.09.2008 11:48

Спешу поделиться своей радостью.
Принтер запечатал.
Устанавливал по известной схеме:
# rpm -Uhv cndrvcups-common-1.60-1.i386.rpm
# rpm -Uhv cndrvcups-capt-1.60-1.i386.rpm
# services cups restart
# /usr/sbin/lpadmin -p LBP1120-m CNCUPSLBP1120CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
# /usr/sbin/ccpdadmin -p LBP1120 -o /dev/usb/lp0
# services ccpd start

Плиз, распишите всё пошагово — для чайницы))) :wacko:

«А у меня самая-самая красивая попа!» (с)

zardoz

Сообщения: 7

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

zardoz » 16.09.2008 09:11

Anubarac писал(а): ↑

16.07.2007 13:41

У меня принтер Canon LBP 2900, скачал драйвера с сайта производителя и поставил(2 пакета). Система Open Suse 10.2. Делаю по инструкции отсюда.
На шаге /usr/sbin/lpadmin -p lbp2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E происходит ошибка: Bad url device. Команду выполняю под root. Незнаю что делать, перерыл кучу других инструкций, заходил
http://localhost:631/ — принтер виден, в очередь добавляются файлы, но не печатает. Помогите.

Такая же беда тока у меня Suse 11.0, На Suse 10.3 стоял Canon 1120 и работал. А когда хачу поставить 2900 (Suse 11.0) при выполнении команды /usr/sbin/lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v cpp:/var/ccpd/fifo0 -E Выдаёть
lpadmin: Bad device-uri «cpp:/var/ccpd/fifo0»! Как это победить? Пытался что то поколупть с правами в /var/ccpd/ но особого результата не дало(((

Flaming

Сообщения: 2579

Re: Настройка USB-принтеров CANON LBP 1120 и подобных

Сообщение

Flaming » 16.09.2008 23:01

Настроил-таки я свой принтер Canon LBP-810, подсунув ему дрова от 1120, и она даже заработал!!! Правда, не знаю, насколько стабильно, глюков пока особых не просёк, а они наверняка будут.
Одно но: появился непонятно для чего нужны процесс captmon, грузящий процессор на 100%. Нафик он нужен, и как его убрать?

  • Печать

Страницы: 1 23 24 [25] 26 27 41   Вниз

Тема: [HOWTO] Подключение принтеров Canon LBP, работающих с драйвером CAPT  (Прочитано 274291 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
Boothbay

Добрый день, нужда заставила зарегиться и просить помощи, точнее не нужда а драйвера для Canon LBP6000)
Установил все как тут пишет https://help.ubuntu.ru/wiki/canon_capt , автоматическая установка, все вроде как успешно, но печатает через раз.
Заметил что после долгого простоя принтера, и попытки дать что-то на печать, выходит окошко что отправлено, потом что распечатано, но ничего не выходит из принтера. После того как сразу же перезагружаю сам принтер или кабель юсб вытаскиваю-вставляю, выходит страница… В чем может быть причина?
Стоит Ubuntu-12.04.2-desktop-i386 с которой я пока на вы


Оффлайн
coden

Добрый день, нужда заставила зарегиться и просить помощи, точнее не нужда а драйвера для Canon LBP6000)
Установил все как тут пишет https://help.ubuntu.ru/wiki/canon_capt , автоматическая установка, все вроде как успешно, но печатает через раз.
Заметил что после долгого простоя принтера, и попытки дать что-то на печать, выходит окошко что отправлено, потом что распечатано, но ничего не выходит из принтера. После того как сразу же перезагружаю сам принтер или кабель юсб вытаскиваю-вставляю, выходит страница… В чем может быть причина?
Стоит Ubuntu-12.04.2-desktop-i386 с которой я пока на вы

если еще такое случится, не перегружая принтер и не вытаскивая USB кабель, запустите captstatusui и посмотрите что он будет писать, вывод выложите сюда
Ubuntu-12.04.2-desktop-i386 — когда последний раз обновлялили?

« Последнее редактирование: 21 Августа 2013, 20:01:05 от coden »


Оффлайн
Boothbay

Подождал мин 40, попробовал напечатать, выдало ошибку, Communication Error, не помогло даже выключение принтера, злой плюнул и ушел домой))
Попробую завтра запустить captstatusui и выложу, обновлял вчера последний раз систему.


Оффлайн
coden

Подождал мин 40, попробовал напечатать, выдало ошибку, Communication Error, не помогло даже выключение принтера, злой плюнул и ушел домой))
Попробую завтра запустить captstatusui и выложу, обновлял вчера последний раз систему.

Boothbay,как только принтер перестанет печатать, дополнительно к сообщению captstatusui
выложи вывод команд:

ls -1t /dev/usb/lp*
udevadm info --attribute-walk --name=/dev/usb/lp0
lpstat -t
lsmod | grep usblp

выложите содержимое файла:
gedit /etc/modprobe.d/blacklist-cups-usblp.conf

« Последнее редактирование: 22 Августа 2013, 09:21:42 от coden »


Оффлайн
Boothbay

Включил утром, не печатал ничего, уехал, через час приехал, не печатает. Запустил captstatusui- Communication Error. Check the following: Is the printer turned on?  Is the cable properly connected?
Логи

Файл  gedit /etc/modprobe.d/blacklist-cups-usblp.conf  пустой открывается


Оффлайн
coden

Boothbay попробуй использовать другой USB кабель.

Если не поможет то нужно отключить режим энергосбережения. Как это сделать в принтере, не нашел. Можно попробовать настроить питание USB порта на котором сидит принтер, для этого делаешь следующее.
1)Выключи и заново включи принтер, или просто включи его передней кнопкой, если у тебя так можно.
2)выполняешь команду:

udevadm info —attribute-walk —name=$(ls -1t /dev/usb/lp* 2> /dev/null | head -1)

вывод выложи сюда.

« Последнее редактирование: 22 Августа 2013, 14:59:55 от coden »


Оффлайн
Boothbay

Кабель поменял, поменял порт USB (правда не знаю надо ли было). Питание вчера насстроил, в этой утилите captstatusui есть Options: Power Save settings, там стояла минута, убрал.
Выполнил команду которую написали, выдало «Device node has wrong file type»
Сейчас перезагрузил принтер, c 3-4 раза начало печатать

Не прошло и 10 мин, пытаюсь распечатать пробную страницу, утилита выдает что Ready to print, всплывает окошко что отправлено на печать, потом что напечатано, а фактически ничего нет  :(

« Последнее редактирование: 22 Августа 2013, 15:22:27 от Boothbay »


Оффлайн
coden

Кабель поменял, поменял порт USB (правда не знаю надо ли было). Питание вчера насстроил, в этой утилите captstatusui есть Options: Power Save settings, там стояла минута, убрал.
Выполнил команду которую написали, выдало «Device node has wrong file type»
Сейчас перезагрузил принтер, c 3-4 раза начало печатать

Не прошло и 10 мин, пытаюсь распечатать пробную страницу, утилита выдает что Ready to print, всплывает окошко что отправлено на печать, потом что напечатано, а фактически ничего нет  :(

для твоего принтера есть только эта настройка по питанию
[Power Save Settings]
Only for LBP9100Cdn, LBP6200, LBP6018, and LBP6000
Displays the [Power Save Settings] dialog box. Specify whether to use the power save mode or the time to switch to the power save mode.

в Power Save settings только поле для ввода или еще есть чекбокс для выбора?


Пользователь решил продолжить мысль 22 Августа 2013, 15:32:47:


дай вывод команды
ls -1t /dev/usb/lp*

« Последнее редактирование: 22 Августа 2013, 15:35:38 от coden »


Оффлайн
Boothbay

Есть чекбокс, ставя галочку активируешь Time to enter Power save mode. Я ее было убрал, может поставить и выбрать 180 мин (это максимум что есть), ввести туда свое количество минут не могу

ls -1t /dev/usb/lp*
/dev/usb/lp0   выдало

« Последнее редактирование: 22 Августа 2013, 15:42:34 от Boothbay »


Оффлайн
coden

Есть чекбокс, ставя галочку активируешь Time to enter Power save mode. Я ее было убрал, может поставить и выбрать 180 мин (это максимум что есть), ввести туда свое количество минут не могу

попробуй, ставь галку и выбери 180, чисто ради эксперимента

Получается когда принтер переходит в спящий режим он пропадает из списка подключенных устройств Linux и связь с ним теряется.
Интересно как в Windowse ведет себя этот принтер, не задумка ли это разработчиков? По прошествии длительного времени принтер попросту выключается (переходит в спящий режим?) и его нужно самостоятельно включать?

« Последнее редактирование: 23 Августа 2013, 06:19:54 от coden »


Оффлайн
Boothbay

Поставил 180 мин, распечатал в 14.20, потом в 15.00, пока полет нормальный)
Нет, он никуда не исчезает, не выключается, в прнтерах есть оба принтера (LBP 6000 который стоит с галочкой, типа по умолчанию, и LBP 6000-6018). Он пишет что ушло на печать и распечатано, но фактически нет бумаги. Заметить только по утилите можно, она выдает Communication Erros


Оффлайн
coden

Поставил 180 мин, распечатал в 14.20, потом в 15.00, пока полет нормальный)
Нет, он никуда не исчезает, не выключается, в прнтерах есть оба принтера (LBP 6000 который стоит с галочкой, типа по умолчанию, и LBP 6000-6018). Он пишет что ушло на печать и распечатано, но фактически нет бумаги. Заметить только по утилите можно, она выдает Communication Erros

понял. сам до конца толком не понимаю что к чему пытаюсь разобраться на будущее.
Boothbay выложи пожалуйста вывод команды:

udevadm info --attribute-walk --name=/dev/usb/lp0
есть еще одна задумка…


Оффлайн
Boothbay

user@N1:~$ udevadm info —attribute-walk —name=/dev/usb/lp0


Оффлайн
coden

user@N1:~$ udevadm info —attribute-walk —name=/dev/usb/lp0

Принтер у тебя подключен к разъему порта usb1, для успешного выполнения команд внизу, не втыкай его в другие разъемы USB
после того как закончишь эксперементировать с настройкой [Power Save Settings] поставь там 1 минуту и выполни команды:

echo "-1" | sudo tee /sys/devices/pci0000:00/0000:00:12.2/usb1/power/autosuspend
echo "on" | sudo tee /sys/devices/pci0000:00/0000:00:12.2/usb1/power/level
echo "enabled" | sudo tee /sys/devices/pci0000:00/0000:00:12.2/usb1/power/wakeup
посмотри поможет это или нет.

чтобы вернуть настройки питания порта usb1 назад, потом выполнишь:

echo "0" | sudo tee /sys/devices/pci0000:00/0000:00:12.2/usb1/power/autosuspend
echo "auto" | sudo tee /sys/devices/pci0000:00/0000:00:12.2/usb1/power/level
echo "disabled" | sudo tee /sys/devices/pci0000:00/0000:00:12.2/usb1/power/wakeup


Оффлайн
Boothbay

График пока такой, проверил по распечатанным пробным страницам))
14.35
14.59
16.08
Ждем 18.00 и проверим последний, если будет печатать то оставлю так, по идее чаще чем раз в 3 часа печатают. Завтра с утра попробую то что вы выслали, оно каши не испортит?


  • Печать

Страницы: 1 23 24 [25] 26 27 41   Вверх

  • Home
  • Forum
  • The Ubuntu Forum Community
  • Ubuntu Official Flavours Support
  • General Help
  • [SOLVED] Get Canon LBP2900 printer working!

  1. Lightbulb Get Canon LBP2900 printer working!

    I have a tips to get this popular printer to work on my ubuntu karmic system.
    After following very many tutorials (UNIXMEN, Wiki Ubuntu, Ubuntu Community) on the web to set up this printer, you are so angry because it doesn’t work (or works for the first time and after restarting your computer it doesn’t print anymore) !!! Arghh…..
    However, I find an interesting thing about it!!!
    If you follow the guide on this forum (or any guides I provided above), at the end you should enter a command in the terminal:
    Then you see a windows with blank message. Nothing here, right?
    We will begin from here:

    gksudo gedit /etc/ccpd.conf

    Change the tag <Printer LBP2900> to <Printer LBPxx00> (like 2000 or 5000, etc)
    Then:

    sudo /etc/init.d/ccpd stop

    sudo /etc/init.d/ccpd start

    If it does nothing, restart your computer.
    Now we enter the first command once again. We should see the message «No specified printer». Don’t worry! We will re-edit the ccpd.conf (change LBPxx00 to LBP2900).
    Notice that: We don’t restart the machine now! Open the terminal and enter two command below:

    sudo /etc/init.d/ccpd stop

    sudo /etc/init.d/ccpd start

    To make sure we are successful, enter this command again:
    Now, our printer are «Ready to print» (Remember to turn on the printer).

    Last edited by herophuong; March 29th, 2010 at 02:16 PM.


  2. Re: Get Canon LBP2900 printer working!

    I’m sorry this doesn’t make sense at all. Just for the record I did really try it doesn’t make any difference.

    I know we all are having trouble with those lousy Canon drivers. Honestly I’m about to blow my brains out now for this CANON LBP2900 of mine keeps on losing connection saying a communication error; check your power and your USB cable. And I really don’t know why.

    I’d appreciate help regarding such an error.


  3. Re: Get Canon LBP2900 printer working!

    Do you make sure that your printer can work perfectly with windows?
    If yes, I think you should delete all the driver by the synaptics manager. While re-installing the driver, you should connect the printer to your computer. If it can print the first time, and then do nothing after you restart your computer, it’s time to do my tip.
    I recommend you follow the guide in «ubuntu community» which I have linked above.


  4. Re: Get Canon LBP2900 printer working!

    Quote Originally Posted by herophuong
    View Post

    Do you make sure that your printer can work perfectly with windows?
    If yes, I think you should delete all the driver by the synaptics manager. While re-installing the driver, you should connect the printer to your computer. If it can print the first time, and then do nothing after you restart your computer, it’s time to do my tip.
    I recommend you follow the guide in «ubuntu community» which I have linked above.

    I was finally able to get my printer working. After a couple of restarts, playing around with cups, ccpd, ccpdadmin, ccpd.conf… etc

    But honestly I really don’t know what really makes the printer indiscoverable at the first time «saying communication error» in captstatusui.

    I don’t know but I feel that switching on the printer before booting will make it discoverable by ubuntu, but you have to switch it off and then on or probably change the USB port in order to get it ready for printer … I might be wrong though

    Ah, BTW I used the new canon capt v2.00 just for your knowledge.


  5. Re: Get Canon LBP2900 printer working!

    I don’t care about the CAPT driver version, because from 1.6 to 1.9 it always works for me.


  6. Re: Get Canon LBP2900 printer working!

    Quote Originally Posted by herophuong
    View Post

    I don’t care about the CAPT driver version, because from 1.6 to 1.9 it always works for me.

    Very good then. I feel still the drivers need more work. An’t I right?


  7. Re: Get Canon LBP2900 printer working!

    Generally, new driver will fix some errors and get some new functions for our devices. But I think with a printer: what’re new functions we can get? And what’re the errors we can feel? The new CAPT v2 would have supported more printers. And our LBP2900 driver is still the old.


  8. Lightbulb Re: Get Canon LBP2900 printer working!

    Hi Everybody I am new to Ubuntu (to Linux in fact…) and of course my LBP2900 didn’t work in the first place…

    …after spending hours trying and reading posts I finally found an solution. It’s derived from a post in the german ubuntu Forum «Installing the LBP5000». It works pretty well and is very logical to me. I found out that the most important thing is to switch the printer (LBP 2900) off during the installation and to use the CAPT Driver Version 2.0!

    Since I was so happy to get the LBP2900 working that I posted my solution on my Blog. You will find a link to the driver aswell.

    My Blog: www.sunscreen.blog.com

    I hope it works for You! I’d be happy for Feedback.


  9. Re: Get Canon LBP2900 printer working!

    I don’t know where I found this driver but at my Ubuntu 9.10 32-bit and now on Ubuntu 10.04 64-bit for Canon LBP-2900 work fine. Just read README file.

    http://ubuntuone.com/p/86k/



Tags for this Thread

Bookmarks

Bookmarks


Posting Permissions

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

Tonttu

Level 2
Level 2
Posts: 62
Joined: Mon Jul 11, 2011 11:54 am

Linux Mint 17 32-bit and Canon LBP7018C Communication error

Trying to get my neighbor’s printer working on LM 17 KDE 32-bit.

Driver version 2.60 installed with these instructions.

On the surface, everything seems to be fine, cups and all, but jobs won’t print and captstatusui says «Communication Error».

— service ccpd status shows two numbers
— top shows two ccpd instances running, like they should

If I turn off the printer and then on again while starting captstatusui, it will show after turning on, ”Ready to print”, but will change to «Communication Error” after a short while.

ccpdadmin:

Code: Select all

CUPS_ConfigPath = /etc/cups/
 LOG Path        = None
 UI Port         = 59787

 Entry Num  : Spooler   : Backend       : FIFO path             : Device Path  : Status 
 ----------------------------------------------------------------------------
     [0]    : LBP7018C  : ccp           : //localhost:59687     : /dev/usb/lp0 :

lsusb:
Bus 001 Device 003: ID 04a9:271c Canon, Inc.

ls -l /dev/usb/lp*
crw-rw—- 1 root lp 180, 0 marra 15 16:20 /dev/usb/lp0

CUPS web admin:
Driver: Canon LBP7010C/7018C CAPT (UK) (color, 2-sided printing)
Connection: usb://Canon/LBP7010C/7018C?serial=0000A2C3JExe

Error logs for trying to print:

tail -30 /var/log/cups/error_log

Code: Select all

W [14/Nov/2014:15:46:53 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'LBP7010C-7018C-Gray..' already exists
W [14/Nov/2014:15:46:53 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'LBP7010C-7018C-RGB..' already exists
W [14/Nov/2014:15:46:53 +0200] CreateDevice failed: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-LBP7010C-7018C' already exists
E [14/Nov/2014:15:46:53 +0200] Unable to bind socket for address [v1.::1]:631 - Address already in use.
E [14/Nov/2014:15:46:53 +0200] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
E [14/Nov/2014:16:05:39 +0200] [Job 718] Stopping unresponsive job.
E [14/Nov/2014:16:10:29 +0200] Unable to remove /var/run/cups/certs/0!
E [14/Nov/2014:16:24:17 +0200] [Job 722] Stopping unresponsive job.
W [14/Nov/2014:16:24:43 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'LBP7010C-7018C-Gray..' already exists
W [14/Nov/2014:16:24:43 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'LBP7010C-7018C-RGB..' already exists
W [14/Nov/2014:16:24:43 +0200] CreateDevice failed: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-LBP7010C-7018C' already exists
W [14/Nov/2014:16:24:43 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'LBP7018C-Gray..' already exists
W [14/Nov/2014:16:24:43 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'LBP7018C-RGB..' already exists
W [14/Nov/2014:16:24:43 +0200] CreateDevice failed: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-LBP7018C' already exists
E [14/Nov/2014:16:24:43 +0200] Unable to bind socket for address [v1.::1]:631 - Address already in use.
E [14/Nov/2014:16:24:43 +0200] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
E [14/Nov/2014:16:28:11 +0200] Unable to remove /var/run/cups/certs/0!
E [14/Nov/2014:16:37:16 +0200] [Job 724] Unable to send data to printer.
E [14/Nov/2014:16:45:56 +0200] [cups-deviced] PID 2480 (dnssd) stopped with status 1!
W [14/Nov/2014:16:47:09 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'LBP7010C-7018C-Gray..' already exists
W [14/Nov/2014:16:47:09 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'LBP7010C-7018C-RGB..' already exists
E [14/Nov/2014:16:47:52 +0200] [Job 726] Unable to get printer status.
E [14/Nov/2014:16:49:16 +0200] [Job 727] The printer is not responding.
E [14/Nov/2014:16:56:41 +0200] [Job 728] The printer is not responding.
E [14/Nov/2014:16:57:01 +0200] [cups-deviced] PID 2817 (dnssd) stopped with status 1!
W [14/Nov/2014:16:57:19 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'LBP7010C-7018C-Gray..' already exists
W [14/Nov/2014:16:57:19 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'LBP7010C-7018C-RGB..' already exists
E [14/Nov/2014:16:57:46 +0200] [Job 729] Unable to send data to printer.

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

pdc_2

Level 9
Level 9
Posts: 2993
Joined: Mon May 11, 2009 1:21 am

Re: Linux Mint 17 32-bit and Canon LBP7018C Communication er

Post

by pdc_2 » Sun Nov 16, 2014 3:13 am

so if I just go over the steps to install; as I understand them:

1) drivers: I understand they are installed and one can check with

2) restart cups

3) Register the printer (PPD) with the print spooler………….here the ubuntu wiki has what some say is the wrong number (59687)…….most recommend 59787 … so the command would be

Code: Select all

sudo /usr/sbin/lpadmin -p LBP7018C -m CNCUPSLBP7018CCAPTK.ppd -v ccp://localhost:59787 –E

4) Register with ccpd daemon

Code: Select all

sudo /usr/sbin/ccpdadmin -p LBP7018C -o /dev/usb/lp0 

-_________________________-

one could delete the existing print spool registration with

Code: Select all

sudo /usr/sbin/lpadmin -x LBP7018C

and try the entry above ……….that I suggest is the better version of print spool registration ……….

Canon in their advice for uninstalling list removing the ccpd daemon registration first; but it seems ok so I have only listed the command to remove the existing print spool registration; before you add the new one ..

_________________

Oh; and in the readme, Canon say that for the 32bit ubuntu (and therefore Mint) one needs libglade2 so the command is

Tonttu

Level 2
Level 2
Posts: 62
Joined: Mon Jul 11, 2011 11:54 am

Re: Linux Mint 17 32-bit and Canon LBP7018C Communication er

Post

by Tonttu » Sun Nov 16, 2014 5:00 am

pdc_2 wrote:
3) Register the printer (PPD) with the print spooler………….here the ubuntu wiki has what some say is the wrong number (59687)…….most recommend 59787 … so the command would be

Code: Select all

sudo /usr/sbin/lpadmin -p LBP7018C -m CNCUPSLBP7018CCAPTK.ppd -v ccp://localhost:59787 –E

Hey, I think this might be the key! I noticed in my ccpdadmin printout that UI Port = 59787 while I’ve defined the FIFO path as //localhost:59687
Is it possible to change the FIFO path without uninstalling and reinstalling?
There *is* a nice uninstall script, though, and I know it works: https://github.com/raducotescu/CanonCAPTdriver/

I’ll visit my neighbor maybe later today or some other day, if she doesn’t have time.

pdc_2

Level 9
Level 9
Posts: 2993
Joined: Mon May 11, 2009 1:21 am

Re: Linux Mint 17 32-bit and Canon LBP7018C Communication er

Post

by pdc_2 » Sun Nov 16, 2014 7:11 pm

Is it possible to change the FIFO path without uninstalling and reinstalling?

so for a CAPT driver you do:

1)install drivers
2) register ppd with print spooler
3) register with ccpd daemon

__________

my suggestion was that it was part 2) was at fault; I gave a command that I suggested would remove that print spooler registration;

Code: Select all

sudo /usr/sbin/lpadmin -x LBP7018C

and suggested you then issue what I would suggest is the correct command;

Code: Select all

sudo /usr/sbin/lpadmin -p LBP7018C -m CNCUPSLBP7018CCAPTK.ppd -v ccp://localhost:59787 –E

………….so you do need to do a little uninstalling and reinstalling; but I would suggest it is only 1 of the 3 parts of a CAPT install …………does that make sense?

________________________________

the two commands above refer to lpadmin and the ccpadmin is left alone ………………….

_________________________________

Is it possible to change the FIFO path without uninstalling and reinstalling?

…………..FIFO was the old form; where one created the FIFO directory; with using the newer

ccp://localhost:59787

the FIFO is not used at all …………………..

Tonttu

Level 2
Level 2
Posts: 62
Joined: Mon Jul 11, 2011 11:54 am

Re: Linux Mint 17 32-bit and Canon LBP7018C Communication er

Post

by Tonttu » Fri Nov 21, 2014 10:09 am

Ok I finally got around to readding the printer with proper port.
Btw. with lpadmin the -E option forces encryption when connecting to the server

ccpdadmin now shows:

Code: Select all

CUPS_ConfigPath = /etc/cups/
 LOG Path        = None
 UI Port         = 59787

 Entry Num  : Spooler   : Backend       : FIFO path             : Device Path   : Status 
 ----------------------------------------------------------------------------
     [0]    : LBP7018C  : ccp           : //localhost:59787     : /dev/lp0      : 

For some reason, the device path was changed to /dev/lp0 so I changed it accordingly in the ccpd.conf file.

/etc/ccpd.conf has

Code: Select all

<Printer LBP7018C>
DevicePath /dev/lp0
</Printer>

<Ports>
# Status monitoring socket port.
#  Default 59787
UI_Port  59787
PDATA_Port  59687
</Ports>

captstatusui now says only «Wait a moment.». Printing does not work yet.

Error messages are interesting, but I could not find a solution based on them:

tail -30 /var/log/cups/error_log

Code: Select all

W [21/Nov/2014:15:23:19 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'LBP7018C-Gray..' already exists
W [21/Nov/2014:15:23:19 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'LBP7018C-RGB..' already exists

Snipped irrelevant info from the beginning of this:

tail -f /var/log/syslog

Code: Select all

Nov 21 15:49:58 HP-Compaq-dc7600-Convertible-Minitower kernel: [  135.520022] parport0: FIFO is stuck
Nov 21 15:49:58 HP-Compaq-dc7600-Convertible-Minitower kernel: [  135.568020] parport0: BUSY timeout (1) in compat_write_block_pio
Nov 21 15:50:27 HP-Compaq-dc7600-Convertible-Minitower kernel: [  164.383279] c3pldrv[2005]: segfault at 0 ip   (null) sp bfd5760c error 14 in c3pldrv[8048000+13000]
Nov 21 15:51:08 HP-Compaq-dc7600-Convertible-Minitower kernel: [  205.616029] parport0: FIFO is stuck
Nov 21 15:51:08 HP-Compaq-dc7600-Convertible-Minitower kernel: [  205.664036] parport0: BUSY timeout (1) in compat_write_block_pio
Nov 21 15:52:18 HP-Compaq-dc7600-Convertible-Minitower kernel: [  275.708021] parport0: FIFO is stuck
Nov 21 15:52:18 HP-Compaq-dc7600-Convertible-Minitower kernel: [  275.756020] parport0: BUSY timeout (1) in compat_write_block_pio

Tonttu

Level 2
Level 2
Posts: 62
Joined: Mon Jul 11, 2011 11:54 am

Re: Linux Mint 17 32-bit and Canon LBP7018C Communication er

Post

by Tonttu » Fri Jan 16, 2015 2:12 am

pdc_2 wrote:well done!

I suspect 32bit anything would be equally successful!

Yes, I suspected that a complete reinstall of Mint might have solved it, but wanted to try a rolling distro for her!
Thanks for all the patience and help.

Как заставить роботать этот принтер?
В Линуксах новичок, так что прошу подробно описать або ткнуть носом в мануальчик

« Последнее редактирование: 28.07.2012 19:18:02 от it »


Записан


Скачать драйвера с оф. сайта: http://software.canon-europe.com/software/0040567.asp?model=
Далее необходимо распаковать два файла, cndrvcups-common-2.20-1.i386.rpm и cndrvcups-capt-2.20-1.i386.rpm из папки CAPT_Printer_Driver_for_Linux_V220_uk_EN->32-bit_Driver->RPM в домашний каталог пользователя (в примере использую пользователя user).
Далее в терминале:

$ su -
# cd /home/user
# apt-get install cndrvcups-common-2.20-1.i386.rpm
# apt-get install cndrvcups-capt-2.20-1.i386.rpm
# service cups restart
# /usr/sbin/lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp://localhost:59687 -E
# /usr/sbin/ccpdadmin -p LBP2900 -o /dev/usb/lp0
Далее нужно подправить файл /etc/modprobe.d/blacklist-cups, закомментировать строку (поставить решетку ‘#’ вначале строки)

#blacklist usblpА в этом файле /etc/init.d/ccpd, нужно где-н. вначале вставить эти строки

# ccpd          Canon Printing for CUPS
# chkconfig:    2345 65 35
# description:  Canon Printing for CUPS
# processname:  ccpd
# config:       /etc/ccpd.conf
Все, потом ещё дать две команды

# service ccpd start
# chkconfig ccpd on

После этого перезагрузиться.

Удачи!

PS Много инфы про подобные принтеры есть на форуме, пользуйтесь поиском.

« Последнее редактирование: 28.07.2012 10:26:16 от berkut_174 »


Записан

Сноси Винду, переходи на Линукс ! :)


Всё сделал. Уввы нечего не получилось(((Жму печать—-обработка (ждал до 5мин)—тишина


Записан


Всё сделал. Уввы нечего не получилось(((Жму печать—-обработка (ждал до 5мин)—тишина

Проверьте через Центр Управления Системой -> Печать свойства принтера LBP2900, размер бумаги установите а4, если установлено Letter.


Записан

Сноси Винду, переходи на Линукс ! :)


Посматрите настройки, всеравно не работает

« Последнее редактирование: 22.07.2012 22:47:25 от it »


Записан


Посматрите настройки, всеравно не работает

А вы очередь печати очистили ?

$ su -
# lprm -

« Последнее редактирование: 23.07.2012 09:57:01 от berkut_174 »


Записан

Сноси Винду, переходи на Линукс ! :)


И что говорит:

# captstatusui -P LBP2900

На экране должно появиться графическое окно с фразой: ready to print.


Записан

Сноси Винду, переходи на Линукс ! :)


Посматрите настройки, всеравно не работает

URI неправильный, вот и не работает. Должно быть ccp://localhost:59687


Записан


а может их два принтера? «canon lbp2900-2» и …?


Записан


И что говорит:# captstatusui -P LBP2900

На экране должно появиться графическое окно с фразой: ready to print.

шота не так настроил, команда говорит » # captstatusui -P LBP2900

(captstatusui:6469): Gtk-WARNING **: Unable to locate theme engine in module_path: «mist»,

(captstatusui:6469): Gtk-WARNING **: Unable to locate theme engine in module_path: «mist»,
*** captstatusui Error: No Specified Printer ***
«


Записан


Посматрите настройки, всеравно не работает

А вы очередь печати очистили ?$ su -
# lprm -

ета гворит «# lprm
lprm: No active jobs on LBP2900-2.
«


Записан


а может их два принтера? «canon lbp2900-2» и …?

да их 2 —2 раза настроивал , тока на печать отправляю на 2й принтер

Как стереть всё чтоб начать з нуля, или просто удалить принтера?

« Последнее редактирование: 24.07.2012 00:05:12 от it »


Записан


Как стереть всё чтоб начать з нуля, или просто удалить принтера?

Да, удалите все кроме Cups-PDF и заново дайте команды:

$ su -
# /usr/sbin/lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp://localhost:59687 -E
# /usr/sbin/ccpdadmin -p LBP2900 -o /dev/usb/lp0/

Потом, если нужно поправьте размер бумаги и пробуйте распечатать тестовую страницу через ЦУС.


Записан

Сноси Винду, переходи на Линукс ! :)


Сделал как написано.
Результат (см.вкл.)
И нечего не изменилось—принтер не печатает блин(( , отправляю на друк —-брасает в очередь(у меня 14)—обработка—изчезает из очереди—принтер не реагирует даже((

« Последнее редактирование: 25.07.2012 23:42:05 от it »


Записан


Теперь что:

# captstatusui -P LBP2900

На экране должно появиться графическое окно с фразой: ready to print.

Покажите вкладку в свойствах принтера «Политика».


Записан

Сноси Винду, переходи на Линукс ! :)


Настройка Canon LBP2900 в Debian.
Этот пост — вольный перевод статьи опубликованной здесь, адаптированный под Debian (Ещё одна хорошая статья есть тут).

1. Выключим принтер.
Откроем терминал и выполним

su

2. Проверим наличие Ghostscript и OpenPrinting Driver Interface

gs -h | grep opvp

она должна вывести что-то вроде

lj5mono ljet2p ljet3 ljet3d ljet4 ljet4d ljetplus nullpage opvp oprp pbm

если строка не содержит выделенных позиций значит OpenPrinting Driver Interface не установлен и нужно установить его.

3. Далее необходимо получить архив с драйверами, распаковать его. В папке /Linux_CAPT_PrinterDriver_V260_uk_EN/32-bit_Driver/Debian/ находятся два пакета с драйверами принтера.
В терминале перейдём в папку с драйверами и выполним команду

dpkg -i *.deb

4. Включим принтер.

5. Перезагрузим CUPS

/etc/init.d/cups restart

6. Зарегистрируем Canon LBP2900 в диспетчере очереди печати

/usr/sbin/lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E

Общий синтаксис команды (если другая модель принтера)

/usr/sbin/lpadmin -p [printer name] -m [PPD file name] -v ccp:/var/ccpd/fifo0 -E

[свернуть]

7. Выясним куда подключился принтер lp0 или lp1

ls /dev/usb/

8. Путь к принтеру мы посмотрели предыдущей командой
Зарегистрируем принтер в ccpd-Daemon-Setupfile

/usr/sbin/ccpdadmin -p LBP2900 -o /dev/usb/lp0

Общий синтаксис команды (если другая модель принтера)

/usr/sbin/ccpdadmin -p [Printer Name] -o [Printer Device Path]

[свернуть]

9. Запустим ccpd

/etc/init.d/ccpd start

10. Проверим состояние принтера

captstatusui -P LBP2900

11. Если в появившемся окне монитора видим Ready to print значит можно печатать.

12. Добавляем драйвер в автозапуск

update-rc.d ccpd defaults 20;

Открываем /etc/rc.local

nano /etc/rc.local

Дописываем перед exit 0 следующую строку

/etc/init.d/ccpd restart

Сохраняем, закрываем, перезагружаем, проверяем.


Замечено следующее: если установка принтера проводилась сначала с помощью одного аппарата (принтера), а потом был подключен другой, точно такой же, то есть вероятность появления ошибки, которая фигурирует в мониторе принтера (captstatusui -P LBP2900) как Communication error. При этом все провода и питание в порядке. Причина всё в той же точке подключения — /dev/usb/lp0 или /dev/usb/lp1… проверьте — один принтер может быть подключен в lp0, но если его заменить на другой — то второй может быть lp1… после повторного выполнения команды /usr/sbin/ccpdadmin -p LBP2900 -o /dev/usb/lpХ где Х — нужный символ… принтер начинает работать.
И ещё… Canon LBP2900 не имеет драйвера под 64bit архитектуру… хотя в архиве с драйвером есть rpm-пакет под эту архитектуру, генерированный из него deb-пакет (с использованием утилиты alien) нормально не функционирует. Более углубленно не разбирался. Если вариант всё-же есть — будет интересно выслушать.


Русские дебианщики против цифрового слабоумия !


Подскажите с написанием скрипта/кнопки_запуска.
Принтер периодически подвисает, приходится перезапускать сервис ccpd + иногда приходится еще и перерегистрацию принтера делать. Посему хочу все в одну кнопочку запуска уложить


sudo kill -9 ccpd ;
/usr/sbin/lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E ;
/etc/init.d/ccpd start     


Часто бывает так что границы присланного документа выходят за границы печати, и тогда не надо ничего перезапускать — достаточно открыть монитор принтера командой

captstatusui -P LBP2900

и в меню выбрать

Job -> Resume job

после чего принтер продолжит печатать в штатном режиме



Всё зависит от

полноты налитого стакана

используемого окружения рабочего стола

Русские дебианщики против цифрового слабоумия !


Цитата: ferum от 05 ноября 2013, 13:30:40Всё зависит от полноты налитого стакана используемого рабочего стола

Нет, нет. Вы меня не поняли. Все работает нормально, но периодически из за бурь_на_Марсе/свержения_монарха_в_Африке/по_неизвестным_причинам принтер перестает печатать, капстатус выдает ошибку сокета и не запускается и т.д. Вот прошу помощи в  написании кнопки запуска, чтобы пользователь на нее щелкнул и выполнился скрипт. WM — LXDE

Открыть содержимое (спойлер)

sudo kill -9 ccpd ;
/usr/sbin/lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E ;
/etc/init.d/ccpd start   

[свернуть]


sx88, чуть выше ссылка на бунтовский мануал. разница в том , что по нему демоном запуска принтера рулит udev  и рулит без заморочек, единственное правило для себя: загрузилась система, включил принтер….при необходимости но не наоборот.

Русские дебианщики против цифрового слабоумия !


sx88, я поправил этот пост — установил, настроил по нему два принтера Canon LBP2900, плюс расшарил их — работают. Драйвер нормально запускается при старте компьютера, принтер можно отключить, включить, вытащить и воткнуть обратно usb-кабель, после этого принтер всё равно печатает.
На борту Debian7+XFCE.


Сообщение объединено: 06 ноября 2013, 08:53:00


и да — принтер всегда включен…  :) (не нужно выключать перед загрузкой ОС)


Вообще эти принтеры очень странные для linux или просто до сих пор не существует единого надёжного решения для них. В убунтах 3000 у меня работал всегда, но с переменным успехом. На одних релизах хорошо, с другими были проблемы. На Squeeze он меня просто достал, нельзя было печатать пока не перезапустишь сервис ccpd, а иногда просто отваливался без видимых причин, помогала только полная переустановка и то бывало что не с первого раза. В wheezy пока печатает, проблем не наблюдал…но не сглазить бы. Единственный случай удививший меня был с забавным дистрибутивом PClinuxOS, принтер завёлся с полоборота и работал исключительно, пауза для прохождения задания была меньше чем в винде. Печать и мнгновенно процесс пошёл. В debian пауза составляет пару секунд, некритично но заметно.

Русские дебианщики против цифрового слабоумия !


Более того — сейчас настроил печать из Windows на принтер Canon LBP2900, подключенный к Debian7 — делал как описано здесь, за исключением того что драйвер поставил родной. С драйвером Generic — MS Publisher Imagesetter этот принтер не работает.


Очень интересно, а подробнее:
1) http://10.1.1.49:631/printers/scx4200 — с IP понятно , а scx4200 меняем на ?
2)что в firewall-е на linux-машинке открыт TCP-порт 631 для windows-клиента. можно подробнее чтоб не гуглить ?
3) Надо ставить на винду драйвера для canon ?

Русские дебианщики против цифрового слабоумия !



Опробовал этот способ на debian squeeze и на windows xp обе системы стоят на одной сетевой машине. На debian из трудностей только то что система видит почемуто как бы 2 одинаковых принтера (один …@192.168…) он то и оказался нужным. Для винды пришлось прописывать принтер ручками (сама не видит)…надо было ещё  сообразить как он правильно называется., драйвер установил с диска.

Русские дебианщики против цифрового слабоумия !


Содержание

  1. [Решено] Принтер Canon LBP-1120
  2. 4 комментария
  3. unixforum.org
  4. Костыль для принтеров Canon LBP 2900, 3000, 5000 и подобных (Написал скриптик для ccpd. подработайте)
  5. Костыль для принтеров Canon LBP 2900, 3000, 5000 и подобных
  6. Arch Linux
  7. #1 2013-09-29 23:02:56
  8. Canon LBP2900: can’t install
  9. #2 2013-09-29 23:06:10
  10. Re: Canon LBP2900: can’t install
  11. #3 2013-09-30 02:47:17
  12. Re: Canon LBP2900: can’t install
  13. #4 2014-02-07 03:46:42
  14. Re: Canon LBP2900: can’t install
  15. #5 2014-02-07 15:41:15
  16. Re: Canon LBP2900: can’t install
  17. #6 2014-05-15 09:16:49
  18. Re: Canon LBP2900: can’t install
  19. Подключить принтер Canon LBP6000
  20. [Решено] Принтер Canon LBP-1120

[Решено] Принтер Canon LBP-1120

Всем здрасте,
Есть такой старичёк, но немножко с амнезией под Манжаро
В общем, устанавливаю драйвер capt-src из AUR, в конце настраиваю, как предлагают :

captstatusui не видит принтера

Принтер один раз отпечатает — и то если успеть, и всё, дальше тупо стоит и молчит.

На Линукс Минт с помощью скрипта работает отлично:
help.ubuntu.ru/wiki/canon_capt

Как же его в Манжаро завести?

— Ага, captstatusui поломан, пишет сборщик:

reztho прокомментировал 2017-08-09 19:15

Known issue in v2.71: bad news with this new driver, captstatusui is broken again. It says «No specified printer» everytime.

So if someone with time wants to debug this and share a patch, I’ll be thankful since I don’t have time to do it myself.

4 комментария

Всё, справился, благодаря форуму Арч

Установка драйвера для принтера Canon LBP-1120 в Arch Linux или Manjaro

yaourt -S capt-src

Перезапускаем CUPS:
systemctl restart org.cups.cupsd.service

Теперь внимание!
В похожих инструкциях устанавливают .ppd файл, идущий вместе с capt-src, но для LBP-1120 он не работает
Необходимо скачать .ppd из сборки такого драйвера для Убунты
Я его вытащил и залил на mega.nz
mega.nz/#!A10VBC6C!mWL_bi46HmGsxvnnTsN1Kr3KmklnqpZFmjchRkJwEHs

Скачиваем, переходим в директорию, куда сохранили
lpadmin не понимает абсолютный путь, необходимо перейти туда, где находится .ppd

Теперь скармливаем его:

lpadmin -p LBP-1120 -m CNCUPSLBP1120CAPTK.ppd -v ccp://localhost:59687 -E

sudo /usr/bin/ccpdadmin -p LBP-1120 -o /dev/usb/lp0

Запускаем демона ccpd:
systemctl enable —now ccpd

Утилита captstatusui пока не работает (мейнтейнер отписался в комментах на AUR)

Источник

unixforum.org

Форум для пользователей UNIX-подобных систем

  • Темы без ответов
  • Активные темы
  • Поиск
  • Статус форума

Костыль для принтеров Canon LBP 2900, 3000, 5000 и подобных (Написал скриптик для ccpd. подработайте)

Костыль для принтеров Canon LBP 2900, 3000, 5000 и подобных

Сообщение Dimbas » 28.11.2009 12:16

Вообщем проблема с этими принтерами всем известна, вроде бы работают, а вроде бы и нет.
Решил написать скриптик который бы хотя бы частично решал эту проблему.
Были установлены следующие случаи отказа в работе принтера:
1. Если система загрузилась с выключенным принтером, то при включении принтера требуется перезапуск демона ccpd чтоб он начал работать
2. При выключении принтера процесс captmon2 начинает жрать 100% процессора, лечится остановкой ccpd
3. При печати по не установленным причинам бывает процессы captmon2 и captfilter начинают жрать 100% проца. Лечится перезапуском ccpd. Иногда такое лечение не работатет так как после перезапуска ccpd captmon2 и captfilter опять начинают жрать 100% проц. Также бывает что в cups принтер оказывается остановленным.

Исходя из этих условий был написан скрипт. Который проверяет включился или выключился принтер и убивает процессы если они начинают жрать 100% проца. Проблемы не решенные скриптом (надеюсь вы мне поможите их решить)
1. Запуск принтера в cups если он вдруг оказался остановленным. (не знаю какой командой это можно сделать)
2. Причины по которым captmon2 и captfilter все равно продолжают жрать 100% после перезапуска ccpd
3. Во время работы скрипта в консоль рута сыпятся ошибки, кто знает как подавить вывод от скрипта подскажите.

Ну собственно сам текст скрипта. (предупреждаю, я не программист, поэтому на красоту решений внимание не обращайте или поправите если можете)

Источник

Arch Linux

You are not logged in.

#1 2013-09-29 23:02:56

Canon LBP2900: can’t install

Hi there!
Wasted a lot of time trying to get printer installed. Arch wiki seems outdated (still describes installation for rc.d).
I thought it will be possible to install printer with cups built-in functionality (it should have printer drivers like gutenprint), but I can’t even connect to cups web interface: Firefox reports that can’t establish connection to localhost:613.
I found some relevant links in google (editing cupsd.conf), but nothing helps.
Cups itself seems as running: systemctl status cups shows: active (running)

Really need a help.
Thanks in advance.

#2 2013-09-29 23:06:10

Re: Canon LBP2900: can’t install

Not a Kernel issue, moving to NC.

Registered Linux User #482438

#3 2013-09-30 02:47:17

Re: Canon LBP2900: can’t install

Finally CUPS web interface appeared from nowhere. Did nothing, even did not restarted cups.
Printer now is added, but does not printing. Tried to send test page to printer — printer does not reacts.Print job shows status: «Sendibg data to printer» for some seconds and disappears.
CUPS error log contains these strings:

it is strange, why cups tries to communicate to avahi, if I disabled printer sharing.
Googled for first string (about ColorManager), but nothing useful. Presumably it is a driver issue, but I did not found that this error was fixed.
Currently I have a CAPT driver installed: CAPT ver.1.5.

#4 2014-02-07 03:46:42

Re: Canon LBP2900: can’t install

Can anyone give me direction about how to set this thing up for systemd
as it says in
https://wiki.archlinux.org/index.php/Talk:Canon_LBP2900

I’ll try to do as I need it to work with arch !

The true sign of intelligence is not knowledge but imagination AND SO We cannot solve our problems with the same thinking we used when we created them.

#5 2014-02-07 15:41:15

Re: Canon LBP2900: can’t install

If you’re sure your printer needs the ccapt driver, try this https://aur.archlinux.org/packages/capt-src/ .
it provides version 2.60 .

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

(A works at time B) && (time C > time B ) ≠ (A works at time C)

#6 2014-05-15 09:16:49

Re: Canon LBP2900: can’t install

If you’re sure your printer needs the ccapt driver, try this https://aur.archlinux.org/packages/capt-src/ .
it provides version 2.60 .

I installed it via Yaourt. but it I get the below error for this command: «captstatusui -P LBP3150»

It did not ask anything about my printer version during installation process. My machine is 64 bit.

Источник

Подключить принтер Canon LBP6000

# 4 года, 10 месяцев назад (отредактировано 4 года, 10 месяцев назад)

red
что-то у вас не нахожу в описании вашей установки регистрация принтера в демоне ccpd (ccpdadmin)

Уже на столько запутался что караул, вроде не делал.
Короче:

Ну это уже что-то. Но принтер так и не печатает.
Спасибо. Теперь systemctl status org.cups.cupsd.service Выдает:

При чем если мониторить командой то: captstatusui -P Canon_LBP6000_LBP6018

/dev/usb/lp0d ? а чего не lp0 ?
да там еще просил показать статус ccpd.service
# 4 года, 10 месяцев назад (отредактировано 4 года, 10 месяцев назад)

red
/dev/usb/lp0d ? а чего не lp0 ?
да там еще просил показать статус ccpd.service

org.cups.cupsd.service
ccpd.service

п.с.
чтобы вывод не усекался, а переносился но новую строку можно добавить ключи —no-pager —full
systemctl —no-pager —full status ЮНИТ

# 4 года, 10 месяцев назад (отредактировано 4 года, 10 месяцев назад)

Да, спасибо. Переделал.

red
да там еще просил показать статус ccpd.service

Да, тоже спасибо. Отвлекаюсь на другое. Прошу меня пардонить.

Тот вывод после того, как переделал на lp0, ребутнул сервисы и попробовал напечатать.

И captstatusui так и не чекается.

не понятно, а разве имена не должны быть одинаковыми ?
lpadmin -p .
ccpdadmin -p .
# 4 года, 10 месяцев назад (отредактировано 4 года, 10 месяцев назад)

red
не понятно, а разве имена не должны быть одинаковыми ?
lpadmin -p …
ccpdadmin -p …

Да вроде одинаковые должны быть..

CUPS работает и отображает:

А вот с ccpd что-то не то.

Может у меня принтер не в /dev/usb/lp0? Как узнать точно?

Может у меня принтер не в /dev/usb/lp0? Как узнать точно?

хм, пишет USB port busy.
попробуй в разные юсб повтыкать

Может у меня принтер не в /dev/usb/lp0? Как узнать точно?

попробуйте перестановить принтер, предварительно его удалив:
далее:
ИМЯ вроде вы указывали это — Canon_LBP6000 ? его и подставляйте
вроде как-то так.

То что lp0(/dev/usb/lp0) будет вашим файл-устройством для принтера не факт, или же кто-то в системе может имеет такое же имя и перебивать
Можно попробовать в лоб вычислить какой файл устройства у принтера:
отключить принтер, затем выполнить:
подключить принтер, затем выполнить:
а затем сравнить их:
проанализировав вывод можно понять где он находится и как его имя

Ставим:
вместо /dev/usb/lp0 ставим свой(если отличается)

еще можно попробовать вручную добавить в конфиг файл /etc/ccpd.conf строки:
где естественно /dev/usb/lp0 должно быть ваше файл-устройство принтера

ну и на всякий случай можно добавить себя в группу printadmin

© 2006-2023, Русскоязычное сообщество Arch Linux.
Название и логотип Arch Linux ™ являются признанными торговыми марками.
Linux ® — зарегистрированная торговая марка Linus Torvalds и LMI.

Источник

[Решено] Принтер Canon LBP-1120

# 5 лет, 2 месяца назад (отредактировано 5 лет, 2 месяца назад)

Всем здрасте,
Есть такой старичёк, но немножко с амнезией под Арчем
В общем, устанавливаю драйвер capt-src из AUR, в конце настраиваю, как предлагают:

captstatusui не видит принтера

Принтер один раз отпечатает — и то если успеть, и всё, дальше тупо стоит и молчит (никакая перезагрузка, подключение в другой порт, и прочее — не помогают)

На Линукс Минт с помощью скрипта работает отлично:
http://help.ubuntu.ru/wiki/canon_capt

Как же его в Арче завести?

CUPS пишет: ccp send_data error, exit

— Ага, captstatusui поломан, пишет сборщик:

reztho прокомментировал 2017-08-09 19:15

Known issue in v2.71: bad news with this new driver, captstatusui is broken again. It says «No specified printer» everytime.

So if someone with time wants to debug this and share a patch, I’ll be thankful since I don’t have time to do it myself.

Но эта программа для диагностики, и на работу не должна влиять

Мда, похоже придёться ставить Бубунту, которую я не люблю

# 5 лет, 2 месяца назад (отредактировано 5 лет, 2 месяца назад)

Этот скрипт и под убунтой, скоее всего не заведется #замена содержимого файла /etc/init.d/ccpd

87dv
Есть такой старичёк, но немножко с амнезией под Арчем

Ну одно и тоже 🙂 прост нескучные обои

Могу и Арч установить, но там такой же результат будет

Попытался впихнуть .deb с помощью debtap, но не хотить-итить

Разархивировал .deb
Может ручками впихнуть?

Первый раз .deb на Арч накатить собрался. Подскажите, как правильно?

Источник

I have been trying to install Canon laser printer LBP2900B in Linux Mint 17.2 Cinnamon 32bit.

Whenever I give a print order monitor will say » printing» ! After 2 seconds it will say,» printing cancelled » !

When i check the printer status( captstatusui -P LBP2900),the message i am getting is:

Communication error:
    - is the printer turned on ?
    - is the cable correctly connected ?

I reconnected the cable,still the same error message !I am not getting » Ready to print » message after running the command captstatusui -P LBP2900

[Click to see screen shot

And in the terminal it says: «(captstatusui:8733): GLib-CRITICAL **: Source ID 10 was not found when attempting to remove it «

I tried many versions of CAPT driver from canon site including latest 2.7 !
The main link i referred is:

http://www.e-lokam.com/internetsoftware/cannon-lbp-2900b-printer-installation-in-mint-16/

Another link itried :

https://radu.cotescu.com/how-to-install-canon-lbp-printers-in-ubuntu/

Archemar's user avatar

Archemar

30.6k18 gold badges69 silver badges104 bronze badges

asked Nov 20, 2015 at 2:21

Aboobackar's user avatar

First you turn on the cpu or laptop and give time to 10 or 15 min to turn the printer after go to terminal and check the printer status in terminal by using this command: captstatusui -P LBP2900, it shows what is printer’s current status, printer is not yet ready or some error is coming mean restart the CPU or laptop and check the status, still printer get ready to print.

Use this file to install the via synaptic driver
portserve, gsfonts, gsfonts-other, gsfonts-x11

Anthon's user avatar

Anthon

77k42 gold badges159 silver badges217 bronze badges

answered Mar 21, 2016 at 2:44

user162073's user avatar

I had a the same printer and there isn’t driver for this model, I lost months in search of it.
And even if there were there would be other problems, I am sorry

answered Jul 26, 2020 at 16:56

gaw's user avatar

View previous topic :: View next topic  
Author Message
WvR
Apprentice
Apprentice

Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Thu Feb 16, 2012 1:14 am    Post subject: [Canon LBP-7200C] Has anybody been able to use this printer? Reply with quote

I recently acquired a Canon Satera LBP7200C printer. First annoying point is that is does not have a network connection. My fault, I should have ordered the ‘CN’ version. I expected that all printers in this class ( USD 650+ ) had a network connection.

CUPS does not support this printer, so I installed the gutenprint package. This package also does not support this printer, so I downloaded the Canon drivers from the Canon website. Now the issue is that Canon uses a language called CAPT to control their printers. After a bit of trouble, I restarted CUPS and tried to install the printer:

1. from CUPS, add printer

2. printer is found on USB, correct driver is suggested (LBP7200C CAPT EN)

3. printer is added I can set the options

4. printer shows up in list of printers as «printer is now online»

5. If I print a test page, there is no error whatsoever, but there is also no print!

I have gone through /var/log/cups/error.log. I have set CUPS to DEBUG logging, restarted CUPS, and checked the error log. There are several mentions of «pstocapt3», which is the program which formats the information for the printer. CUPS then returns with «no error». I found this discussion, which is basically the same problem as I have:

http://forums.debian.net/viewtopic.php?f=7&t=71425

The problem seems to be that CUPS sends its output to CCPD, but for whatever reason CCPD does not work. I have tried all the steps described in the forum posts, and I can confirm that I have the same problem as described there. I have tried many versions of the CAPT driver package; I have even compiled the driver from the source code (which was not easy, but the way). CUPS indicates no error whatsoever, but still there is nothing being printed.

Does anybody here have more experience with the CAPT drivers and the program called «ccpd»? The source code of the CAPT drivers does not contain the source code for «ccpd». Any tips and tricks are welcome![/url]

Back to top

View user's profile Send private message

WvR
Apprentice
Apprentice

Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Mon Feb 20, 2012 12:21 am    Post subject: Reply with quote

Time for a bump! I don’t know if I will ever get it working, but for the time being I have been able to make a littlebit of progress.

Canon Satera LBP7200C Color Laser printer with duplex (there is also a LBP7200CN, which has a network connection, and in some cases the type number is LBP7200Cd and CNd to indicate duplex). This printer uses the CAPT printer language, which is used on many of Canon’s printers. These printers are not supported by CUPS nor by the gutenprint package. CUPS does detect the printer, but it assigns the ‘usb:’ backend, which is wrong, and CUPS does not have the required PPD file. Canon provides a set of drivers. I found several packages on the internet, which all have the same contents more or less:

— linux_capt_printerdriver32_240

— linux_capt_printerdriver64_240

— Linux_CAPT_PrinterDriver_V240_uk_EN

— linux_capt_sources_240

The last package provides the source code for most of the drivers. However, this package does not compile very easily on a Gentoo system: the Makefiles and configure scripts rely on (very) outdated versions of several tools (automake, etc). I managed to compile the source in the end, but it was not easy, and probably not necessary. All packages have 2 major parts: a set of CAPT drivers, and a set of plugins for CUPS. The pre-compiled packages are in .tar.gz format; un-tarring gives an RPM; I used rpm2tar to change the file to a tar file and then untarred it. I manually copied the files to their intended locations in /etc and /usr.

The Canon packages contain a cups filter named ‘ccp’. This file is in the wrong location for recent version of CUPS. so to get it properly detected, move it to the right location:

Code:
# ln -s /usr/lib64/cups/backend/ccp /usr/libexec/cups/backend/ccp

# /etc/init.d/cupsd restart

# lpinfo -v

You should see a line with ‘direct ccp’, this is the Canon backend for CUPS. Also, the pstocapt3 script is in the wrong location:

Code:
# ln -s /usr/lib64/cups/filter/pstocapt3 /usr/libexec/cups/filter/pstocapt3

Now it is possible to add the printer to CUPS:

Code:
# /usr/sbin/lpadmin -p test -m /usr/share/cups/model/CNCUPSLBPxxxxCAPTK.ppd -v ccp://localhost:59687 -E

The files CNCUPSLBPxxxxCAPTK.ppd come from the Canon driver package. Replace ‘xxxx’ with the number appropriate for your printer. The next step is to inform the ccp backend of the printer. In my case, the printer is connected to /dev/usb/lp1:

Code:
 # /usr/sbin/ccpdadmin -p test -o /dev/usb/lp1

 CUPS_ConfigPath = /etc/cups/

 LOG Path        = None

 UI Port         = 59787

 Entry Num  : Spooler   : Backend       : FIFO path             : Device Path   : Status

 —————————————————————————-

     [0]    : test            : ccp           : //localhost:59687     : /dev/usb/lp1  : New!!

Then start the CCPD daemon:

Code:
# /etc/init.d/ccpd start

# /etc/init.d/ccpd status

/usr/sbin/ccpd: PID1 PID2

If there are two numbers, that means that the ccpd is OK.

Now here comes the frustrating part: the previous steps are explained on several pages on the internet. I can use

Code:
# captstatusui -P test

which starts a small utility program (it comes from the Canon driver package). I can use that program and select to do «calibration», and indeed, the printer starts to make some noises. But if I print something from CUPS (test page), CUPS indicates that all is well, but nothing shows up in the status monitor, and nothing is printed. So it seems that CUPS hands the job to the ccpd daemon, but the job is not handled correctly, but there are no error messages. Also:

Code:
# /usr/sbin/ccpd

gives no output — impossible to tell if everything is going well or not. So if siomebody has some ideas…. ;-))

Back to top

View user's profile Send private message

WvR
Apprentice
Apprentice

Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Wed Feb 22, 2012 2:08 am    Post subject: Reply with quote

Again a bump. If I run

Code:
# /usr/local/bin/captstatusui -P test

then the printer is correctly displayed. If I use the captstatusui program, I can check for the number of prints that have been made (I printed some documents from Windows, and the counters are correctly reported in linux); I can «calibrate» the printer; I can set the paper size in the tray; etc. In other words, it seems that the captstatusui program is successfully communicating with the printer over the USB connection. This tells me that most of the connection is functioning correctly.

However, still I cannot print from CUPS to this printer. Like before, the CUPS log shows no errors. CUPS hands the job to the Canon backend software, and returns with a «successful completion». So apparently the Canon software is not working correctly.

I would like to find out what goes on with the USB signals when I am printing. When CUPS gives the data to the Canon backend, it is interesting to find out if there is any communication on the USB port. If there is, then apparently the wrong data is being sent; if there is no communication to the printer, then apparently the Canon backend does not function or it sends output to the wrong place.

I need advice from more experienced users: what kind of software is there to analyze the data traffic on the USB ports? How can I find out where the Canon backend is sending signals? (maybe «strace» program? How does that work?)

Back to top

View user's profile Send private message

WvR
Apprentice
Apprentice

Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Mon Feb 27, 2012 1:00 am    Post subject: Reply with quote

A new week, a new bump. Is there really nobody here who knows more about inspecting data traffic on the USB ports?

OK, Canon Satera LBP7200C — still does not work, reasons are unclear.

— Canon delivers a small utility program with the set of CAPT printer drivers. With this utility program I can see that the printer is connected to the PC, and I can order the printer to do certain tasks, such as calibration.

— Communication between PC and printer is thus OK

— to print a page, the following sequence occurs in CUPS: CUPS -> pstops -> pstocapt3 (to make a CAPT file for the printer) -> ccp backend. The CUPS log file mentions that all these processes are started and finish successfully.

— I’ve checked the source code of the ccp backend program. There is a point where a stream of data is prepared to be output to the printer. Since the ccp backend returns with zero error code, the data stream is apparently successfully prepared. So, the data stream is either sent to the printer, but the stream is wrong, or it is not sent to the printer and ends up, apparently successfully, in an unknown place

— So, I have re-installed the printer, but this time, on purpose I selected the wrong data port on the USB system. I selected the data port for another printer. And guess what: when I print a test page to the wrong printer, it starts to process the data, and it starts to warm up! This tells me that the ccp backend does send the data to the relevant data port, but somehow, the Canon printer is not satisfied with the stream of data and silently rejects it (on the Canon printer, there is no indication of any activity at all when I send a test page).

— The ccp backend sends data to the CCPD daemon program, which I have in /usr/sbin/ccpd ; this program has no source code.

— Thus: the CCP backend makes a stream of data, and it ends up on the correct data port. But either this stream is malformed (error in ccp backend ?), or it is not handled well by the ccpd program (?).

Any hints are appreciated!

Back to top

View user's profile Send private message

kimmie
Guru
Guru

Joined: 08 Sep 2004
Posts: 531
Location: Australia

PostPosted: Mon Feb 27, 2012 4:36 pm    Post subject: Reply with quote

Just a hunch, but I vaguely remember issues with the usblp kernel module and some printers. Probably, I just didn’t have it when I got some USB printer going in the distant past, but it seems for some printers you need the module, others don’t like it. Take a look at https://wiki.archlinux.org/index.php/CUPS#Blacklisting_usblp

If you want to monitor USB data, you need to build your kernel with CONFIG_USB_MON=Y; from the kernel config help:

Code:
CONFIG_USB_MON:

  │                                                                         │   

  │ If you select this option, a component which captures the USB traffic   │   

  │ between peripheral-specific drivers and HC drivers will be built.       │   

  │ For more information, see <file:Documentation/usb/usbmon.txt>.          │   

  │                                                                         │   

  │ If unsure, say Y, if allowed, otherwise M.                              │   

  │                                                                         │   

  │ Symbol: USB_MON [=n]                                                    │   

  │ Type  : tristate                                                        │   

  │ Prompt: USB Monitor                                                     │   

  │   Defined at drivers/usb/mon/Kconfig:5                                  │   

  │   Depends on: USB_SUPPORT [=y] && USB [=m]                              │   

  │   Location:                                                             │   

  │     -> Device Drivers                                                   │   

  │       -> USB support (USB_SUPPORT [=y])

Back to top

View user's profile Send private message

WvR
Apprentice
Apprentice

Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Tue Feb 28, 2012 12:47 am    Post subject: Reply with quote

Thanks Kimmie. I checked the ArchLinux information. I don’t really know what the Gentoo equivalent of the «usblp module» would be. I built a kernel with

Code:
CONFIG_USB_PRINTER=n

but that only makes things worse: CUPS shows no USB connectivity whatsoever in this case, and when I run the «captstatusui» program, I get «Communication Error». Also, my other USB printers all become inaccessible.

As indicated in the ArchLinux docs, I have checked the USB connections. Indeed, I have

Code:

rine50 linux # lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub

Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub

Bus 001 Device 003: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor

Bus 001 Device 004: ID 17ef:1005 Lenovo

Bus 001 Device 005: ID 04b8:0017 Seiko Epson Corp.

Bus 001 Device 006: ID 04a9:26f1 Canon, Inc.

Bus 001 Device 007: ID 0557:7000 ATEN International Co., Ltd Hub

Bus 001 Device 008: ID 04b3:3108 IBM Corp. 800dpi Optical Mouse w/ Scroll Point

Bus 001 Device 009: ID 04b3:3025 IBM Corp.

and

Code:

rine50 linux # ls -la /dev/bus/usb/001/006

crw-rw-r— 1 root lp 189, 5  2月 28  2012 /dev/bus/usb/001/006

udev correctly identifies it as a printer and sets the proper things in /dev/bus/usb. If I set

Code:

rine50 linux # ccpdadmin

Usage:

  ccpdadmin [-p Printer-name -o Printer-dev-path]

  ccpdadmin [-x Remove-Printer-name]

 CUPS_ConfigPath = /etc/cups/

 LOG Path        = /var/log/CCPD/

 UI Port         = 59787

 Entry Num  : Spooler   : Backend   : FIFO path      : Device Path    : Status

 —————————————————————————-

     [0]    : test    : ccp       : //localhost:59687    : /dev/bus/usb/001/006    :

then I have the same situation as before: with CONFIG_USB_PRINTER=y, the captstatusui program lists the printer and can talk to it, but I cannot print. With CONFIG_USB_PRINTER=n, captstatusui gives «Communication Error». :-((

Back to top

View user's profile Send private message

kimmie
Guru
Guru

Joined: 08 Sep 2004
Posts: 531
Location: Australia

PostPosted: Tue Feb 28, 2012 3:59 am    Post subject: Reply with quote

Ah, well, that sucks. Wasn’t that then. Gentoo uses the usblp module too… when you set CONFIG_USB_PRINTER=m, it builds the usblp.ko kernel module, if you use =Y it’s built-in to the kernel rather than a module. There shouldn’t be any difference between =M and =Y.

How about the section «If the status monitor works but printing does not,» at the end of https://help.ubuntu.com/community/CanonCaptDrv190, have you come across that yet?

Other things I would try would be using CUPS 1.3 instead of 1.4.

But I’m flying blind really, just making random suggestions….

Back to top

View user's profile Send private message

WvR
Apprentice
Apprentice

Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Tue Feb 28, 2012 6:15 am    Post subject: Reply with quote

Yes, I already read the info from the Ubuntu forum. It refers to an (apparently) older version of the CCPD/CAPT drivers where the communication to the printer was routed through /var/ccpd/fifo0. I have set that fifo (using mkfifo) and tried to connect, but no luck :cry: Several other places on the internet mention the same /var/ccpd/fifo0, I have tried to create it and connect through it but it doesn’t seem to help.

The most recent version of CCPD/CAPT apparently connects (by default) through port 59687 for the data, and port 59787 for the UI. From /etc/ccpd.conf

Code:

<Printer test>

DevicePath /dev/usblp1

</Printer>

<Ports>

# Status monitoring socket port.

#  Default 59787

UI_Port  59787

PDATA_Port  59687

</Ports>

The /etc/ccpd.conf file also holds a setting for a log file, but although I set it to a valid directory there is no log file anywhere. The settings in /etc/ccpd.conf are set (I suspect) throught /usr/sbin/ccpdadmin. The port numbers also show up in the source code of /usr/libexec/cups/backend/ccp .

The captstatusui communicates through port 59787. When captstatusui sends an instruction to the printer, I wonder if it goes through 59787 or 59687…. Maybe 59687 is somehow special?

Downgrading to CUPS 1.3 could be an option, but only as a last resort…

Back to top

View user's profile Send private message

WvR
Apprentice
Apprentice

Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Thu Mar 08, 2012 4:56 am    Post subject: Reply with quote

Bump! I still have not been able to get my printer working. I am fiddling around and I noticed the following:

Code:
# strace -ff /usr/bin/ccpd

 [ Process PID=5150 runs in 32 bit mode. ]

[pid  5150] time(NULL)                  = 1331181753

[pid  5150] time(NULL)                  = 1331181753

[pid  5150] time(NULL)                  = 1331181753

[pid  5150] select(13, [12], [], NULL, {1, 0} <unfinished …>

[pid  5149] <… setuid resumed> )      = 0

[ Process PID=5149 runs in 64 bit mode. ]

The PIDs 5149 and 5150 are started by /etc/init.d/ccpd start. Is it a problem that the two PIDs run in different modes? Is it possible to somehow force both PIDs to run in the same mode? I tried Google but found to relevant answers.

Back to top

View user's profile Send private message

quezak
n00b
n00b

Joined: 11 Jan 2011
Posts: 13

PostPosted: Tue May 15, 2012 2:14 pm    Post subject: Reply with quote

I’m also trying to get this printer working, only in my case it’s connected by network.

As previous posts mentioned, CCPD works correctly (printed pages number in captstatusui checks correctly).

Netstat shows that CCPD is up and listens on its port:

Code:
tcp        0      0 0.0.0.0:59687           0.0.0.0:*               LISTEN      4458/ccpd         

tcp        0      0 0.0.0.0:59787           0.0.0.0:*               LISTEN      4458/ccpd



The printer is shown in ccpdadmin:

Code:
 Entry Num  : Spooler   : Backend   : FIFO path      : Device Path    : Status

 —————————————————————————-

     [0]    : canon    : ccp       : //localhost:59687    : net:10.254.128.78    :



And, printer is set up in CUPS as suggested, with URI «ccp://localhost:59687»

CUPS processes documents well, but gives errors when trying to send the result to CCPD, producing the following in /var/log/cups/error_log

Code:



D [15/May/2012:14:51:04 +0200] [Job 61] Wrote 1 pages…

D [15/May/2012:14:51:04 +0200] [Job 61] PID 4807 (pstops) exited with no errors.

D [15/May/2012:14:51:04 +0200] [Job 61] PID 4806 (pdftops) exited with no errors.

D [15/May/2012:14:51:04 +0200] [Job 61] opvpOpenPrinter(463)

D [15/May/2012:14:51:04 +0200] [Job 61] CStubOpenPrinter(397)

D [15/May/2012:14:51:04 +0200] [Job 61] opvpOpenPrinter(463)

D [15/May/2012:14:51:04 +0200] [Job 61] CStubOpenPrinter(397)

D [15/May/2012:14:51:04 +0200] [Job 61] Error Response:ReqNo=2, SeqNo=3,opvpErrorNo=-2

D [15/May/2012:14:51:04 +0200] [Job 61] Error Response:ReqNo=5, SeqNo=4,opvpErrorNo=-2

D [15/May/2012:14:51:04 +0200] [Job 61] Error Response:ReqNo=7, SeqNo=153,opvpErrorNo=-2

D [15/May/2012:14:51:04 +0200] [Job 61] Error Response:ReqNo=8, SeqNo=8006,opvpErrorNo=-2

D [15/May/2012:14:51:04 +0200] [Job 61] GPL Ghostscript 9.04: Unrecoverable error, exit code 1

D [15/May/2012:14:51:04 +0200] [Job 61] Error Response:ReqNo=6, SeqNo=8007,opvpErrorNo=-2

D [15/May/2012:14:51:04 +0200] [Job 61] Error Response:ReqNo=3, SeqNo=8008,opvpErrorNo=-2

D [15/May/2012:14:51:04 +0200] [Job 61] Set job-printer-state-message to «ccp send_data error, exit», current level=ERROR

D [15/May/2012:14:51:04 +0200] [Job 61] Backend returned status 1 (failed)

D [15/May/2012:14:51:04 +0200] [Job 61] Printer stopped due to backend errors; please consult the error_log file for details.

D [15/May/2012:14:51:04 +0200] [Job 61] End of messages

D [15/May/2012:14:51:04 +0200] [Job 61] printer-state=5(stopped)

D [15/May/2012:14:51:04 +0200] [Job 61] printer-state-message=»ccp send_data error, exit»

D [15/May/2012:14:51:04 +0200] [Job 61] printer-state-reasons=paused

Any clue why cups can’t talk to ccpd in my case?

Back to top

View user's profile Send private message

WvR
Apprentice
Apprentice

Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Tue May 15, 2012 11:27 pm    Post subject: Reply with quote

quezak wrote:
Code:



D [15/May/2012:14:51:04 +0200] [Job 61] Wrote 1 pages…

D [15/May/2012:14:51:04 +0200] [Job 61] PID 4807 (pstops) exited with no errors.

D [15/May/2012:14:51:04 +0200] [Job 61] PID 4806 (pdftops) exited with no errors.

D [15/May/2012:14:51:04 +0200] [Job 61] opvpOpenPrinter(463)

D [15/May/2012:14:51:04 +0200] [Job 61] CStubOpenPrinter(397)

D [15/May/2012:14:51:04 +0200] [Job 61] opvpOpenPrinter(463)

D [15/May/2012:14:51:04 +0200] [Job 61] CStubOpenPrinter(397)

D [15/May/2012:14:51:04 +0200] [Job 61] Error Response:ReqNo=2, SeqNo=3,opvpErrorNo=-2

D [15/May/2012:14:51:04 +0200] [Job 61] Error Response:ReqNo=5, SeqNo=4,opvpErrorNo=-2

D [15/May/2012:14:51:04 +0200] [Job 61] Error Response:ReqNo=7, SeqNo=153,opvpErrorNo=-2

D [15/May/2012:14:51:04 +0200] [Job 61] Error Response:ReqNo=8, SeqNo=8006,opvpErrorNo=-2

D [15/May/2012:14:51:04 +0200] [Job 61] GPL Ghostscript 9.04: Unrecoverable error, exit code 1

D [15/May/2012:14:51:04 +0200] [Job 61] Error Response:ReqNo=6, SeqNo=8007,opvpErrorNo=-2

D [15/May/2012:14:51:04 +0200] [Job 61] Error Response:ReqNo=3, SeqNo=8008,opvpErrorNo=-2

D [15/May/2012:14:51:04 +0200] [Job 61] Set job-printer-state-message to «ccp send_data error, exit», current level=ERROR

D [15/May/2012:14:51:04 +0200] [Job 61] Backend returned status 1 (failed)

D [15/May/2012:14:51:04 +0200] [Job 61] Printer stopped due to backend errors; please consult the error_log file for details.

D [15/May/2012:14:51:04 +0200] [Job 61] End of messages

D [15/May/2012:14:51:04 +0200] [Job 61] printer-state=5(stopped)

D [15/May/2012:14:51:04 +0200] [Job 61] printer-state-message=»ccp send_data error, exit»

D [15/May/2012:14:51:04 +0200] [Job 61] printer-state-reasons=paused

As indicated in the above message, have you checked the error_log of CUPS ( /var/log/cups/error_log )? From the very last message ( printer-state-reasons=paused ) it seems that the printer was «paused» when CUPS tried to send the data to the CCPD backend.

It seems you are stuck at the same point where I (still) am: you can talk to the printer with the «captstatusui» program, sending data from CUPS is apparently succesfull, yet nothing is actually printed. Can you confirm that you can do things like «cleaning» and «calibration» from the captstatusui window?

Back to top

View user's profile Send private message

thecopy
n00b
n00b

Joined: 19 May 2012
Posts: 1

PostPosted: Sun May 27, 2012 7:20 am    Post subject: Reply with quote

I am glad to report that i have solved the issue, i am now able to print with my LBP6300.

The problem for me was apparently ghostscript. What gave it away was the following in error_log (with verbosity set to debug):

Quote:
erik@workstationubuntu:~$ cat /var/log/cups/error_log | grep «21170»

I [26/May/2012:00:02:13 +0200] [Job 59] Started filter /usr/lib/cups/filter/pstocapt3 (PID 21170)

D [26/May/2012:00:02:14 +0200] PID 21170 (/usr/lib/cups/filter/pstocapt3) did not catch or ignore signal 13.

I had to install something called the gs-esp transitional package:

http://packages.ubuntu.com/lucid/gs-esp

You can read the whole process here:

http://ubuntuforums.org/showthread.php?t=1983091

The reason it worked to clean from captstatusui was probably that these routines were stored in the printer and the page data didn’t need to be transmitted from the computer to the printer, and the ghostscript pdf interpreter failed when doing something to the personal page data to be transmitted.

edit: Note that I’m not using Gentoo but Ubuntu, but the process should be the same i guess — it was a long time since i last tried out Gentoo

Back to top

View user's profile Send private message

WvR
Apprentice
Apprentice

Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Sun May 27, 2012 11:49 am    Post subject: Reply with quote

Thanks for the info. I don’t have time right now, but I will remember that you posted this and I will try to fix it in the future.
Back to top

View user's profile Send private message

quezak
n00b
n00b

Joined: 11 Jan 2011
Posts: 13

PostPosted: Tue Jun 05, 2012 2:29 pm    Post subject: Reply with quote

WvR wrote:
As indicated in the above message, have you checked the error_log of CUPS ( /var/log/cups/error_log )?



the code I pasted IS a part of /var/log/cups/error_log :)

thecopy wrote:
edit: Note that I’m not using Gentoo but Ubuntu, but the process should be the same i guess — it was a long time since i last tried out Gentoo



The package «gs-esp» contains only some changelogs and a preinst script, which does only this:

Code:
   # Do away with update-alternative for /usr/bin/gs, we have one

   # grand unified Ghostscript now!

        if dpkg —compare-versions «$2» lt-nl «8.63.dfsg.1-1»; then

            update-alternatives —remove-all gs || true

            update-alternatives —remove-all gs.1 || true

        fi



Google says it’s some kind of ubuntu’s symlink management… On my gentoo have only one ‘gs’ binary, and only one ghostscript package installed, so I don’t think the process is the same.

Any clues what to do now? I’m stuck where WvR is, meaning I can check status, do cleaning/calibration from captstatusui, but CUPS fails at sending data to CCPD…

Back to top

View user's profile Send private message

omerkh
n00b
n00b

Joined: 08 Feb 2007
Posts: 49
Location: Politecnico di Torino

PostPosted: Tue Jan 28, 2014 4:39 am    Post subject: Reply with quote

I have been able to install the LBP2900 using the following:

Code:
=net-print/cndrvcups-capt-2.00-r2

=net-print/cndrvcups-common-2.00-r2

from the «calculate» layman repository. During install, I set USE=»cngplp» and followed the instructions at the end of the install. I am reproducing them here for others, maybe it will apply the same to your printer:

Code:
 * To get your printer working you need to restart cupsd

 *

 * /etc/init.d/cupsd restart

 *

 * Now you can add your printer with either the webinterface or lpadmin

 *

 * /usr/sbin/lpadmin -p LBP3010 -m CNCUPSLBP3050CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E

 *

 * Replace 3050 with either on of the following printers:

 * 1120 1210 2900 3000 3050 3200 3210 3300 5000

 *

 * Now you must register the printer in ccpd, if connected with usb

 *

 * /usr/sbin/ccpdadmin -p LBP3010 -o /dev/usb/lp0

 *

 * Notice that you can’t use LPT port with this driver.

 * If you have a network connection to your printer use -o net:<IP OF PRINTER>

 * instead of -o /dev/usb/lp0

 * See manual for more information,  guide-capt-1.3xE.tar.gz at

 * http://software.canon-europe.com/software/0023675.asp

 *

 * Now you can go ahead and start the ccpd daemon

 *

 * /etc/init.d/ccpd start

 *

 * If you have more then one printer just create more fifos in

 * /var/ccpd/ , increase the fifo number for more printers

 *

 * mkfifo -m 600 /var/ccpd/fifo1; chown lp:lp /var/ccpd/fifo1

 *

 * If you reinstall make sure the fifo is created in /var/ccpd, if not

 * just reinstall again. This is due to bug #136199

And yes, a test page printed fine as well. My system is a 64 bit Gentoo.[/code]

Back to top

View user's profile Send private message

gsra99
Tux’s lil’ helper
Tux's lil' helper

Joined: 06 Jan 2008
Posts: 103

PostPosted: Fri Feb 07, 2014 7:14 pm    Post subject: Reply with quote

Did you solve the printing problem? I have the Canon LBP6200d and I use the cndrvcups-common and cndrvcups-capt from the rpm packages. I also needed to create symlinks to pstocapt, pstocapt2, and pstocapt3. For the driver to work you need the kernel usb printer module, and I have it built as a module. However, I am not sure if it can be built into the kernel or needs to be a module. Finally, if you do use the kernel usb printer module, which obviously you need to for these drivers, you need to remove the cups usb module, i.e. emerge cups without the usb useflag. I suspect this is what may be causing you problems. You can then setup udev rules to automatically start/stop ccpd daemon when you turn the printer on/off.

/etc/udev/rules.d/85-canon-capt.rules

Code:
KERNEL==»lp*», SUBSYSTEMS==»usb», ACTION==»add», ATTRS{idVendor}==»04a9″, RUN+=»/bin/bash /etc/init.d/ccpd start»

KERNEL==»lp*», SUBSYSTEMS==»usb», ACTION==»remove», RUN+=»/bin/bash /etc/init.d/ccpd stop»

Back to top

View user's profile Send private message

Display posts from previous:   

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Понравилась статья? Поделить с друзьями:
  • Captcha error timeout or duplicate
  • Captcha error please try again перевод
  • Captcha error please try again call of duty
  • Capsule workspace internal error
  • Caps lock работает наоборот как исправить