[SOLVED] Canon Printer LBP3100

Re: Canon Printer LBP3100

Postby joecoeur » Oct 20th, '11, 14:50

Can we please put this as RESOLVED?
Thanks!
joecoeur
 
Posts: 36
Joined: Jun 24th, '11, 13:50

Re: [SOLVED] Canon Printer LBP3100

Postby ges-2000 » Mar 23rd, '14, 18:51

Installing LBP2900i (or any other LBP Canon printer) on Mageia 2

0. uninstall any cndrv* or capt drivers previously tested.
1.Download 32/64 bit driver from australian site
http://support-au.canon.com.au/contents ... 59602.html
2.unzip and install 32 or 64 bit RPM packages:
- cndrvcups-common-2.60-xxxx.rpm
- cndrvcups-capt_2.60-xxxx.rpm
3.Connect printer - will be installed but not print.
4. open file blacklist-cups-usblp.conf or blacklist-cups-common.conf and comment line "blacklist usblp":
sudo mc /etc/modprobe.d/blacklist-cups-usblp.conf

Code: Select all
# cups talks to the raw USB devices, so we need to blacklist usblp to avoid
# grabbing them
# blacklist usblp



5. Open file ccpd.conf and insert this lines:
sudo mc /etc/ccpd.conf

Code: Select all
<Printer  LBP2900>
DevicePath  /dev/usb/lp0
</Printer>



6. Create printer from terminal (GUI is usable after thsi but cannot create)....

Code: Select all
sudo /usr/sbin/lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp://localhost:59787 -E


7 To allow driver to autostart add to file /etc/rc.d/rc.local this line

Code: Select all
 /etc/init.d/ccpd start



8. restart computer and printer ...
system will create new printer LBP2900-2 )))) do not use it....
use your LBP2900
ges-2000
 
Posts: 1
Joined: Mar 23rd, '14, 18:49

Re: [SOLVED] Canon Printer LBP3100

Postby csablak » Apr 30th, '15, 19:30

1, Download Linux_CAPT_PrinterDriver_V260_uk_EN.tar.gz - http://www.canon-europe.com/support/con ... p3100.aspx
2,
Code: Select all
urpmi cndrvcups-common-2.60-1.i386.rpm cndrvcups-capt-2.60-1.i386.rpm

or 64 bit
2,
Code: Select all
urpmi libxml2_2 cndrvcups-common-2.60-1.x86_64.rpm cndrvcups-capt-2.60-1.x86_64.rpm

3,
Code: Select all
systemctl service cups restart

4,
Code: Select all
ls /usr/share/cups/model/ | grep CNCUPSLBP31

5, CNCUPSLBP3150CAPTK.ppd
6,
Code: Select all
lpadmin -p LBP3100 -m CNCUPSLBP3150CAPTK.ppd -v ccp://localhost:59787 -E

or if not work
5.1,
Code: Select all
su
mkdir /var/captmon
mkdir /var/ccpd/fifo0
chown -R lp:lp /var/ccpd/

6,
Code: Select all
lpadmin -p LBP3100 -m CNCUPSLBP3150CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E

7,
Code: Select all
ccpdadmin -p LBP3100 -o /dev/usb/lp0

or net
Code: Select all
ccpdadmin -p LBP3100 -o net:192.168.0.20

8,
Code: Select all
service ccpd start; service ccpd status

look at: /usr/sbin/ccpd: 4115 4114 (other number possible)
9, check 1 - cat /etc/ccpd.conf
Code: Select all
<Printer LBP3100>
DevicePath /dev/usb/lp0
</Printer>

10, check 2 - ccpdadmin
11, check 3 - captstatusui -P LBP3100
If message: Socket Error capstatusui - then not run ccpd dameon
insert the new file: ccpd-restart.conf - /etc/rc.d/init.d/
*************
Code: Select all
  ccpd-restart.conf
# ccpd-restart - if printer is ON before PC.
description "restart daemon ccpd for Canon printer LBP-serie"

start on started cups
stop on runlevel [016]

script
  if [ -e /dev/usb/lp* ]; then
   /etc/init.d/ccpd stop
        sleep 3
   /etc/init.d/ccpd start
    fi
end script

**********************
If message: Communication error - then not device - ls /dev/usb - not visible.

OK. Make two new rule into the /etc/udev/rules.d
Code: Select all
cp /usr/lib/udev/rules.d/70-printers.rules /etc/udev/rules.d/

and the new 85-canon-capt.rules

*********************
Code: Select all
# /etc/udev/rules.d/85-canon-capt.rules

KERNEL=="lp*", SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="04a9", RUN+="/etc/init.d/ccpd start"
KERNEL=="lp*", SUBSYSTEMS=="usb", ACTION=="remove", RUN+="/etc/init.d/ccpd stop"


*********************
END
Restart the computer and voala. It works for me. :)
Last edited by csablak on May 2nd, '15, 13:33, edited 2 times in total.
csablak
 
Posts: 23
Joined: Oct 20th, '14, 18:24

Re: [SOLVED] Canon Printer LBP3100

Postby doktor5000 » May 1st, '15, 00:48

Please next time use code tags as explained in ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Previous

Return to Printers and Scanners

Who is online

Users browsing this forum: No registered users and 1 guest

cron