Skip to content

Instantly share code, notes, and snippets.

@yucellmustafa
Last active August 20, 2023 19:42
Show Gist options
  • Save yucellmustafa/5d02f9b62ce2b590ba208740448bf74e to your computer and use it in GitHub Desktop.
Save yucellmustafa/5d02f9b62ce2b590ba208740448bf74e to your computer and use it in GitHub Desktop.
install hp laserjet 1018 driver for fedora linux
# printer (hp laserjet 1018)
sudo dnf install foo2zjs -y
git clone https://github.com/koenkooi/foo2zjs
cd foo2zjs && make && sudo make install && sudo make install-hotplug
sudo cp /usr/share/foo2zjs/firmware/sihp1018.dl /lib/firmware/
sudo sed -i 's/usr\/share\/foo2zjs/lib/' /etc/hotplug/usb/hplj1000
cd .. && sudo rm -rf foo2zjs
sudo systemctl enable --now cups
# http://localhost:631/admin << add print
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment