个人工具
登录
查看“UbuntuHelp:LBP3010”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:LBP3010”的源代码
来自Ubuntu中文
←
UbuntuHelp:LBP3010
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/LBP3010}} {{Languages|UbuntuHelp:LBP3010}} #title Latest Canon Capt Printer Driver Ver 1.9 for LBP3010 == Introduction == These instructions will help get Version 1.9 of the Canon Capt Printer driver installed and automatically starting with monitor on Ubuntu 9.04 (Jaunty) and Ubuntu 9.10 (Karmic). Printers reported to work with version 1.9 on Jaunty & Karmic * LBP3010 If you get your printer working please add it to the list. == Resources == The driver download page can be found here: [http://gdlp01.c-wss.com/gds/5/0900007725/07/CAPT_Printer_Driver_for_Linux_Src_V190_uk_EN.tar.gz Direct Driver Download]. If unsure of the version you should be using I recommend the canon support page to find your printers drivers. [http://software.canon-europe.com/index.asp Canon Support Downloads]. Currently version 1.90 is not recommend on any support site. === 9.10 Karmic Specific === When trying to install the Canon Driver in Karmic you will be met with a dependency problem with libcups2. This is easily solved by adding a [http://www.debian.org/doc/debian-policy/ch-binary.html#s-virtual_pkg virtual package*] found at the [http://packages.ubuntu.com/karmic/libcups2 Karmic libcups2 Package Page] == Installing Drivers == ""Karmic users only"" please download and install the [http://packages.ubuntu.com/karmic/libcups2 libcups2] package before installing the Canon driver. I am not going to rewrite the instructions given in the documentation supplied by Canon. Instead I will suppliment them with Ubuntu specifics. After you have got tp step 7 in the Canon Install Guide you will be asked in run this command. <pre><nowiki> # /etc/init.d/ccpd start </nowiki></pre> At this point i recommend stopping and replacing your ccpd file with one that has been made more friendly to debian. Run in a terminal: Backup your original canon driver startup script: <pre><nowiki> sudo cp /etc/init.d/ccpd /etc/init.d/ccpd.orig </nowiki></pre> Edit the script, delete everything and replace with the one below: sudo gedit /etc/init.d/ccpd === New ccpd Script === <pre><nowiki> #!/bin/sh # startup script for Canon Printer Daemon for CUPS (ccpd) # Provides: ccpd # Required-Start: $local_fs $remote_fs $syslog $network $named # Should-Start: $ALL # Required-Stop: $syslog $remote_fs # Default-Start: 2 3 # Default-Stop: 0 1 4 5 6 # Description: Start Canon Printer Daemon for CUPS DAEMON=/usr/sbin/ccpd LOCKFILE=/var/lock/subsys/ccpd PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin NAME=ccpd DESC="Canon Printer Daemon for CUPS" test -f $DAEMON || exit 0 . /lib/lsb/init-functions case $1 in start) log_begin_msg "Starting $DESC: $NAME" start-stop-daemon --start --quiet --exec $DAEMON log_end_msg $? ;; stop) log_begin_msg "Stopping $DESC: $NAME" start-stop-daemon --stop --quiet --oknodo --exec $DAEMON log_end_msg $? ;; status) echo "$DESC: $NAME:" `pidof $NAME` ;; restart) log_begin_msg "Restarting $DESC: $NAME" start-stop-daemon --stop --quiet --oknodo --exec $DAEMON sleep 1 start-stop-daemon --start --quiet --exec $DAEMON log_end_msg $? ;; *) echo "Usage: ccpd {start|stop|restart|status}" exit 1 ;; esac exit 0 </nowiki></pre> After you have replaced this file we can check that it has worked by running: <pre><nowiki> sudo /etc/init.d/ccpd restart * Restarting Canon Printer Daemon for CUPS: ccpd [ OK ] </nowiki></pre> == Printing a Test Page == At this point you can test your printer by going to: System->Administration->Printing You should see a icon for the printer you have just setup. There maybe another printer in there with a similar name just ignore this one for the time being. Right click on the printer and choose properties. Click the buttons "Print Test Page". Hopefully your page should print. We have replaced the script to start the driver. Next we need to tell the system we want the script to start when the system next boots. This is where i had most problems with the ccpd daemon. == 9.10 Karmic Auto Start ccpd == In a terminal you have to run: <pre><nowiki> sudo update-rc.d ccpd defaults 50 </nowiki></pre> All the other guides use the default value of 20 and this seems to give some users/distros problems. We are using 50 which means the ccpd is one the the last daemons to start. Proceed to the Restart and Verify section. ---- == 9.04 Jaunty Auto Start ccpd == Please note that i have not attempted to use the Karmic method above on Jaunty. Please feel free to try this and add your comments. This will install inssev which helps mange programs that run on startup, in a terminal run: <pre><nowiki> sudo apt-get install insserv </nowiki></pre> Then run the command to install ccpd as a startup script: <pre><nowiki> sudo insserv </nowiki></pre> Proceed to the Restart and Verify section. ---- == Restart and Verify == Now it is time to restart the system. If all goes well the system should restart and at the login page be able to print. This guide will not cover setting up [[UbuntuHelp:NetworkPrintingWithUbuntu|cups|for network printing]]. After you login open a terminal and run: <pre><nowiki> sudo /etc/init.d/ccpd status Canon Printer Daemon for CUPS: ccpd: 1135 1131 </nowiki></pre> This shows the process Id's for the '''two''' ccpd processes that should now be running. If you only see one then you still have a problem with the way the ccpd daemon is starting. Please check carefully you have completed all the steps above. At this point you should be able to print a test page all being well. == Status Monitor == The Canon status monitor can alert you to any issues with your printer. This can be run directly on the termial by issuing this command: <pre><nowiki> captstatusui -P <Your printer name as specified in cups> My printers example: captstatusui -P LBP3010 </nowiki></pre> You will be presented with the User Interface and it should say ready to print. If not make sure the printer is switched on. Finally we want the monitor to run each time the computer is switched so we add it to the as a startup application in: System->Preferences->Startup Applications Click the New button. Name:Canon Printing Status Monitor Command: captstatusui -e -P <Your printer name as specified in cups> Description: Hidden until error occurs The -e option causes the monitor to stay hidden until an error occurs like when you run out of paper. ---- [[category:CategoryHardware]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:LBP3010
。