New comment by biopsin on void-packages repository
https://github.com/void-linux/void-packages/issues/41695#issuecomment-1406040980
Comment:
Thank you for trying it out and unfortunatly restricted packages are a bit hasle but it is what it is.
wait a minute the plugin is nonfree, so just add the nonfree repo to get it without using xbps-src
Since there is not much to go on without error logs, Im out of ideas. The only thing would be to diff the /lib/hp folder between both methods and see what might be missing.
For me the printer works fine with hplip main package, but I need the proprietary pkg to scan.