Skip to content

Commit

Permalink
Add a blog section
Browse files Browse the repository at this point in the history
  • Loading branch information
s4dr0t1 committed Sep 2, 2023
1 parent 4aab184 commit 8c8213a
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
8 changes: 8 additions & 0 deletions content/posts/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
menu:
after:
name: blog
weight: 5
title: Blog
---

30 changes: 30 additions & 0 deletions content/posts/hp_printing.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 8c8213a

Please sign in to comment.