How do I add my printer to cups upstream?

Asked by ted chang

My printer, HL 5340D, is supported by brother but I do not see the printer included in cups printer driver packages.

I installed brother-cups-wrapper-laser, printer-driver-gutenprint, and cups-core-drivers, but I could never find my laser printer. I just want the ppd driver upstreamed so I do not have to keep checking that brother website.

http://support.brother.com/g/b/downloadhowto.aspx?c=us&lang=en&prod=hl5340d_all&os=128&dlid=dlf006002_000&flang=4&type3=562

Thank you,

A random user

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu brother-cups-wrapper-laser Edit question
Assignee:
No assignee Edit question
Solved by:
ted chang
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

lsb_release -a; uname -a; lsusb

Thanks

Revision history for this message
ted chang (monkeyboyted) said :
#2

No LSB modules are available.
Distributor ID: neon
Description: KDE neon Developer Edition
Release: 16.04
Codename: xenial
Linux moo-Latitude-E5430-non-vPro 4.4.0-340-bb #201611211409-Ubuntu SMP PREEMPT Mon Nov 21 12:15:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 04f9:0039 Brother Industries, Ltd HL-5340 series
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I am using this kernel

https://launchpad.net/~nick-athens30/+archive/ubuntu/xenial-ck

Revision history for this message
ted chang (monkeyboyted) said :
#3

I do not think its just an ubuntu issue because there driver is never included when I distro hop to fedora, opensuse, etc.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Its not Ubuntu, so you need to post on your distribution's forum for support

Revision history for this message
ted chang (monkeyboyted) said :
#5

it uses ubuntu as base.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

None of the "Ubuntu based" distributions are supported here. They have their own communities.

Similarly, Ubuntu is based on Debian. If you request Ubuntu support in Deian forums and support channels you will be told to post in an Ubuntu forum.

Revision history for this message
ted chang (monkeyboyted) said :
#7

First, the comparison to Ubuntu and Debian is outright wrong in comparison to Ubuntu and KDE neon. KDE Neon uses both Ubuntu binaries and core packages. All KDE does is layer their DE on top of Ubuntu. I am not reporting a KDE bug. Ubuntu is recompiled forks of Debian testing.

https://neon.kde.org/faq

Second, do I literally have to boot to an actual ubuntu distro to get an answer to this really simple question.

The printer is networked. I only plugin in the laptop to show lsusb output.

I do have a desktop with vanilla lts ubuntu

Revision history for this message
ted chang (monkeyboyted) said :
#8

$ cat /etc/apt/sources.list
# deb cdrom:[neon devunstable _Xenial_ - Build amd64 LIVE Binary 20161023-08:28]/ xenial main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security

Here is my sources list as proof

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

It's not Ubuntu. You are using some KDE made desktop. It's not supported here

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

If you want a distribution supported here, which is KDE based then use Kubuntu.

Anything outside of Canonical is not supported here. Dead simple

Revision history for this message
ted chang (monkeyboyted) said :
#11

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

happy now?

I just want a simple answer to this question. I do not know how to get stuff upstream so it filters down to all distros.

Revision history for this message
ted chang (monkeyboyted) said :
#12

file:///home/swiftiger/Pictures/Screenshot%20from%202016-11-23%2008-59-15.png

I decided to boot to my vanilla ubuntu machine and the printer is still missing.

Revision history for this message
ted chang (monkeyboyted) said :
#13
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#14

Run:

cd $HOME

wget http://www.brother.com/pub/bsc/linux/dlf/hl5340dlpr-2.0.3-1.i386.deb

sudo dpkg -i ./hl5340dlpr-2.0.3-1.i386.deb

sudo apt-get -f install

rm ./hl5340dlpr-2.0.3-1.i386.deb

wget http://www.brother.com/pub/bsc/linux/dlf/cupswrapperHL5340D-2.0.4-1.i386.deb

sudo dpkg -i ./cupswrapperHL5340D-2.0.4-1.i386.deb

sudo apt-get -f install

rm ./cupswrapperHL5340D-2.0.4-1.i386.deb

Remove the Brother printer you added in Ubuntu and reboot. Log back in and then re-setup the printer.

Revision history for this message
ted chang (monkeyboyted) said :
#15

The print works. I know how to run dpkg commands. I just wondering how to get this package filtered to upstream cups drivers so I can just use normal repos.

I will try asking somewhere else