分类: LINUX
2012-12-01 20:42:54
Fedora 16 64bit 下安装 LBP2900打印机
Hello.
I'm
goingo to post the new guide for the installation of Canon LBP2900
series on Fedora 17.
I think that this guide may be useful for all
Canon LBP series.
1)open root terminal and dont' connect the
printer
2) install all dependancies
#yum install
libc.so.6 libgcc_s.so.1 libpopt.so.0 libstdc++.so.6 libxml2.so.2
libz.so.1
3) link to and dowload the driver Canon CAPT 2.40
4)after you have
extract the files, from terminal go to
/Linux_CAPT_PrinterDriver_V240_uk_EN/64-bit-Driver/RPM
5)install
cndrvcups-common file
#rpm -ivh
cndrvcups-common-2.40-1.x86_64.rpm
6)install
cndrvcups-capt file
#rpm -ivh
cndrvcups-capt-2.40-1.x86_64.rpm
7)switch on the printer
and connect it on PC
wait the system to recognize the printer
8)
record the printer on the Print Spooler
#/usr/sbin/lpadmin -p
LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
9)record
the printer on daemon setup file
# /usr/sbin/ccpdadmin -p
LBP2900 -o /dev/usb/lp0
如过启动系统后系统设置里边有打印机但是打印测试页面,打印机没有反映,就把上边的命令再执行一次.
10)restart ccpd daemon
#
/etc/init.d/ccpd restart
11) go to Applications/System
Settings/Printers from Fedora menu.
You will find the printer. You
can print a test page. Set it as default printer.
12)edit
rc.local to start the ccpd daemon at boot
# echo
/etc/init.d/ccpd start >> /etc/rc.local
13)set cups
service to start at boot
#chkconfig --level 35 cups on
14)set
ccpd service to start at boot
#cd /etc/init.d
#sudo gedit
ccpd
(replace "gedit" with "kwrite" or
other test editor if you use KDE or other DE)
and paste under
#!/bin/sh this
# chkconfig: 2345 95 20
# description: Some
description
# What your script does (not sure if this is
necessary though)
# processname: myscript
including in
the copy also #
and save
15)
#chkconfig --level 35
ccpd on
16)you can reboot and good printing
If
you have a LBP series different from 2900
you can replace
the point 8) and 9) with the following command
# ls
/usr/share/cups/model/ | grep CNCUPS
for see the list of
drivers for the LBP series printers.
this is the
result
CNCUPSLBP1120CAPTJ.ppd
CNCUPSLBP1120CAPTK.ppd
CNCUPSLBP1210CAPTJ.ppd
CNCUPSLBP1210CAPTK.ppd
CNCUPSLBP2900CAPTK.ppd
CNCUPSLBP3000CAPTJ.ppd
CNCUPSLBP3000CAPTK.ppd
CNCUPSLBP3200CAPTJ.ppd
CNCUPSLBP3200CAPTK.ppd
CNCUPSLBP3210CAPTJ.ppd
CNCUPSLBP3210CAPTK.ppd
CNCUPSLBP3300CAPTJ.ppd
CNCUPSLBP3300CAPTK.ppd
CNCUPSLBP3600CAPTJ.ppd
CNCUPSLBP5000CAPTJ.ppd
CNCUPSLBP5000CAPTK.ppd
there
are two driver
*K.ppd
*J.ppd
you have to
try first with file K.ppd
and to record printer on print
spooler
# /usr/sbin/lpadmin -p [printer model] -m [printer
driver file name] -v ccp:/var/ccpd/fifo0 -E
and to record
printer on daemon setup file
# /usr/sbin/ccpdadmin -p [printer
model] -o /dev/usb/lp0
That's all. Ciao ciao from Sicily
(Italy).
容易忽视的三点重要
1、打印机设置中 位置 localhost.localdomain
2、# echo /etc/init.d/ccpd start >> /etc/rc.local
3、ccps 文件
#!/bin/sh
# chkconfig: 2345 95 20
# description: Some description
# What your script does (not sure if this is necessary though)
# processname: myscript
# startup script for Canon Printer Daemon for CUPS (ccpd)
if [ -f /etc/rc.d/init.d/functions ]; the