Results 1 to 4 of 4

Thread: Problems with Brother 7020 Cups and LPR installation.

  1. #1
    Join Date
    Sep 2008
    Location
    Philadelphia, PA
    Beans
    2
    Distro
    Ubuntu 8.04 Hardy Heron

    Problems with Brother 7020 Cups and LPR installation.

    Hi, I'm using Ubuntu 8.04 LTS and I've been having difficulty installing my Brother DCP-7020 printer. The problem is 2 fold:

    1. the CUPS and LPRS package I downloaded from the Brother site does not install correctly. I get this message:

    Setting up cupswrapperdcp7020 (2.0.1-2) ...
    /usr/local/Brother/cupswrapper/cupswrapperDCP7020-2.0.1: 64: cannot create /usr/share/cups/model/DCP7020.ppd: Directory nonexistent
    * Restarting Common Unix Printing System: cupsd
    ...done.
    cp: cannot stat `/usr/share/cups/model/DCP7020.ppd': No such file or directory
    dpkg: error processing cupswrapperdcp7020 (--configure):
    subprocess post-installation script returned error exit status 1
    Setting up gcursor (0.061-ubuntu5) ...
    Errors were encountered while processing:
    cupswrapperdcp7020
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install. Trying to recover:
    Setting up cupswrapperdcp7020 (2.0.1-2) ...
    /usr/local/Brother/cupswrapper/cupswrapperDCP7020-2.0.1: 64: cannot create /usr/share/cups/model/DCP7020.ppd: Directory nonexistent
    * Restarting Common Unix Printing System: cupsd
    ...done.
    cp: cannot stat `/usr/share/cups/model/DCP7020.ppd': No such file or directory
    dpkg: error processing cupswrapperdcp7020 (--configure):
    subprocess post-installation script returned error exit status 1

    2. Now everytime I sudo apt-get install anything, the packages install, but at the end of it I get this message, for instance, when installing gcursor:

    Selecting previously deselected package gcursor.
    (Reading database ... 154966 files and directories currently installed.)
    Unpacking gcursor (from .../gcursor_0.061-ubuntu5_i386.deb) ...
    Setting up cupswrapperdcp7020 (2.0.1-2) ...
    /usr/local/Brother/cupswrapper/cupswrapperDCP7020-2.0.1: 64: cannot create /usr/share/cups/model/DCP7020.ppd: Directory nonexistent
    * Restarting Common Unix Printing System: cupsd
    ...done.
    cp: cannot stat `/usr/share/cups/model/DCP7020.ppd': No such file or directory
    dpkg: error processing cupswrapperdcp7020 (--configure):
    subprocess post-installation script returned error exit status 1
    Setting up gcursor (0.061-ubuntu5) ...
    Errors were encountered while processing:
    cupswrapperdcp7020
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install. Trying to recover:
    Setting up cupswrapperdcp7020 (2.0.1-2) ...
    /usr/local/Brother/cupswrapper/cupswrapperDCP7020-2.0.1: 64: cannot create /usr/share/cups/model/DCP7020.ppd: Directory nonexistent
    * Restarting Common Unix Printing System: cupsd
    ...done.
    cp: cannot stat `/usr/share/cups/model/DCP7020.ppd': No such file or directory
    dpkg: error processing cupswrapperdcp7020 (--configure):
    subprocess post-installation script returned error exit status 1

    I'm pretty new to Ubuntu...but I love it so far...using it for about three months, and this has been my only snag. Any help would be appreciated. Thank you

  2. #2
    Join Date
    Nov 2006
    Location
    OE
    Beans
    2,831
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Problems with Brother 7020 Cups and LPR installation.

    You haven't shown the commands the README or INSTALL file gives you to execute.
    But from the output it looks like you may need to use "sudo" with the command(s) you are issuing.
    I can't tell anymore-if you want to post the installation steps you're following that may help.

    Added: At the open printing site they list a driver for your printer plus there are links to guides for setting it up at that page too.
    Last edited by phidia; September 18th, 2008 at 02:46 PM.
    Good site to search for guides & how-tos.

  3. #3
    Join Date
    Aug 2005
    Location
    Michigan
    Beans
    194

    Re: Problems with Brother 7020 Cups and LPR installation.

    Have you tried creating the directory:

    Code:
    sudo mkdir /usr/share/cups/model
    and then installing the driver?

  4. #4
    Join Date
    Sep 2008
    Location
    Philadelphia, PA
    Beans
    2
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Problems with Brother 7020 Cups and LPR installation.

    that worked, thanks so much!

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
  •