Print double-sided pages
How to print double-sided pages with a printer which doesn't explictely support that mode.
- Print only even pages in reverse order
- Take the pages from the printer and turn them 180 degrees horizontally (pages usually come out of the printer head first and they need to go into the printer head first as well)
- Print all odd pages.
Setup on Arch Linux
I use systemd-resolved
to resolve DNS queries. I disabled mDNS
support to prevent conflicts with Avahi. You can do so by setting
MulticastDNS=no
in /etc/systemd/resolved.conf.d/mydns.conf
(or in
the global resolved.conf
file).
Install Avahi, nss-mdns
, and the open source fork of cups
.
pacman -S cups cups-pdf avahi nss-mdns
Make nss-mdns
authoritative for the domain .local
by adding
mdns_minimal [NOTFOUND=return]
on the hosts:
line in
/etc/nsswitch.conf
before the resolve ...
part:
hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns
Start the services.
systemctl start cups avahi-daemon
# if you want to start and enable them permanently:
systemctl enable --now cups avahi-daemon
For a GUI to add and administrate printers:
pacman -S system-config-printer
Start the GUI, click Add. The networked printer should show up.
Check the official documentation for cups and hostname resolution with Avahi.