hp officejet 4500 in linux you can use apt-get install hplip (yay drivers!)
sane-find-scanner
found USB scanner (vendor=0x03f0 [HP], product=0x2d12 [Officejet 4500 G510g-m]) at libusb:002:006
found USB scanner (vendor=0x0bda [Generic], product=0x0139 [USB2.0-CRW]) at libusb:002:003
scanimage --list-devices device `hpaio:/usb/Officejet_4500_G510g-m?serial=CN0B1F131V05CQ' is a Hewlett-Packard Officejet_4500_G510g-m all-in-one
scanimage --test
neat extras like --brightness --mode Color (default is Gray)
OR you can then use the GUI "simple-scan" (choose DPI, crop, save as pdf, etc.)