LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Installation of Brother Printer Drivers and Device URI number (https://www.linuxquestions.org/questions/linux-hardware-18/installation-of-brother-printer-drivers-and-device-uri-number-4175698450/)

poncedeleon 07-29-2021 06:54 AM

Installation of Brother Printer Drivers and Device URI number
 
In the process of installing the Brother Printer Drivers for the HL-L2360DW on my Laptop. This laptop will be run via WiFi and during the installation of these drivers it states the following;

"Will you specify the DeviceURI ?"

For USB Users: Choose NO
For Network Users: Choose Yes and DeviceURI number

I presume I will be a Network User so will answer Yes but how do I determine the DeviceURI number?

Thank you

wpeckham 07-29-2021 07:00 AM

I do not have that printer, but...
I believe it is the IP address of the printer. If you have set up the printer on your WIFI network, it will appear on the printer status page your brother printer can print. If you have not set it up yet, check your printer install instructions.

poncedeleon 07-29-2021 08:32 AM

Quote:

Originally Posted by wpeckham (Post 6270630)
I do not have that printer, but...
I believe it is the IP address of the printer. If you have set up the printer on your WIFI network, it will appear on the printer status page your brother printer can print. If you have not set it up yet, check your printer install instructions.

Thanks wpeckham
Here is what the printer status page shows for the device uri

usb://Brother/HL-L2360D%20series?serial=U63883B7N497274

My options on the destination Device URI does not show this.

Here is a paste of my options taken from the command line

0: beh
1: https
2: cups-brf:/
3: http
4: hp
5: ipps
6: lpd
7: ipp
8: socket
9: smb
10: hpfax
11: dnssd://Brother%20HL-L2360D%20series%20%40%20john-Desktop-Linux._ipp._tcp.local/cups?uuid=45309e5c-3f2e-3b83-5c93-68e0b93afae4
12: lpd://BRWA86BADA07C52/BINARY_P1
13 (I): Specify IP address.
14 (A): Auto. (dnssd://Brother%20HL-L2360D%20series%20%40%20john-Desktop-Linux._ipp._tcp.local/cups?uuid=45309e5c-3f2e-3b83-5c93-68e0b93afae4)

select the number of destination Device URI. ->

Another question is why is the destination Device URI showing a USB instead of WiFi? It does connect via usb but I set it up last evening for WiFi and it is functioning.

I wait to hear what option before proceeding.

Thank you

poncedeleon 07-29-2021 09:09 AM

I noticed on the Network Configuration the NetBIOS Name being BRWA86BADA07C52 is the same as Option 12.
Used that for the "DeviceURI" and it worked. Now able to print via WiFi on my laptop.

If someone is out there and can explain in simple terms why this worked that would better serve to bring some enlightenment on this issue. The NetBIOS Name is clearly not the DeviceURI.

Thank you

pan64 07-29-2021 09:16 AM

https://en.wikipedia.org/wiki/NetBIOS
BRWA86BADA07C52 is most probably the hostname of that device
lpd://BRWA86BADA07C52/BINARY_P1 is an URI, containing a protocol (lpd), a host and a path in it. https://en.wikipedia.org/wiki/Unifor...rce_Identifier

michaelk 07-29-2021 10:23 AM

If you look at the network settings status page (I posted how to print it from your other thread) you will see a section called active services and protocols. Depending on which one you want to use would determine its URL.

lpd://BRWA86BADA07C52/BINARY_P1

lpd:// indicates the backend cups uses to talk to the printer. lpd uses port 515. The printer also supports several other protocols i.e ipp which is port 631 and HP jet direct which is port 9100 and NetBIOS.

BRWA86BADA07C52

Its an active service but not the NetBIOS or hostname but used to locate the printer.

BRN for wired or BRW for wireless and the associated MAC (Media Access Control address) for that adapter which is 48 bit hex number and in your case is A8:6B:AD:A0:7C:52. Don't worry the address is not accessible outside of your local LAN. You can specify the printer's network hostname if your router supports local DNS or use an IP address if you configure it with a DHCP or static IP address or the NetBIOS name.

BINARY_P1 is just one print language protocol it supports. It also is capable of PCL, plain text and Postscript. The URL cups uses needs all of those combined when it sends the print job to the printer.

poncedeleon 07-29-2021 02:55 PM

Good stuff michaelk.

Thanks very much.


All times are GMT -5. The time now is 09:54 PM.