I’ve also struggled with a Brother wireless printer (and dispvm).
The best approach might be to understand what the Brother Driver
Install Tool does.
I never did, but until you get better advice, here’s what I’d suggest.
Note: The Brother printer was a different model, the templates used were older, and there are security implications to this approach.
- Clone new printer template
- Transfer Brother Driver Install Tool into printer template
- Open a terminal in printer template
- Modify ~/.wgetrc to include 127.0.0.1:8082 proxy settings (here be dragons!)
bash linux-brprinter-installer-*.*.*-* <Brother machine name>
If all goes well, you’ll eventually specify the Device URI and IP address. Test Print probably won’t work at this point so don’t worry about it. Just make sure the IP address entered was correct or rerun the installer to correct it.
If all didn't go well... <expand>
- Observe the failed installer
- Install missing dependancies and/or check proxy settings
- Rerun linux-brprinter-installer*
- Observe the installer’s failed download attempts
- Transfer required files into printer template
- Try linux-brprinter-installer* again
In case its useful on fedora-30 my dependancies inlcuded:
policycoreutils-python-utils glibc.i686 libstdc++.i686
on centos-8 dependancies inlcuded:
policycoreutils-python-utils cups-lpd system-config-printer-libs glibc.i686 libstdc++.i686
Shutdown the printer template, and for ease of testing, I’d suggest starting with an appvm instead of a dispvm. Once you have a working printer appvm based on the printer template, troubleshoting any dispvm specific problems may be easier.