HP Printer install – HP LaserJet Pro MFP M26nw – ubuntu

1. Download and install https://developers.hp.com/hp-linux-imaging-and-printing/gethplip
2. List on terminal the scanner/printer

 scanimage -L

device `hpaio:/net/HP_LaserJet_Pro_MFP_M26nw?ip=192.168.1.100′ is a Hewlett-Packard HP_LaserJet_Pro_MFP_M26nw all-in-one
3. scanimage -d “hpaio:/net/HP_LaserJet_Pro_MFP_M26nw?ip=192.168.1.100” –format tiff > image.tiff
4. convert to pdf
scanimage -d “hpaio:/net/HP_LaserJet_Pro_MFP_M26nw?ip=192.168.1.100” –format png –resolution 600 | convert png:- scan.pdf