diff --git a/content/posts/_index.md b/content/posts/_index.md new file mode 100644 index 0000000..a25722e --- /dev/null +++ b/content/posts/_index.md @@ -0,0 +1,8 @@ +--- +menu: + after: + name: blog + weight: 5 +title: Blog +--- + diff --git a/content/posts/hp_printing.md b/content/posts/hp_printing.md new file mode 100644 index 0000000..0db5b63 --- /dev/null +++ b/content/posts/hp_printing.md @@ -0,0 +1,30 @@ +--- +title: "Setup printing in Arch for HP Printers (USB)" +date: 2023-09-02T20:54:52+05:30 +# bookComments: false +# bookSearchExclude: false +--- +Learn how to setup printing services on Arch Linux for HP based printers connected via USB + + +1. Connect your printer +2. Installing CUPS and other required stuff +```bash +$ pacman -S cups +$ systemctl enable cups +$ systemctl start cups +$ pacman -S hplip +$ hp-setup -i +``` + +Follow steps and download plugin, note the version number it download (hp-setup fails to download this anyways) +Then download the specified version plugin from [here](https://developers.hp.com/hp-linux-imaging-and-printing/plugins). + +Re-run the following: +```bash +hp-setup -i + +``` + +And this time specify the path to file instead of downloading, everything will work fine assuming you have `foomatic-db`, `foomatic-db-engine`, `foomatic-db-nonfree`, `foomatic-db-nonfree-ppds` packages are installed. +