Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
From my server having problems correctly installing my Brother DCP L2540W printer.
Downloaded the driver source from Brother. Ran the install. Always comes up with my Pantum printer driver installed instead. Modifying the printer to the right driver also does not work.
Server is on Cups 1.7.2 running Kubuntu 14.o4! Upgrading Laptop to 18.04 as soon as parts come in for disk imaging backup. Then will upgrade server to 18.04 if stable (takes 2 year for and LTS version to stabilize, so why just converting as 16.04 was a total waste.)
Cups.org show cups 2.3.1 as oldest supported version, so want to upgrade CUPs to see if that fixes the issue.
Cannot find a HOWTO on upgrading to 2.3.1! Only find HOWTOs on fresh installs and those usually cause problems with an app (CUPs) already installed. All other HOWTOs just say use "apt-get install cups" which will just re-install 1.7.2 if I run that.
Need the right info to get this done. All help appreciated!
Downloaded the driver source from Brother. Ran the install. Always comes up with my Pantum printer driver installed instead. Modifying the printer to the right driver also does not work.
It should only be necessary to install the appropriate LPR and CUPSwrapper deb packages... https://www.linuxquestions.org/quest...em-4175670855/
Some of their drivers (older models) are 32-bit, so to install in a 64-bit Debian environment do this first...
It should only be necessary to install the appropriate LPR and CUPSwrapper deb packages... https://www.linuxquestions.org/quest...em-4175670855/
Some of their drivers (older models) are 32-bit, so to install in a 64-bit Debian environment do this first...
After that you should be able configure CUPS to use the printer.
BTW, is your printer connected via USB or network?
ferrari,
The driver is 64 bit and installs correctly and seen inside cups, but as a network printer, when running the "Find Printers" inside of sups it does not show so that, to me at least, is why CCups always assigns the Pantum driver to it. The IP of the printer is 192.168.0.50 and I may have to set it static on an IP above 100 as most network scanners start at 100 searching above that, but not sure on that.
The current cups connection shows as: lpd://T3400-Svr/Q1 but it is not working. I tried setting it IPP: but that did not work.
Router:
Nmap scan report for 192.168.0.1
Host is up (0.00089s latency).
MAC Address: CC:2D:21:2C:33:20 (Unknown)
790 DT
Nmap scan report for 192.168.0.100
Host is up (0.00038s latency).
MAC Address: 84:8F:69:F7:BD:91 (Dell)
SVR
Nmap scan report for 192.168.0.105
Host is up (-0.10s latency).
MAC Address: 00:22:19:04:4f:5a
Aspire LT
Nmap scan report for 192.168.0.106
Host is up (-0.10s latency).
MAC Address: 00:1F:C6:9F:C4:E4 (Asustek Computer)
But as yoo see the printer does not show at all, but my laptop and the Dell 790 Desktop see it just fine. Don't understand why the server cannot see it!
I'm wondering about this, all installs on the SVR come from:
Are you using a DHCP address reservation or a static IP address configured on the printer itself? If the latter is the printer configured for the same subnet i.e /16?
As a workaround you should be able to use the URL below and and select any PCL 6 printer in the list. All the options may not work but at least it will prove you can print successfully.
Quote:
lpd://192.168.0.130/binary_p1
Finding the printer with other distributions depends on what it is using to probe the network. The more recent linux cups versions use dnnsd backend which I'm not sure when that was added to cups. CentOS 7 uses cups version 1.6.3 which does not but once the driver was installed via the install script from the Brother website it was easy to manually add the URL above.
The IP of the printer is 192.168.0.50 and I may have to set it static on an IP above 100 as most network scanners start at 100 searching above that, but not sure on that.
No that's not correct. See below information about setting an IP address.
Quote:
If I set the Printer static IP to 192.168.0.130, I'm then thinking I will show and then with assign correctly. Do you concur?
The IP address used is up to you with the following provisos...
Most routers allow reservation by MAC address, so that a device using DHCP will be assigned a particular address. If you choose to assign the printer with an explicit static IP address, make sure that it is within the subnet range of the router, but outside it's DHCP pool (so that no IP conflict can occur).
You should make sure that you can ping the printer at the expected IP address, and an nmap scan should show that the printer is listening on particular well-known printing ports.
Most recent Brother printers support AppSocket/HP JetDirect protocol, LPD, and IPP network printing protocols. Try using the following socket:// CUPS URI should work eg assuming 192.168.0.50
In addition to the above many default configurations you find in the typical home router starts the DHCP pool at x.x.x.100 for IPV4 addresses. As stated if you are setting a static IP address on the printer itself it needs to be outside the DHCP range.
Yeah now working! In Cups I selected A.) Modify Printer, B.) Selected LPD driver, C.) Entered: lpd://192.168.0.150/binary_p1, D.) Selected the driver, E.) Saved, F.) Printed Test page; and it worked. Closing this out as Solved!
The OP is using the -sP option which is just a host ping and does not check for open ports.
I don't remember what the add printer wizard looked like back then but if you want to use the cups web interface you need to add your user to the lpadmin group
Code:
sudo usermod -aG lpadmin username
Logout then log back in and from the cups web interface manually add the URL as posted above. If you installed the printer driver it should be available in the printer drop down list.
The OP is using the -sP option which is just a host ping and does not check for open ports.
Yes, that is what I was hinting at.
Quote:
All,
Yeah now working! In Cups I selected A.) Modify Printer, B.) Selected LPD driver, C.) Entered: lpd://192.168.0.150/binary_p1, D.) Selected the driver, E.) Saved, F.) Printed Test page; and it worked. Closing this out as Solved!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.