Page 1 of 1

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

Posted: Thu Mar 19, 2020 2:49 pm
by steveinparis
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 ?

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

Posted: Thu Mar 19, 2020 3:48 pm
by kukamuumuka
What tells a command

Code: Select all

lpstat -a -c -d -o -l -p -t
Have you tried Canon's driver?
https://www.canon-europe.com/support/co ... 20(64-bit)

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

Posted: Thu Mar 19, 2020 4:13 pm
by steveinparis
Hi,
What tells a command

Code: Select all

lpstat -a -c -d -o -l -p -t
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:

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

Posted: Thu Mar 19, 2020 4:27 pm
by kukamuumuka
I cannot see Canon LBP1120 there. It should goes like
https://askubuntu.com/questions/1033566 ... untu-18-04

Code: Select all

sudo apt-get install libpopt0:i386
sudo service cups stop
sudo service cups start
Use below given command in the terminal:

Code: Select all

sudo /usr/sbin/lpadmin -p LBP1120 -m CNCUPSLBP1120CAPTK.ppd -v ccp://localhost:59787 -E
Registration of the printer:

Code: Select all

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

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

Posted: Thu Mar 19, 2020 6:11 pm
by steveinparis
Hello kukamuumuka

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

Posted: Fri Mar 20, 2020 5:41 am
by steveinparis
Hello again,

I followed the steps you described in your post.
The printer is indeed registered
printers.png
printers.png (7.28 KiB) Viewed 1563 times
but printing a test page return an error - CCP sned_data error, exit
printer properties.png
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 ?

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

Posted: Fri Mar 20, 2020 5:52 am
by kukamuumuka
steveinparis wrote:
Fri Mar 20, 2020 5:41 am
Has anyone an idea of the issue ?
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. :(

https://puolanka.info/goto/canon-lbp-81 ... ntu-14-04/

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

Posted: Fri Mar 20, 2020 4:23 pm
by kukamuumuka
Maybe port localhost:59787 is not workable, so try port localhost:59687
https://wiki.archlinux.org/index.php/Canon_CAPT

Code: Select all

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

Posted: Sat Mar 21, 2020 3:31 pm
by steveinparis
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
Screenshot from 2020-03-21 15-30-34.png
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

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

Posted: Sat Mar 21, 2020 3:34 pm
by kukamuumuka
Take power off and on from the printer and test to print then.

Printer´s ID string may not be /dev/usb/lp0
https://wiki.ubuntu.com/DebuggingPrintingProblems

Code: Select all

ls -l /dev/usb/lp* /dev/bus/usb/*/*
Determine the printer's device ID strings:
$ sudo usb_printerid /dev/usb/lp0
$ sudo usb_printerid /dev/usb/lp1

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

Posted: Sun Mar 22, 2020 7:40 am
by kukamuumuka
I made a test-PPD file, which is printing empty page (just for testing that printer is alive).
canon-testPPD.tar.gz
(4.64 KiB) Downloaded 18 times
select model.png
test-ppd.png

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

Posted: Tue Mar 24, 2020 8:39 am
by kukamuumuka
I noticed that in Mint 19 had no /usr/bin/capt file, which caused nonfuntional working with Canon LBP-810. I suppose that in your computer has the same problem. :wink:

Check if the capt file is exist

Code: Select all

sudo find / -name "capt"
If there has no the file, install the file, so the printer should work. :D

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

Posted: Sat Aug 01, 2020 4:11 am
by pycno
Hi, any success since ?
What about LM 20 ?

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

Posted: Sat Aug 01, 2020 8:39 am
by josefg
Yes, what about LM 20?
I am having problems with a Canon LBP7210C, which works well in LM 18, but which I haven't been able to get to work neither in LM 19 or 20 so far...
I suspect that the core issue us the same for all these Canon laser printers. Would be great if we could find a solution...

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

Posted: Tue Aug 04, 2020 5:42 am
by josefg
I got the Canon i-SENSYS LBP7210Cdn to work on Linux Mint 20.
In case the procedure is similar for the LBP1120, you might want to have a look at the end of this thread:

viewtopic.php?p=1580207#p1580207

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

Posted: Tue Aug 04, 2020 1:25 pm
by kukamuumuka
Problem installing printer: Canon Laser Shot LBP 1120 [Solved] -> viewtopic.php?f=51&t=325949