LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-21-2020, 06:34 AM   #1
gerlinux
Member
 
Registered: Jan 2014
Location: Spain
Distribution: Debian GNU/Linux 10 \n \l gnome desktop
Posts: 128

Rep: Reputation: Disabled
how to make a printer works (Canon PIXMA TS200)


Hi,

Finally, i have installed the drive, (i think so)
Code:
root@mx:/home/mx# cd /home/mx/Baixades/cnijfilter2-5.10-1-deb/
root@mx:/home/mx/Baixades/cnijfilter2-5.10-1-deb# 
root@mx:/home/mx/Baixades/cnijfilter2-5.10-1-deb# sudo su; ./install.sh
root@mx:/home/mx/Baixades/cnijfilter2-5.10-1-deb#
but now I don't know who to install the printer properly:

It seems that the printer is installed, but only as text generic and it doesn't work at all.

Any ideas?
 
Old 11-21-2020, 09:37 AM   #2
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,173

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
First off, since you are logged in as root, you do not need to add sudo or su to the command, you are already root so a simple "./install.sh" will work.

Looking at the driver file, looks like running the install.sh will add the driver and register the printer with cups.
If you look at the cups interface at http://localhost:631 is the printer listed there? If not then try adding it.
 
Old 11-23-2020, 02:13 AM   #3
gerlinux
Member
 
Registered: Jan 2014
Location: Spain
Distribution: Debian GNU/Linux 10 \n \l gnome desktop
Posts: 128

Original Poster
Rep: Reputation: Disabled
Code:
PDF	PDF		Generic CUPS-PDF Printer (w/ options)	Idle
TS200	Canon TS200 series		Generic Text-Only Printer	Idle
that is what I get from CUPS

and when I try to do: ./install.sh
that is what I get:
Code:
Canon Inkjet Printer Driver
Version 5.10
Copyright CANON INC. 2001-2015

==================================================
Command executed = sudo dpkg -iG ./packages/cnijfilter2_5.10-1_amd64.deb
(S'està llegint la base de dades… hi ha 184503 fitxers i directoris instal·lats actualment.)
S'està preparant per a desempaquetar …/cnijfilter2_5.10-1_amd64.deb…
S'està desempaquetant cnijfilter2 (5.10-1) sobre (5.10-1)…
S'està configurant cnijfilter2 (5.10-1)…

#=========================================================#
#  Register Printer
#=========================================================#
Next, register the printer to the computer.
Connect the printer, and then turn on the power.
To use the printer on the network, connect the printer to the network.
When the printer is ready, press the Enter key.
> 

#=========================================================#
#  Connection Method
#=========================================================#
 1) USB
 2) Network
Select the connection method.[1]1

Searching for printers...


#=========================================================#
#  Select Printer
#=========================================================#
Select the printer.
If the printer you want to use is not listed, select Update [0] to search again.
To cancel the process, enter [Q].
-----------------------------------------------------------
 0) Update
-----------------------------------------------------------
Could not detect the target printer.
-----------------------------------------------------------
Currently selected:[0] Update
Enter the value. [0]
So, USB is connected, but it seems it doesn't recognize the printer..
 
Old 11-23-2020, 02:53 AM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,800

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
With the printer turned on but disconnected from the USB port, open a terminal and do
Code:
dmesg -w
then plug in the USB cable and observe/capture the output. Report back here with that info.

You could also try running the Canon backend by hand to see if the USB-connected printer is enumerated...
Code:
/usr/lib/cups/backend/cnusb
I'm not a Canon or Debian user, but I know some older Canon drivers are 32-bit (not sure if this is applicable to your situation), so that can require 32-bit support to function. Read here for more info on that...

https://wiki.debian.org/Multiarch/HOWTO
 
Old 11-23-2020, 03:40 AM   #5
gerlinux
Member
 
Registered: Jan 2014
Location: Spain
Distribution: Debian GNU/Linux 10 \n \l gnome desktop
Posts: 128

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
With the printer turned on but disconnected from the USB port, open a terminal and do
Code:
dmesg -w
then plug in the USB cable and observe/capture the output. Report back here with that info.

You could also try running the Canon backend by hand to see if the USB-connected printer is enumerated...
Code:
/usr/lib/cups/backend/cnusb
I'm not a Canon or Debian user, but I know some older Canon drivers are 32-bit (not sure if this is applicable to your situation), so that can require 32-bit support to function. Read here for more info on that...

https://wiki.debian.org/Multiarch/HOWTO
This is the output from the terminal after doing
Code:
dmesg -w
and plugging the USB:

Code:
[ 3691.117776] usb 3-1.2: new high-speed USB device number 7 using ehci-pci
[ 3691.228814] usb 3-1.2: New USB device found, idVendor=04a9, idProduct=182b, bcdDevice= 1.10
[ 3691.228820] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3691.228824] usb 3-1.2: Product: TS200 series
[ 3691.228827] usb 3-1.2: Manufacturer: Canon
[ 3691.228829] usb 3-1.2: SerialNumber: 62CE2E
[ 3691.232017] usblp 3-1.2:1.0: usblp3: USB Bidirectional printer dev 7 if 0 alt 0 proto 2 vid 0x04A9 pid 0x182B
Also, when I wrote that in the terminal
Code:
/usr/lib/cups/backend/cnusb
I got that file or directory doesn't exist...
 
Old 11-23-2020, 12:21 PM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,800

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
USB output is as expected (printer is detected).

Quote:
Also, when I wrote that in the terminal
Code:

/usr/lib/cups/backend/cnusb

I got that file or directory doesn't exist...
You could have checked..
Code:
ls -l /usr/lib/cups/backend/
Perhaps the Canon backend is lcated in /usr/lib64/cups/backend/
Hard for me to know at a distance.

Anyway, as it is now marked solved, one assumes that it is now working as expected. (Always a good practice to explain what you did that resolved it for others who may come searching.)
 
1 members found this post helpful.
Old 11-23-2020, 12:39 PM   #7
gerlinux
Member
 
Registered: Jan 2014
Location: Spain
Distribution: Debian GNU/Linux 10 \n \l gnome desktop
Posts: 128

Original Poster
Rep: Reputation: Disabled
Hi,

A friend of mine came to give me a hand with it, the issue was that I had lots of broken packages and in his opinion that's why it wasn't working properly. He fixed the broken packages and installed the printer from CUPS.
 
Old 11-23-2020, 12:42 PM   #8
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,800

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Ok, thanks for the update.
 
  


Reply

Tags
canon, debian 10 buster, printer installation



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Trying to install drivers of a canon PIXMA TS200 gerlinux Debian 6 11-21-2020 08:32 AM
Ubuntu 18.04 does not support Canon Pixma MG5320 printer driver. Has anyone found a newer Canon driver that would work with 18.04? xdummy Linux - Newbie 8 12-26-2018 01:25 PM
Canon PIXMA iP90 printer Crito Linux - Hardware 8 08-21-2010 03:53 PM
Canon PIXMA iP4200 printer installed on Linus Fedora system and works beautifully RayBer Linux - Hardware 0 12-25-2006 05:20 AM
Canon PIXMA IP4200 printer - works on rpm based but not ubuntu penguintutor Linux - Hardware 1 08-18-2006 05:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration