Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print/index.md: Added troubleshooting steps for wireless printers #574

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions src/config/print/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,38 @@ The device URI can be found manually by running:
```
# /usr/lib/cups/backend/usb
```

### Wireless printer detected but unable to print

Even if CUPS can detect networked printers with:

```
# lpinfo -v
```

you may still end up with an "Unable to locate printer" error when trying to
print. The solution is to enable Avahi's .local hostname resolution.

Avahi provides local hostname resolution using a `hostname.local` naming scheme.
To enable it, install `nss-mdns` and start (or restart) `avahi-daemon`. For more
information on how to resolve host names that don't end in .local click
[here](https://github.com/lathiat/nss-mdns/blob/master/README.md#libraries).

Then, edit the file:

```
# /etc/nsswitch.conf
```

and change the `hosts` line to:

```
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
```

Alternatively, when manually adding a printer with the CUPS web interface,
specify the printers IP address and printer port number. For example:

```
ipps://<printer_IP_address>:<port>/
```