- Code: Select all
# hp-setup
Veja https://help.ubuntu.com/community/Scann ... ne_devices e https://help.ubuntu.com/community/HpAll ... ed_Scanner.
CUPS - ArchWiki wrote:To enable wireless scanning on certain HP multi-function devices using the hplip package, you may need to add the printer as a Network Printer using the HTTP protocol. To determine the proper URI to use, run the hp-makeuri command.
https://wiki.archlinux.org/index.php/CUPS#Configuring
Acho que você pode editar /etc/cups/printers.conf e mudar:
- Code: Select all
DeviceURI dnssd://Deskjet%202540%20series%20%5B060A68%5D._ipp._tcp.local/
para:
- Code: Select all
DeviceURI hp%3A%2Fnet%2FDeskjet_2540_series%3Fip%3D192.168.1.109
ou talvez:
- Code: Select all
DeviceURI hpaio%3A%2Fnet%2FDeskjet_2540_series%3Fip%3D192.168.1.109
(Use http://meyerweb.com/eric/tools/dencoder/ para codificar/descodificar o URL.)
Ubuntu Documentation - HpAllInOne wrote:Next, there are two approaches to accessing the networked scanner:
1. You can temporarily access the scanner by supplying the SANE URI to xsane every time you execute it:
- Code: Select all
xsane SANE-URI
where SANE-URI is the SANE URI returned by hp-makeuri.
2. The scanner will be permanently accessible if CUPS is configured to use the 'hp' backend to access the printer instead of the 'socket' backend (i.e., the Jet Direct backend). This can be done by editing printers.conf:
- Code: Select all
gksudo gedit /etc/cups/printers.conf
and replacing the 'socket' DeviceURI with the 'hp' URI returned by hp-makeuri.