Skip to content

Printer for Everyone

You'll hang a plain USB printer off the lab box and make it show up on every phone and laptop in the house without installing a driver on any of them.

About

A ten-year-old USB printer works fine, it just doesn't do Wi-Fi. A Pi or any always-on box running CUPS turns it into a network printer, and with Avahi it announces itself so phones find it as AirPrint and laptops find it without a disc. This is the first job in a lab that someone else in the house will notice and use. The common trap is the driver, so check the printer's model on the OpenPrinting database before you start, because a few cheap printers are host-based and only speak to Windows. If yours is one of them, borrow a different printer for the badge.

At a glance

Per requirement
15 XP
Completion bonus
75 XP
Requirements
5
Takes
One evening, then two weeks
Skill level
Beginner (done it a few times)
Cost
Free
Supplies
You need some
Where
At home
Other people
With other people

Requirements

  1. 1
    Check the printer against the OpenPrinting database and plug it into the box. Look up the exact model and note whether it's listed as working. Then plug it in and run lsusb. Take a screenshot of the database entry with the printer showing in the USB list. Photo
  2. 2
    Install CUPS, add the printer in the web interface, and print a test page. The interface lives on port 631. Add the printer, pick the driver the database pointed you to, and send the test page. Take a photo of the page coming out of the printer. Photo
  3. 3
    Share it so a phone finds it on its own. Turn on sharing in CUPS and make sure Avahi is running, and the printer shows up as AirPrint on an iPhone and in Android's default print service. Film a phone finding the printer and printing one page. Video
  4. 4
    Print from a laptop that has never had this printer's driver on it. Open the add-printer dialog and it should already be in the list as a driverless printer. Take a screenshot of the dialog with the printer found, next to the printed page. Photo
  5. 5
    Put it where it lives, tell the house, and count the pages that weren't yours after two weeks. Printer on a shelf next to the box, paper stocked, and a note with its name. CUPS keeps a list of completed jobs with the user on each one. Take a screenshot of the jobs list with at least three jobs from other people. Photo