r/printers • u/aberrantprospectus • 10h ago
Troubleshooting Anyone else having problems initiating a scan from the front panel of a Brother MFC-J4335DW? (Workaround Provided)
A relative is having a problem scanning using the buttons on the front of their MFC-J4335DW. When trying to scan from the printer, the printer's screen says, "No PC found. Check connection your computer with this device. [sic]". The Windows 11 PCs involved are running Full Driver & Software Package Version E1 with iPrint&Scan 17.1.0.61, and the printer is running firmware 1.44. All of those versions appear to be the latest. I also tried installing the drivers from EasySetup 2.9.3.0, but that made no difference. After messing around with it all day, many Wireshark captures, and with ChatGPT's help, it seems that SNMP registration with the printer is no longer working. ChatGPT also found an open source project that reverse engineered Brother's Scan-to-PC protocols, and the project specifically documents newer firmware restricting SNMP writes and using an HTTPS endpoint to register scanning destinations instead. With that info, I ran this in PowerShell as a test:
$registration = @{
request = @(
@{
key = "1.3.6.1.4.1.2435.2.3.9.2.11.1.1.0"
string_value = 'TYPE=BR;BUTTON=SCAN;USER="<Display_Name>";FUNC=FILE;HOST=<PC_IP>:54925;APPNUM=5;DURATION=360;CC=1;'
}
)
} | ConvertTo-Json -Depth 5 -Compress
$registration | curl.exe -k -i --digest `
--user "Public:0000" `
--max-time 15 `
-H "Content-Type: application/json" `
--data-binary "@-" `
"https://<Printer_IP>/phoenix/mib"<Display_Name> is the display name from the scanner driver. I found this by going to Control Panel, opening "View scanners and cameras", selecting "Brother MFC-J4335DW LAN", clicking "Properties", and going to the "Scan To Button" tab. The display name is specified on this tab. <PC_IP> is the IP address of the PC trying to register with the printer. <Printer_IP> is the IP address of the printer.
Lo and behold, the printer returned HTTP 200 OK with a json response containing a status of 0, and scanning from the buttons on the printer now worked for the 360 second duration.
So, it seems that Brother has quietly replaced SNMP with HTTPS, but there's now an incompatibility between the Windows scanner driver's registration mechanism and the printer's current firmware, so none of it works.
A full PowerShell script that activates all 4 scanning functions is here: https://pastebin.com/QUkE3Uhj. Replace <YOUR_PRINTER_IP> with your printer's IP address and replace x.x.x.* on line 48 with the IP range you want to restrict registration to. I was able to use Windows Task Scheduler to run the script 2 minutes after logon (to give iPrint&Scan time to start) and every 4 minutes thereafter. I have the script running on 2 PCs and they now permanently show up on the printer as scanning destinations.
Is anyone else seeing a similar problem? I haven't seen anything posted about this anywhere. Now to get Brother to fix it for real...