Canon laser shot lbp 1120 linux mint

Linux Mint Forums

Unable to send data to printer. — Canon LBP1120 LM19.2

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

Unable to send data to printer. — Canon LBP1120 LM19.2

Post by steveinparis » Thu Mar 19, 2020 2:49 pm

Hello, I am desperatly trying to use a Canon printer LBP1120 with LM 19.2 64 bits cinnamon
I am turning in circle for days with no progress. I can install the printer, ask from a printing in any application , but it doesn’t print. ( the printer is OK, i was able to print a test page from the printer itself)
I have uploaded all the recent CUPS drivers as indicated in other posts. uninstall and re-install the printer many times, updated all packets, updated LM, no progress
And still the same errors message Unable to send data to printer.

I have set the CUPS log to debug and saved the last events,attached are the logs as well as the system info.
The error is at E [19/Mar/2020:15:29:00 +0100]
Any idea of what is wrong ?

Attachments canon 1120 erro log linux mint.txt.tar.gz (3.06 KiB) Downloaded 42 times info system.txt (2.61 KiB) Downloaded 37 times

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.

kukamuumuka Level 16
Posts: 6705 Joined: Tue Sep 03, 2013 4:51 am Location: Finland Contact:

Читайте также:  Multi booting in linux

Re: Unable to send data to printer. — Canon LBP1120 LM19.2

Post by kukamuumuka » Thu Mar 19, 2020 3:48 pm

Re: Unable to send data to printer. — Canon LBP1120 LM19.2

Post by steveinparis » Thu Mar 19, 2020 4:13 pm

here is what the command returns : ( and yes I have installed the drivers)

printer Photosmart_B110_series_7F0FB7_ is idle. enabled since mar. 17 mars 2020 10:31:07 CET
Form mounted:
Content types: any
Printer types: unknown
Description: Photosmart_B110_series_7F0FB7_
Alerts: none
Location:
Connection: direct
Interface: /etc/cups/ppd/Photosmart_B110_series_7F0FB7_.ppd
On fault: no alert
After fault: continue
Users allowed:
(tous)
Forms allowed:
(aucun)
Banner required
Charset sets:
(aucun)
Default pitch:
Default page size:
Default port settings:

kukamuumuka Level 16
Posts: 6705 Joined: Tue Sep 03, 2013 4:51 am Location: Finland Contact:

Re: Unable to send data to printer. — Canon LBP1120 LM19.2

Post by kukamuumuka » Thu Mar 19, 2020 4:27 pm

sudo apt-get install libpopt0:i386 sudo service cups stop sudo service cups start
sudo /usr/sbin/lpadmin -p LBP1120 -m CNCUPSLBP1120CAPTK.ppd -v ccp://localhost:59787 -E
sudo /usr/sbin/ccpdadmin -p LBP1120 -o /dev/usb/lp0

Re: Unable to send data to printer. — Canon LBP1120 LM19.2

Post by steveinparis » Thu Mar 19, 2020 6:11 pm

thank you very much for your help. Really useful as I don’t speak Linux
IS it better with this as a return to lpstat -a -c -d -o -l -p -t ?

printer Canon-LASER-SHOT-LBP-1120 is idle. enabled since jeu. 19 mars 2020 15:54:51 CET
Unable to send data to printer.
Form mounted:
Content types: any
Printer types: unknown
Description:
Alerts: none
Location: PC-LINUX
Connection: direct
Interface: /etc/cups/ppd/Canon-LASER-SHOT-LBP-1120.ppd
On fault: no alert
After fault: continue
Users allowed:
(tous) ( =all)
Forms allowed:
(aucun) (=none)
Banner required
Charset sets:
(aucun)
Default pitch:
Default page size:
Default port settings:
printer LASER-SHOT-LBP-1120 is idle. enabled since jeu. 19 mars 2020 12:42:32 CET
Form mounted:
Content types: any
Printer types: unknown
Description: LASER-SHOT-LBP-1120
Alerts: none
Location:
Connection: direct
Interface: /etc/cups/ppd/LASER-SHOT-LBP-1120.ppd
On fault: no alert
After fault: continue
Users allowed:
(tous)
Forms allowed:
(aucun)
Banner required
Charset sets:
(aucun)
Default pitch:
Default page size:
Default port settings:

Re: Unable to send data to printer. — Canon LBP1120 LM19.2

Post by steveinparis » Fri Mar 20, 2020 5:41 am

I followed the steps you described in your post.
The printer is indeed registered

It is a different error than the one I had when I registered the printer with the UI ( it was «Unable to send data to printer.» ) instead of command lines. But the problem remains, nothing gets print. ( And as all of us in Europe, I am stuck at home trying to make printout to be a home teacher to my children)

Читайте также:  Изменить точку монтирования линукс

Has anyone an idea of the issue ?

kukamuumuka Level 16
Posts: 6705 Joined: Tue Sep 03, 2013 4:51 am Location: Finland Contact:

Re: Unable to send data to printer. — Canon LBP1120 LM19.2

Post by kukamuumuka » Fri Mar 20, 2020 5:52 am

It seems that old printers which have worked in Mint 18, does not work in Mint 19, so the solution is to install Mint 18 into VirtualBox or hard drive. I have the same issue with Canon LPB- 810 with Mint 19.

kukamuumuka Level 16
Posts: 6705 Joined: Tue Sep 03, 2013 4:51 am Location: Finland Contact:

Re: Unable to send data to printer. — Canon LBP1120 LM19.2

Post by kukamuumuka » Fri Mar 20, 2020 4:23 pm

Maybe port localhost:59787 is not workable, so try port localhost:59687
https://wiki.archlinux.org/index.php/Canon_CAPT

sudo /usr/sbin/lpadmin -p LBP1120.try2 -m CNCUPSLBP1120CAPTK.ppd -v ccp://localhost:59687 -E sudo /usr/sbin/ccpdadmin -p LBP1120.try2 -o /dev/usb/lp0

Re: Unable to send data to printer. — Canon LBP1120 LM19.2

Post by steveinparis » Sat Mar 21, 2020 3:31 pm

Thank you kuka for your suggestions,
I made a bootable key with LM18 ( for testing purpose, I will install it if it works) , and installed the printers with the 2 possible ports
unfortunately still no luck

the error remains the same. Unlike you, the error message is real, the print job is stuck in the queue and is aborted after some time

kukamuumuka Level 16
Posts: 6705 Joined: Tue Sep 03, 2013 4:51 am Location: Finland Contact:

Re: Unable to send data to printer. — Canon LBP1120 LM19.2

Post by kukamuumuka » Sat Mar 21, 2020 3:34 pm

Take power off and on from the printer and test to print then.

Determine the printer’s device ID strings:
$ sudo usb_printerid /dev/usb/lp0
$ sudo usb_printerid /dev/usb/lp1

Источник

Установка драйвера Canon CAPT для принтеров Canon LBP

Пользователем coden в соответствующей теме был предложен разработанный им на основе данных из разных источников скрипт автоматической установки и настройки драйвера Linux CAPT Printer Driver v2.71 для принтеров Canon: LBP-810, LBP-1120, LBP-1210, LBP2900, LBP3000, LBP3010, LBP3018, LBP3050, LBP3100, LBP3108, LBP3150, LBP3200, LBP3210, LBP3250, LBP3300, LBP3310, LBP3500, LBP5000, LBP5050, LBP5100, LBP5300, LBP6000, LBP6018, LBP6020, LBP6200, LBP6300, LBP6300n, LBP6310, LBP7010C, LBP7018C, LBP7200C, LBP7210C, LBP9100C, LBP9200C на Ubuntu 12.04, 12.10, 13.04, 13.10, 14.04, 14.10, 15.04, 15.10, 16.04 32-битной и 64-битной архитектуры. Если вы уже делали какие-либо действия по установке принтера этой серии, в текущей системе, то перед началом установки, следует отменить эти действия. При отсутствии пакетов драйвера они автоматически загружаются из интернета в папку скрипта. Для обновления драйвера сначала удаляете старую версию через скрипт, затем устанавливаете новую также через скрипт.

Читайте также:  Fatal error stdio h linux mint

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

chmod +x canon_lbp_setup.sh

Материалы для загрузки

Установка драйвера принтера Canon CAPT — Рабочая актуальная документация по установке драйвера от французских пользователей

How to install Canon LBP printers in Ubuntu — Radu Cotescu’s professional blog — Первый найденный мной скрипт по установке принтера от программиста Раду Cotescu

Решение проблем

Если принтер не начал печатать, значит нужно посмотреть в /dev/usb под каким названием отображается принтер, например если lp2, то отменяем и регистрируем заново

sudo ccpdadmin -x LBP2900 sudo ccpdadmin -p LBP2900 -o /dev/usb/lp2

Мониторинг состояния принтера

В комплекте с драйвером поставляется графическая утилита captstatusui при помощи которой можно отслеживать состояние принтера. Использовать её можно следующим образом:

captstatusui -P название_вашего_принтера>

Для того, чтобы мониторинг запускался при каждом включении компьютера сделайте следующее: откройте Параметры системы → Автоматически запускаемые приложения, нажмите на кнопку добавить.

Название: Canon Printing Status Monitor
Команда: captstatusui -e -P
Описание: Скрыто до появления ошибок

С опцией -e утилита не будет показывать свое окно до тех пор, пока не случится ошибка.

Ссылки

canon.jp — официальная страница драйвера CAPT для систем семейства Linux, там выложен драйвер, исходники драйвера, список изменений в драйвере, минимальные требования драйвера, инструкция по установке (на японском), дополнительная информация

Экспериментальный драйвер от нашего соотечественника. На данный момент нестабилен и поддерживает только LBP2900 (также имеется экспериментальная поддержка LBP3000 и LBP3010/LBP3018/LBP3050), но лишён многих недоработок фирменного драйвера.

  • Сайт
  • Об Ubuntu
  • Скачать Ubuntu
  • Семейство Ubuntu
  • Новости
  • Форум
  • Помощь
  • Правила
  • Документация
  • Пользовательская документация
  • Официальная документация
  • Семейство Ubuntu
  • Материалы для загрузки
  • Совместимость с оборудованием
  • RSS лента
  • Сообщество
  • Наши проекты
  • Местные сообщества
  • Перевод Ubuntu
  • Тестирование
  • RSS лента

© 2018 Ubuntu-ru — Русскоязычное сообщество Ubuntu Linux.
© 2012 Canonical Ltd. Ubuntu и Canonical являются зарегистрированными торговыми знаками Canonical Ltd.

Источник

Оцените статью
Adblock
detector