You are not logged in.
I'm having trouble installing a Canon printer in SliTaz.
So far I have tried installing two debian packages via [c]tazpkg convert[/c] followed by a [c]tazpkg install[/c]
I got that idea from here: http://ubuntuforums.org/showthread.php?t=775368&p=11948221#post11948221
I also saw the idea on some other forum but I seem to not be able to find it again. The idea was posed for ubuntu both times. I thought that the debian packages would be installable after being converted into tazpkg files. They seemed to install with a bunch of OKs, so I figured everything went great. But I can't seem to get the printer to list via hardware detection and drivers.
I should also mention linux drivers are not officially supported by canon, because they do not have any such drivers on their support website.
So I have come here again for the wisdom of the community. Hopefully there is something I can do to get this printer to work in SliTaz. Seeing as how it has been fixed in a debian linux.
[c]# lsmod
Module Size Used by Not tainted
usblp 7672 0
parport_pc 16061 0
floppy 41138 0
parport 20983 1 parport_pc
button 3602 0
radeon 673881 1
ttm 35361 1 radeon
drm_kms_helper 18798 1 radeon
drm 111992 3 radeon,ttm,drm_kms_helper
hwmon 993 1 radeon
i2c_algo_bit 3479 1 radeon
i2c_core 12192 4 radeon,drm_kms_helper,drm,i2c_algo_bit
tulip 37375 0
snd_usb_audio 58602 0
snd_cmipci 22448 3
gameport 5761 1 snd_cmipci
snd_pcm 43737 3 snd_usb_audio,snd_cmipci
snd_usbmidi_lib 12433 1 snd_usb_audio
snd_page_alloc 4853 1 snd_pcm
snd_opl3_lib 5798 1 snd_cmipci
snd_timer 12515 3 snd_pcm,snd_opl3_lib
snd_hwdep 3808 2 snd_usb_audio,snd_opl3_lib
snd_mpu401_uart 3975 1 snd_cmipci
snd_rawmidi 12384 2 snd_usbmidi_lib,snd_mpu401_uart
snd_seq_device 3757 2 snd_opl3_lib,snd_rawmidi
snd 33394 14 snd_usb_audio,snd_cmipci,snd_pcm,snd_usbmidi_lib,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 3357 1 snd
sis_agp 2997 1
agpgart 18221 3 ttm,drm,sis_agp[/c]
Offline
Hi
Long time ago, I used to print with a Canon S530 and I found a fine driver at
www.turboprint.info
If it's convenient you'll have to pay 30 Euro !
Offline
Firstly you should give more details about what you did and what you get. :-(
Then what about using "gutenprint 5.2.7" (http://pkgs.slitaz.org/search.sh?receipt=gutenprint&version=stable). It seems that "Pixma IP2700" is supported and may works for IP2600 as well...
Let us know how you progress. ;-)
Offline
SThe turboprint.info does have the printer listed in its supported list, but I am not willing to pay 30 euros because this is a friend's computer I am working on.
liTaz has the "Hardware Detection and Drivers" panel that has different types of hardware buttons. I clicked on the printer button and typed all. I watched as every printing package SliTaz had was installed successfully. In addition to that I have installed the two debian packages I talked about in the first post. So what I did was install a bunch of printing drivers hoping that they would be able to detect the printer being plugged in. What I get is no detection.
gutenprint 5.2.7 is already installed.
Is there a way I can list the devices connected to the system? I am kind of a linux newbie.
Offline
> Is there a way I can list the devices connected to the system? I am kind of a linux newbie.
lsusb will list usb devices attached to your system.
Offline
As totoetsasoeur said :
#tazpkg -gi gutenprint
Now connect and switch on your printer and then
#tazhw setup printer
or maybe
#tazhw setup printer --get-firmware
or
$midori http://localhost:631 administration (root passwd)
I hope you'll soon find a solution.
Offline
Both of the tazhw commands could not find the printer. I did a lsusb to see if the hardware is detected and it would seem like it is only identified as a Canon device.
[c]# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 046d:c504 Logitech, Inc. Cordless Mouse+Keyboard Receiver
Bus 002 Device 002: ID 0781:5530 SanDisk Corp. Cruzer
Bus 002 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 002 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 002 Device 005: ID 08bb:2900 Texas Instruments Japan PCM2900 Audio Codec
Bus 001 Device 003: ID 04a9:10c8 Canon, Inc.[/c]
The printer failed to setup. I neglected to install the packages this time because I have ran this command before and pressed a for all.
[c]# tazhw setup printer
COMMAND OPTIONS: printer
====================================
The following optional packages can be installed:
hplip gutenprint foomatic-filters foomatic-db hal-cups-utils foomatic-db-nonfree ufr2 splix
====================================
Do you want to install all/few/no optional dependencies (all|few|N) ? n
Detected PCI devices Kernel modules
================================================================================
> Module in use: sis_agp
> Module in use: snd_cmipci
> Module in use: tulip
> Module in use: radeon
================================================================================
Detected USB devices Kernel modules
================================================================================
================================================================================
sh: /proc/sys/dev/parport/parport0/autoprobe0: unknown operand
Detected USB Device : Vendor : Product
========================================
zcat: /usr/share/misc/usb.ids.gz: No such file or directory
zcat: /usr/share/misc/usb.ids.gz: No such file or directory
1) Vendor :
Product :
========================================
zcat: /usr/share/misc/usb.ids.gz: No such file or directory
zcat: /usr/share/misc/usb.ids.gz: No such file or directory
2) Vendor :
Product :
========================================
zcat: /usr/share/misc/usb.ids.gz: No such file or directory
zcat: /usr/share/misc/usb.ids.gz: No such file or directory
3) Vendor :
Product :
========================================
Which no. is your printer shown in the above lines (1,2,3,none); ? n
======================================
Failed to setup printer
======================================[/c]
Sadly cups administration failed as well. I was able to see the printer listed when I clicked on add a new printer. Then it let me select make and model and I clicked add printer which led to this:
Add Printer USB_Printer_1_with_status_readback_for_Canon_IJ Error
Unable to add printer:
Bad device-uri "cnij_usb:/dev/usb/lp0"!
Offline
First of all, DO NOT use the tazhw command!
Then follow the steps described here (under "Installing an USB Brother HL 2030 Printer" but adapt it to yours):
http://doc.slitaz.org/en:guides:printer
Offline
I managed to get cups to recognize the printer and then I attempted a test page. It did not print and the log is quite long. It seems that something called ghostscript is causing the problem during printing.
http://pastebin.com/QcQEMV2E
I may have found a fix that has already been applied to the source code, but I really have no idea how to apply it or even if it is the fix I need.
http://bugs.ghostscript.com/show_bug.cgi?format=multiple&id=692105
So before I spend time compiling and installing ghostscript by hand... I wanted to ask here again for more help based on my log I put on pastebin.
Offline
before digging too deep into the log file, I am wondering if you could print the usual "test page"?
Offline
I could not print the test page from CUPS administration.
Nor could I print a html page from midori web browser.
Nor could I print a text file from leafpad. (The log does not include the failed text file, but it produced an error similar to the other two printing attempts.)
Offline
This newer version of ghostscript compiled on SliTaz 4.0 includes the fix for Bug 692105.
Online
I believe I am really close to solving the problem now. I hope that ghostscript is where the problem lies. After running install on that package with tazpkg CUPS still gave an error when printing the test page.
But I do believe I have found the solution here:
http://comments.gmane.org/gmane.comp.printing.cups.general/28098
I am going to try compiling it from source and configuring ghostscript to use CUPS. Thanks for the help everyone!
Offline
tazpkg extract ghostscript-9.06_2.6.37.tazpkg
Check the receipt, it was compiled with --enable-cups with cups-dev as build depends.
I hope you can figure it out.
Online
I have one idea left based on another of CUPS error log messages
[c]/usr/share/cups/drivers/pscript5.dll: No such file or directory[/c]
Maybe CUPS did not install fully? It looks like a postscript dll is missing.
I am also still getting this:
[c][Job ???] Auto-typing file...
I [06/Jun/2013:08:37:06 +0000] [Job ???] Request file type is application/vnd.cups-banner.
D [06/Jun/2013:08:37:06 +0000] Print-Job client-error-document-format-not-supported: Unsupported format 'application/vnd.cups-banner'!
E [06/Jun/2013:08:37:06 +0000] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost:631/printers/Canon_iP2600_series) from localhost[/c]
http://pastebin.com/3Fjmv80J
Offline
Ive the install problem with a Canon LBP 2900. Cant finish the instalization cause of cups says 'unable tu add printer'.
Here my instalation steps i made(mayby foomatic i dont need or gutenprint, cause of converting a .deb file of the driver. pls let me know):
1.
-tazpkg -gi gutenprint
with that cups was automaticlly installed too
-tazpkg -gi hal-cups-utils
-tazpkg -gi usbutils
2.
as root: addgroup 'user' lp
3.
as root: leafpad /etc/cups/cupsd.conf
# Administrator user group...
SystemGroup lp <-I replaced 'sys "something"'
-then add the lines like in the doc for usb printer instalation described
4.
as root: lsusb
printer on bus 003 and device 003
as root: chmod 666 /dev/bus/usb/003/003
5.
as root: /etc/init.d/cupsd start
got the message: 'Not starting cups deamon: cups deamon is already running [ OK ]'
6.
installed ghostscript-9.06_2.6.37.tazpkg from mojo's post
7.
tazpkg -gi foomatic-filters
tazpkg -gi foomatic-db
tazpkg -gi foomatic-db-engine
tazpkg -gi foomatic-db-engine-nonfree
8.
http://localhost:631 opened with midori
-first search by 'printer' for a printer but nothing
-then: administration->add printer->question for user and password, i typed root with password(dont know if I should use 'user'. but at the second try the loginbox doesnt appeard)
Then i tried at first with the SCSI Printer(unknow) but there werent listed my LBP2900
9.
I converted the official driver from the Canon website to tazpkg(Ive the 32bit .deb and .rpm file)
then installed: 'cndrvcups-capt-2.20-1.tazpkg'
after that: 'cndrvcups-common-2.20-1.tazpkg'
10.
-add printer->(local printer) CAPT Printer(unknow)
-connection I set: /dev/bus/usb/003/003
-typed the name in the next step for the printer description
didnt mark: share printer(I think this is only for a network printer!?)
Because I dont know where the .ppd file is located like its described in the doc I choose
-Canon->Canon LBP2900 CAPT ver1.5(en)
-click on 'add printer' and I got this message:
Add Printer CanonLBP2900 Error
Unable to add printer:
File device URIs have been disabled! To enable, see the FileDevice directive in "/etc/cups/cupsd.conf".
I tryied itseveral times and repeated the command-line steps but i got allways the same message at the end. Im glad be so far.
Please tell me if i need all the packages i installed.
Last question: 'dbus hald firewall slim cupsd' in the doc.
Have I to set this? And where/with what? I dont have any 'controll box'.
Hope someone can help
Offline
@frb,
Firstly, let's check if cups deamon is really running. Use the following command and post the output you get:
[c]root@slitaz:/home/tux# ps -ef | grep cupsd[/c]
Offline
17617 root 0:01 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
27376 root 0:00 grep cupsd
Offline
@frb,
[c]17617 root 0:01 /usr/sbin/cupsd -C /etc/cups/cupsd.conf[/c]
=> ok, the deamon is running.
Referring to the message you got from cups, I would try to "enable" URls using FileDevice directive as suggested. Just edit cupsd.conf file.
Apparently there is no FileDevice directive in cupsd.conf (http://www.cups.org/documentation.php/ref-cupsd-conf.html). You have to add one yourself. Edit /etc/cups/cupsd.conf file and add the following:
[c]FileDevice yes[/c]
Then restart cups deamon:
[c]root@slitaz:/home/tux# /etc/init.d/cupsd stop
Stopping cups deamon: Cupsd... Terminated
root@slitaz:/home/tux# /etc/init.d/cupsd start
Starting cups deamon: Cupsd... [ OK ][/c]
Good luck
Offline
Good, with 'FileDevice yes' in the last line before '#End of....' in /etc/cups/cupsd.conf I could now finish the instalation but I still cant print. I tried print the testpage, from leafpad and from browser.
cups says in the printer administration:
CanonLBP2900 (Free, print jobs accepted, not shared)
and in the print jobs: status: stopped
I tried in cups stop printer and then start it again, but it doent helped. after that I removed the converted drivers form .deb, removed the printer and did all the steps again but now with the converted .rpm drivers but the same result as before.
In the cups administration Ive at the top:
Startpage, Administration, Classes, Online-Help, Print Jobs, Printers
When I click on 'Printers' the Canon printer is shown, then I can click on 'CanonLBP2900' and see the print jobs and can confiruge the printer and so on.
But when I click on 'Administration' and then on the left on 'List availeble printers' it says 'no printers found'.
Maybe this information helps.
I see all the print jobs but all are stopped(from user root and tux).
Offline
Please post the output of:
[c]root@slitaz:/home/tux# ls -l /dev/usb/lp*[/c]
Offline
crw-rw---- 1 root lp 180, 0 Jun 11 18:07 /dev/usb/lp0
Offline
[c]crw-rw---- 1 root lp 180, 0 Jun 11 18:07 /dev/usb/lp0[/c]
=> root:lp => the permissions seem to be ok. However, please check that you (tux) are a member of "lp" group.
I remember once I had a "failed" printer in cups. To get the printer back to ok state, simply use <resume printer> in the cups web interface.
I hope it helps.
Offline
How can I check if Im a member of lp group?
I just added on the cups administrations site 'add allowed users' 'tux'.
And I cannot find anywhere 'resume printer', just can first 'stop printer' and then 'start printer' on cups.
Offline
Now I noticed after reapeating the installation steps I go on midori-menu->print and got this status for the Canon printer: 'Backend /usr/lib/cups/backend//dev/bus/usb/003/003 does not exist!'
Then deleted the printer in cups, installed it again but this message still exists.
Offline
[ Generated in 0.024 seconds, 7 queries executed - Memory usage: 1.6 MiB (Peak: 1.77 MiB) ]