Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33

Thread: All Cannon Printer Driver (LBP3200)

  1. #1
    Join Date
    Nov 2009
    Beans
    11

    Lightbulb All Cannon Printer Driver (LBP3200)

    This article describe installing cannon CAPT driver by compiling from source

    The details ment here are for 64Bit Ubuntu 9.10 System Karmic Kola and LBP3200 printer. I had complied this article from the reference below

    If Possible switch Off the Printer until we complete installation of driver this may avoid auto installation of the driver after we complete the steps.

    Ref 1:
    HTML Code:
    http://ubuntuforums.org/showpost.php?p=6134355&postcount=2
    Ref 2:
    HTML Code:
    https://help.ubuntu.com/community/HardwareSupportComponentsPrinters/CanonPrinters/Canon_LBP_2900#Compiling%20the%20driver%20%28amd64%29%20Steps:
    Use Case

    1. Compile Cannon Driver from latest source
    2. Install Compiled Driver
    3. Automate loading the CAPT demon

    Files to Download

    Cannon Linux Printer Driver (CAPT) Source
    HTML Code:
    http://support-au.canon.com.au/contents/AU/EN/0900772411.html
    libcupsys2.deb
    HTML Code:
    http://packages.ubuntu.com/jaunty-updates/all/libcupsys2/download
    This is a dummy package installing it will solve dependancy issue installing capt-common package

    Note: Deb Packages can be directly installed by right clicking it and selecting option open with “GDebi Package Installer”

    Step1 - Installing the Required packages to compile the driver

    Install following packages before start compiling (Some Package may report already installed such case leave as such and contiune installing others)

    Install Debian package development tools
    Install libcupsys2 Download the deb from here
    HTML Code:
    http://packages.ubuntu.com/jaunty-updates/all/libcupsys2/download
    Install The GNU Standard C++ Library v3 (development files)
    Install helper programs for debian/rules
    Install automatic configure script builder
    Install Development files for the GLib library
    Install Development files for the GTK+ library
    Install A system independent dlopen wrapper for GNU libtool
    Install library for common error values and messages in GnuPG components
    Install Common UNIX Printing System(tm) - Development files CUPS library
    Install Development files for the GNOME XML library

    sudo apt-get install build-essential
    sudo apt-get install libstdc++6-4.4-dev
    sudo apt-get install debhelper
    sudo apt-get install autoconf
    sudo apt-get install libglib2.0-dev
    sudo apt-get install libgtk2.0-dev
    sudo apt-get install libltdl-dev
    sudo apt-get install libgpg-error-dev
    sudo apt-get install libcups2-dev
    sudo apt-get install libxml2-dev
    Step2 – Unpacking the Source

    tar xfz CAPT_Printer_Driver_for_Linux_Src_V190_uk_EN.tar.g z
    cd CAPT_Printer_Driver_for_Linux_Src_V190_uk_EN/Src/
    tar xfz cndrvcups-common-1.90-1.tar.gz
    tar xfz cndrvcups-capt-1.90-1.tar.gz
    Step3 – Compiling cndrvcups-common-1.90-1

    cd cndrvcups-common-1.90
    gedit ./debian/control
    Change “Architecture: i386” to “Architecture: amd64” save and close editor

    dpkg-buildpackage
    The debian package cndrvcups-common_1.90-1_amd64.deb will be placed in CAPT_Printer_Driver_for_Linux_Src_V190_uk_EN/Src

    Step4 – Installing cndrvcups-common_1.90-1_amd64.deb

    This package need to be installed before starting the next step compiling the cndrvcups-capt source depends some library from cndrvcups-common

    cd ..
    sudo dpkg -i cndrvcups-common_1.90-1_amd64.deb
    Step5 – Compiling & Installing cndrvcups-capt-1.90-1

    cd cndrvcups-capt-1.90
    gedit ./debian/control
    Change “Architecture: i386” to “Architecture: amd64” save and close editor

    gedit ./debian/rules
    Comment the option dh_shlibdeps by adding “#” at the start of the line It should look like as below after editing
    Code:
    #     dh_shlibdeps
    save and close editor

    dpkg-buildpackage
    The debian package cndrvcups-capt_1.90-1_amd64.deb will be placed in CAPT_Printer_Driver_for_Linux_Src_V190_uk_EN/Src

    sudo dpkg -i cndrvcups-capt_1.90-1_amd64.deb
    Now our cannon driver is installed and ready to configure

    Step6 – Editing the startup script for starting CAPT daemon

    I had modified the ccpd startup script to make it little polished

    Code:
    #!/bin/sh
    # startup script for Canon Printer Daemon for CUPS (ccpd)
    # Modified for Debian GNU/Linux
    
    
    DAEMON=/usr/sbin/ccpd
    LOCKFILE=/var/lock/subsys/ccpd
    NAME=ccpd
    DESC="Canon Printer Daemon for CUPS"
    
    test -f $DAEMON || exit 0
    
    . /lib/lsb/init-functions
    
    export PATH=$PATH:/usr/local/sbin:/usr/local/bin
    
    ccpd_start ()
    {
        log_begin_msg "Starting $DESC: $NAME"
            start-stop-daemon --start --quiet --oknodo --exec ${DAEMON}
            log_end_msg $?
    }
    
    ccpd_stop ()
    {
            log_begin_msg "Stopping $DESC: $NAME"
        start-stop-daemon --stop --quiet --oknodo --signal 15 --exec ${DAEMON}
            log_end_msg $?
    }
    
    
    case $1 in
    
        start)
            ccpd_start
            ;;
            
        stop)
            ccpd_stop
            ;;
        
        status)
                echo "$DESC: $NAME:" `pidof $NAME`
            ;;
        
        restart)
                log_begin_msg "Restarting $DESC: $NAME"
            ccpd_stop
                sleep 2
            ccpd_start
                log_end_msg $?
            ;;
        
        *)
                echo "Usage: ccpd {start|stop|restart|status}"
            exit 1
            ;;
    esac
    exit 0
    Lets us start editing the script

    cd /etc/init.d
    sudo cp ccpd ccpd-old
    sudo gedit ccpd
    delete all existing content and replace with the above script, save and close the editor

    Step7 – Setting the printer for CUPS

    sudo /etc/init.d/cups restart
    sudo /usr/sbin/lpadmin -p LBP3200 -P /usr/share/cups/model/CNCUPSLBP3200CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
    This will add printer LBP3200

    Step8 – Setting the printer for CAPT

    sudo /usr/sbin/ccpdadmin -p LBP3200 -o /dev/usb/lp0
    This will add printer LBP3200 to the CAPT monitor (daemon)

    Step9 – Automating CAPT while booting the system

    sudo update-rc.d ccpd defaults 50
    Edit*
    We are using 50 which means the ccpd is one the the last daemons to start This point is noted by notlistening, TommyBoy


    Step10 – Finalisation

    Now we are done all setting now its time to switch on our printer. Connect your printer and power on. As soon as the printer is connected Ubuntu auto install a new driver for our printer and make it as default printer.

    Now our final step is to chage our set printer to default and disable the auto installed printer (Note: do not delete the printer auto installed by Ubuntu, since Ubuntu will reinstall the printer again after a restart so its better to disable it or leave it as is)

    Steps to change default Printer

    Select
    System->Administrator->Printing
    This will list all the printer installed, right click the printer named LBP3200 and select (click) Set Us Default

    Right click the auto installed printer by Ubuntu (LBP3200-2) and uncheck Enabled.

    Now we are complete Lets Restart the computer.

    “Success“ our printer is now ready to print, “Happy Computing”

    I thank the community by creating this thread
    Last edited by rajamohan; September 22nd, 2010 at 02:18 PM.

  2. #2
    Join Date
    Oct 2008
    Location
    UK
    Beans
    75
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: All Cannon Printer Driver (LBP3200)

    This line causes me issues:

    Code:
    sudo update-rc.d ccpd defaults 20
    I had to modify this for Karmic to stop ccpd from not starting correctly at boot and using 100% of one CPU :

    Code:
    sudo update-rc.d ccpd defaults 50
    Jaunty was another story found here:

    https://help.ubuntu.com/community/Ha...inters/LBP3010
    Open SAPI - MS Speech in Linux: http://code.google.com/p/open-sapi/

    RockboxPlayer - Open Source MP3/4 Player: http://code.google.com/p/rockboxplayer/

  3. #3
    Join Date
    Nov 2009
    Beans
    11

    Re: All Cannon Printer Driver (LBP3200)

    [quote=notlistening;8252343]This line causes me issues:

    Code:
    sudo update-rc.d ccpd defaults 20
    I had to modify this for Karmic to stop ccpd from not starting correctly at boot and using 100% of one CPU :

    Code:
    sudo update-rc.d ccpd defaults 50
    Thanks notlistening, I had updated the content as pointed by you

  4. #4
    Join Date
    Aug 2007
    Beans
    51
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: All Cannon Printer Driver (LBP3200)

    I'm trying to apply this for the LBP5050 by following this guide (of course, using "LBP5050" instead of "LBP3200" in the commands). The setup worked fine for me, I've followed the whole guide without problems, but when I run
    Code:
    captstatusui -P LBP5050
    I get an error saying "Check the DevicePath of /etc/ccpd.conf" and I'm not able to print. Any solution to this?

  5. #5
    Join Date
    Aug 2007
    Beans
    51
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: All Cannon Printer Driver (LBP3200)

    BTW, here's my /etc/ccpd.conf

    Code:
    # Canon Printer Daemon for CUPS Configuration Data
    
    <Path>
    # CUPS configuration file path.
    #  Default  /etc/cups/
    
    CUPS_ConfigPath   /etc/cups/
    
    # Log directory path.
    #  LogDirectoryPath /var/log/CCPD/
    
    </Path>
    
    # Printer entries.
    #  Mapping each "Printer Name" to each "Printer Device Port".
    #  The "Printer Name" has to be identical to the CUPS printer queue name.
    #  
    #  For example, if you prepare a printer named "LBP3200" as a CUPS printer
    #  queue name, and the printer is connected to the USB port "/dev/usb/lp0",
    #  you can use the following three lines example just by removing the
    #  comment symbol "#" of each line.
    #<Printer  LBP3200>
    #DevicePath  /dev/usb/lp0
    #</Printer>
    
    <Printer LBP5050>
    DevicePath /dev/usb/lp0
    </Printer>
    
    <Ports>
    # Status monitoring socket port.
    #  Default 59787
    UI_Port  59787
    </Ports>

  6. #6
    Join Date
    Jan 2008
    Beans
    20

    Re: All Cannon Printer Driver (LBP3200)

    Just trying this now.

    FYI - the link to the Canon Source should be :

    http://support-au.canon.com.au/conte...900772502.html

    The one you have is for the pre-compiled driver.

    Interestingly - the UK support page doesn't have 1.9 - only 1.8!

    UPDATE:

    Yes, this worked a charm. Although in reality - I think all I needed was the new version 1.9 drivers - as I'm on 32Bit - I'm not sure I needed to compile from source...
    Last edited by spodesabode; November 9th, 2009 at 01:56 PM.

  7. #7
    Join Date
    Nov 2009
    Beans
    11

    Re: All Cannon Printer Driver (LBP3200)

    Dear akshov,

    If all went well, the issue might due to auto detected printer driver, please check you had done the last step, setting the default printer, and also check if there is any printjob pending in the auto detect printer, I had this issue when I had a printjob in the auto select printer and every time I switch on the printer.

    Hope this solve your issue

    Rajamohan

  8. #8
    Join Date
    Nov 2005
    Location
    Sydney, Australia
    Beans
    216
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: All Cannon Printer Driver (LBP3200)

    Hi,

    I have found the DOC for installing the drivers, but is online (HTML) When I try to print it, all I get is the first page. Do you know how to print the whole Users Guide? I am using Firefox.
    Just think how boring life would be without Ubuntu

  9. #9
    Join Date
    Jan 2010
    Beans
    1

    Re: All Cannon Printer Driver (LBP3200)

    I have LBP5050 with Ubuntu 9.10 on an AMD64.system. I think I have closely followed the instructions above but still with no success.

    A simple 3 lines ascii files stays in queue with status "processing". If I abort it, the properties window shows "Can't open FIFO: Interrupted system call".

    Any suggestions?

  10. #10
    Join Date
    Apr 2005
    Location
    Brisbane, Qld. Australia
    Beans
    202
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: All Cannon Printer Driver (LBP3200)

    Mate, I've given up on Ubuntu these days and moved over pure Debian.

    But for the life of me could I get my printer working?

    When using Ubuntu in the past I used a much older more complicated Howto, that never failed me until recently.

    Your guide along with the input of others is so much better presented, less steps, and works.

    Cheers.
    "I'm just sittin' here watchin' the wheels go 'round and 'round"
    John Lennon

Page 1 of 4 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •