Sub topic 13
Sharing and Securing Printers and MFDs
This chapter assumes you can install a printer on Windows, you know what an IP address and a port are, and you have read the earlier chapters on network printing and the print spooler. It covers how one printer serves many users, and how to stop the printer or multifunction device (MFD) from becoming a weak point on your network.
Why Sharing Matters
A printer can serve more than one person in two ways:
- Direct network printing: Every computer adds the printer's own IP address as a port, as you saw in the network printing chapter. Each computer holds its own driver and its own queue.
- Shared printing through a host: One computer or server is connected to the printer. It shares the printer, and other computers connect to the share. All jobs pass through the host's spooler.
Sharing through a host gives you one place to manage drivers, queues and permissions. The cost is that the host must be on whenever anyone prints, and it becomes a single point of failure.
Sharing a Printer in Windows
On the host computer, you share a printer from its Printer properties, on the Sharing tab. You can also share it in PowerShell. The host needs File and Printer Sharing turned on in its network settings and firewall. Windows uses the Server Message Block (SMB) protocol on TCP port 445 for this.
Three settings matter on the Sharing tab:
- Share name: The name clients see. Keep it short and without spaces, such as
OfficePrinter. Clients connect with the path\\HOSTNAME\OfficePrinter. - Render print jobs on client computers: The client converts the document into printer-ready data. This puts less load on the host. It is on by default.
- Additional Drivers: Lets you store drivers for other architectures, such as x86 next to x64. Clients can then download the right driver automatically when they connect.
The following PowerShell shares an existing printer and then connects a client to it. Run the first command on the host with administrator rights. Run the second on a client. The printer name, host name and share name are examples.
Set-Printer -Name "Office Printer" -Shared $true -ShareName "OfficePrinter"
Get-Printer -Name "Office Printer" | Select-Object Name, Shared, ShareName
# On a client computer:
Add-Printer -ConnectionName "\\PRINTHOST\OfficePrinter"Share Permissions
Each shared printer has an access list. Windows defines three permissions:
| Permission | What the user can do |
|---|---|
| Send documents and manage their own jobs | |
| Manage this printer | Change settings, sharing and permissions, and pause the printer |
| Manage documents | Pause, resume, restart and cancel any user's jobs |
By default, the group Everyone gets Print. Administrators get all three. For a department printer, remove Everyone and give Print to a department group only. Give Manage documents to a help desk group so they can clear stuck jobs without full control of the printer.
Other Ways to Share
- CUPS on Linux and macOS: The Common UNIX Printing System shares printers using the Internet Printing Protocol (IPP) on TCP port 631. A Windows client can also use an IPP printer through its URL, such as
http://host:631/printers/OfficePrinter. - AirPrint and Mopria: These are driverless standards. Phones and tablets find compatible printers on the local network and print without installing a driver. Apple devices use AirPrint. Android devices use Mopria. Both rely on the printer advertising itself on the local network, so the device and printer must be on the same subnet, or the network must forward discovery traffic.
- Wi-Fi Direct: The printer creates its own wireless link to a device, with no router in between. It is handy for guests, but the device is then not on the main network, so it cannot reach other resources at the same time.
- Bluetooth: Short-range pairing for one device at a time. It gives a quick link to a nearby printer but is not a way to serve a whole office.
- Cloud and email printing: Many vendors give each printer an email address or a cloud account. Users send a document to that address, and the printer fetches the job over the internet. Google Cloud Print used to fill this role but was shut down in 2020, so rely on vendor services or IPP instead.
Securing the Printer and the MFD
An MFD is a small computer. It runs an operating system, has a web interface, stores data on a drive, and connects to the network and sometimes a phone line. Treat it like any other device that needs hardening.
Control Who Can Use It
- User authentication: Require a username and password, a PIN or a badge before the device prints, copies or scans. This also lets you track usage and set quotas.
- Secure print (also called pull or held printing): The job waits in a queue on the printer or server until the owner arrives and enters a PIN or taps a badge. This keeps confidential pages from sitting in the output tray.
- Access control for functions: Restrict who can use color, fax, or scan-to-email, as needed.
Protect the Management Interface
- Change the default administrator password on every new device. Default credentials are published in vendor manuals.
- Use HTTPS (TCP 443) for the web interface, and turn off plain HTTP when you can.
- Disable services you do not use, such as Telnet, FTP, and old SNMP versions. If you need SNMP, use version 3 or change the default
publiccommunity string. - Keep firmware up to date. Printer vendors release patches for security flaws, and many offices forget to apply them.
Protect Data
- Drive encryption and overwrite: MFDs store scanned images, fax pages and queued jobs on an internal drive. Turn on encryption and the vendor's image overwrite feature. Wipe or destroy the drive before the device is returned, sold or recycled.
- Encrypted transport: Use IPP over TLS (IPPS) or an encrypted VPN for jobs that cross untrusted networks. Raw printing on TCP 9100 is not encrypted.
- Scan destinations: Limit scan-to-email and scan-to-folder to approved servers and use accounts with the least access that works. A shared scan account with write access to many folders is a common mistake.
- Audit logs: Keep job logs so you can see who printed or scanned what, and when.
Protect the Network and the Host
- Segmentation: Put printers on their own VLAN. Allow only print servers and the users who need them to reach it, and block the printer from reaching the internet unless a cloud feature needs it.
- Wireless security: Use WPA2 or WPA3 on any Wi-Fi network the printer joins. Turn off Wi-Fi Direct and Bluetooth if nobody uses them.
- Host spooler: The Windows Print Spooler runs with high privileges, and flaws such as PrintNightmare (2021) allowed attackers to take over systems. Apply Windows updates. On servers that do not need to print, such as domain controllers, disable the Print Spooler service.
- Physical security: Place MFDs where passers-by cannot take printouts or plug a USB drive into a front port. Disable the USB walk-up ports if you do not need them.
- Fax line: An MFD with a phone line is connected to a second network. Make sure fax is configured so it cannot be used to reach the internal LAN.
Common Errors
| Symptom | Likely cause |
|---|---|
| Client cannot find the shared printer | Host is off, File and Printer Sharing is disabled, or TCP 445 is blocked |
| "Access denied" when connecting | The user has no **Print** permission on the share |
| Driver error when adding the shared printer | The host has no matching driver for the client's architecture |
| Phone cannot see the printer | Device and printer are on different subnets, or discovery traffic is blocked |
| Confidential pages left in the tray | Secure print is not enabled |
Exercise
A department's shared printer on a Windows host works for most users. One new employee gets "Access denied" when adding \\PRINTHOST\OfficePrinter, though the host responds to ping. Name the most likely cause and the fix.
Show answer
The employee's account is not in a group that has the Print permission on the share, since the share's access list no longer includes Everyone. Add the user to the department group that has Print permission (or grant Print to the user) and retry.
Exercise
Your company is retiring an MFD that scans signed contracts. Which two steps best protect the stored data before it leaves the building?
Show answer
Use the vendor's overwrite or secure erase feature, or physically destroy the internal drive. If the drive was encrypted, also remove or reset the encryption key. Resetting to factory defaults alone may not remove stored images.