Module 14 · The Board Everything Plugs Into

How does the computer know how to talk to a printer it’s never seen?

Lesson 14.3 · Little Translators

Rob · Jenny

The printer is gone. Its app is still here.

Rob remembers the printer helper app from Module 8, the one for a printer Grandma Ruth doesn’t even own anymore.

Why does a printer need an app at all?

Jenny says every device speaks its own little language, and the operating system needs a translator for each one.

The helper app came bundled with the translator, and never left.

The short answer

Through a driver: a translator that turns the operating system’s general commands into that printer’s exact language. Grandma Ruth’s old printer driver came with a helper app that kept running for years after the printer was gone. Part V gets rid of it for good.

Try it yourself

Step through what happens when Grandma Ruth hits Print.

App → OS: print this page

Grandma Ruth clicks Print on a recipe. The app hands the page to the operating system in a general form: text here, picture there.

Step 1 of 4

What you just did has a name

A driver

A driver is a small piece of software that lets the operating system talk to one specific piece of hardware: a printer, a graphics card, a Wi-Fi chip, a mouse.

The operating system speaks a general language, and the driver translates it into the exact commands that device understands.

Missing or outdated drivers are behind a lot of “it won’t work” problems.

A few more things

Many come built in

Windows, macOS and Linux include drivers for thousands of common devices, which is why most things work the moment you plug them in.

Some come with extras

Printer and graphics drivers often come bundled with helper apps that start themselves and stick around. That’s where Grandma Ruth’s zombie printer app came from.

Updating helps

Graphics card makers update drivers often to fix bugs and speed up new games. A game running badly is sometimes fixed by a driver update.

Go deeper

The longer version, if you want it.

Why bad drivers crash computers

Drivers run with deep access to the system, because they talk directly to hardware. That means a buggy driver can do more damage than a buggy app: freezing the whole computer or causing a crash screen instead of just closing one window.

Operating system makers test and sign drivers to reduce this, and newer systems keep more drivers in safer, walled-off areas. But when a computer crashes for no obvious reason, a driver is one of the usual suspects.

Quick check

You plug in a new webcam, and no app can find it. What’s the most likely missing piece?

Let’s take it slower

Imagine you’re hosting exchange students from five countries and you only speak English. For each student, you hire a translator. You say “dinner is at six” once, and each translator tells their student in their own language. The translators are drivers. You’re the operating system. The students are devices.

More examples

1

A new game controller

Plug it in and the operating system loads a controller driver, so every game can read its buttons the same way.

2

The graphics card update

Mark’s GPU maker releases a new driver and his game suddenly runs smoother. The hardware didn’t change. The translator got better.

Back to the question

So how does the computer talk to a printer it’s never seen?

Show the answer

Through a driver: a translator that turns the operating system’s general commands into that printer’s exact language. Grandma Ruth’s old printer driver came with a helper app that kept running for years after the printer was gone. Part V gets rid of it for good.

One last question

Grandma Ruth asks what a driver is. Who got it right?

Talk Card

Talk Card · 14.3

When a new gadget won’t work, the computer may just be missing its translator. That’s a driver, and updating it fixes a lot.

How Computers Work · pettigrewlab.com/learn

Next lesson