System->Administration->Printing add printer. Sudo apt-get install cndrvcups-capt cndrvcups-common So, I have installed 10.10 as persistent live usb and followed the procedures under " Package Repository (before 11.10)".įinally I was successful - following these steps:Īdd the PPA to your system and install the packages: sudo add-apt-repository ppa:michael-gruz/canon Although I currently use 12.10, I thought giving it a try. The Ubuntu Documentation website mentions that this printer was tested with Ubuntu 10.10. Idem, but I had to install the portreserve package for this method to work. Gnome-terminal -e "/etc/init.d/ccpd status" To see status by just double clicking an executable script file, make this executable: #!/bin/bash I succeeded to autostart ccpd deamon on 13.04 by adding sudo /etc/init.d/ccpd start to the startup-applications. NOTE: On 12.10 this method worked for me on one computer, but failed on another. To do that add the following command to the startup-applications (as in the answers under here): sudo update-rc.d ccpd defaults What will most probably happen is that you will need to restart ccpd daemon after each reboot in order to print: unless you set ccpd daemon to start automatically when Linux starts up - as the manual suggest. Sudo /etc/init.d/ccpd start to Start ccpd daemon etc/init.d/ccpd status to see the 2 numbers I guess these rules have to be considered if printing doesn't work: But no printing until logging out and connecting the printer after logging in. It would be convenient to set ccpd daemon to start automatically when Linux starts up."Īfter that, entering sudo /etc/init.d/ccpd status to see if I can see the 2 numbers (familiar from installation in previous versions): yes, there were 2 numbers. : LBP1120 : ccp : //localhost:59787 : /dev/usb/lp0 : ModifiedĮnter the following command. You should get something similar to this: CUPS_ConfigPath = /etc/cups/Įntry Num : Spooler : Backend : FIFO path : Device Path : Status Sudo /usr/sbin/ccpdadmin -p LBP1120 -o /dev/usb/lp0 "Register the printer in the ccpd daemon setup file." (At this point, verify in main menu, under System/Printers, that the name of the printer recorded there is exactly LBP1120). So, as I am lost using nano, i tried sudo gedit /etc/modprobe.d/nfĪnd added the above (nf was an empy file and i just pasted those lines) Then comment the file to look like this, canons driver does not talk to the printer through cups: # cups talks to the raw USB devices, so we need to blacklist usblp to avoid Ubuntu documentation says: "* Note: Ubuntu 12.04 has again blacklisted the usblp module which creates the /dev/usb/lp0 device link. So, both these ports need to be open in the firewall setting.)"]Īccordingly, I had to enter sudo /usr/sbin/lpadmin -p LBP1120 -m CNCUPSLBP1120CAPTK.ppd -v ccp://localhost:59787 -E (The file /etc/nf defines UI_Port 59787 and PDATA_Port 59687. This will give you a headache if you do not change it. The manual says ccp://localhost:59687 but Ubuntu by default is using 59787. Sudo /usr/sbin/lpadmin -p LBP5000 -m CNCUPSLBP5000CAPTK.ppd -v ccp://localhost:59787 -E ["making sure that you change this line accordingly: Step 5 in the manual ("Register the printer (PPD) with the print spooler.") is amended by the Ubuntu documentation page.(i got a terminal message saying that i could just as well use service cups restart) It was my case: So, I had to run : /etc/init.d/cups restart In this case, enter the "For rpm packages" command."]
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |