Sub topic 11
Drivers, PCL and PostScript, and Installing a Printer
This chapter assumes you can move around Windows Settings and Control Panel, know what an IP address is, and recognize USB and Ethernet connectors. You should also know the basic connection types from the previous chapters. Here you will learn what a printer driver does, how page description languages (PDLs) differ, and how to install a printer and check that the install worked.
What a Printer Driver Does
A printer driver is software that translates what an application wants to print into instructions the printer understands. An application such as a word processor does not know how a specific printer works. It hands the page to the operating system, and the driver converts that page into the printer's language.
A driver usually handles these jobs:
- It exposes the printer's features, such as duplexing, paper trays, color mode and resolution, in the Printing Preferences dialog.
- It converts the page into a PDL or a bitmap the printer can accept.
- It reports status back to the computer, such as low toner or a paper jam, when the printer supports two-way communication.
Without the correct driver, a printer may not work at all. It may also work with limited features, or print garbled text.
Page Description Languages: PCL and PostScript
A page description language (PDL) is a language that describes how a page should look: where text, lines and images go. The printer's own processor, called the raster image processor (RIP) or formatter, turns that description into dots to print.
The A+ exam focuses on two PDLs.
| Feature | PCL | PostScript |
|---|---|---|
| Full name | Printer Command Language | PostScript |
| Created by | Hewlett-Packard | Adobe |
| Typical strength | Fast, efficient, good for office documents | Precise color and layout, preferred in graphics and publishing |
| Device independence | Less strict | Output looks the same on any PostScript device |
| Processing load | Lighter, so less printer memory is needed | Heavier, so more printer memory and processing power are needed |
| Common use | General office printing | Print shops, design work, Mac and Unix-like systems |
Many printers support both. If a printer prints strange symbols or pages of random characters, the driver may be sending one language while the printer expects the other. The fix is to install the correct driver or select the matching PDL.
A third approach is the host-based (GDI) printer, sometimes called a "Windows-only" printer. The computer does the page rendering and sends a ready-made bitmap. The printer needs less memory, but it depends on the computer's driver.
Where Drivers Come From
You can get a driver from several places. The first two are the most common in practice.
- Windows built-in and Windows Update. Windows includes many class drivers and can download a matching driver when you add a printer. Generic drivers, such as Generic / Text Only, let you print basic text.
- The manufacturer's website. This is the preferred source for the full feature set. Download the driver for your exact model and your operating system version.
- The disc or installer that came with the printer. These are often outdated, and they may install extra software you do not need.
- A print server. Computers connecting to a shared printer can download the driver from the server automatically.
Match the driver to the operating system and its architecture. A 64-bit Windows computer needs a 64-bit driver. A 32-bit driver will not install there.
Installing a Printer: A Worked Procedure
The order matters for some printers, so check the manufacturer's instructions first. Many USB printers want the driver installed before you connect the cable. Network printers need an IP address first.
Step 1: See what is already installed
The following command lists installed printers, their drivers, ports and status.
Get-Printer | Select-Object Name, DriverName, PortName, PrinterStatusStep 2: Create a port and add the printer
A port tells Windows where to send the job. For a network printer, a Standard TCP/IP port points at the printer's IP address. This example uses the built-in Generic / Text Only driver in place of a vendor driver. In real use, install the manufacturer's driver and use its exact name.
Add-PrinterPort -Name "IP_192.168.1.50" -PrinterHostAddress "192.168.1.50"
Add-Printer -Name "Office Printer" -DriverName "Generic / Text Only" -PortName "IP_192.168.1.50"In the graphical interface, the same work happens in Settings under Bluetooth & devices, then Printers & scanners, then Add device. If the printer is not found, choose "Add manually" and then "Add a printer using an IP address or hostname." Windows can also scan for a printer by its hostname.
Step 3: Confirm the network path
If the new printer does not respond, first check whether the computer can reach the printer. Raw printing usually uses TCP port 9100.
Test-NetConnection -ComputerName 192.168.1.50 -Port 9100If TcpTestSucceeded is True, the network path works, and any remaining problem is likely the driver or the queue. If it is False, check the IP address, cabling or Wi-Fi, and any firewall.
Step 4: Print a test page and set defaults
Open the printer's properties and choose Print Test Page. Then open Printing Preferences and set defaults such as paper size, duplex, and color or grayscale. Setting defaults saves users from changing them on every job. If the test page prints correctly, the install is done.
Installing on Linux and macOS
Linux and macOS use CUPS (Common UNIX Printing System). CUPS uses PPD files (PostScript Printer Description files) to describe each printer's features. Many modern printers support driverless printing through IPP Everywhere or AirPrint, so no vendor driver is needed.
These commands show the printers CUPS knows about, the default printer, and then cancel all pending jobs.
lpstat -p -d
cancel -aCommon Installation Problems
| Symptom | Likely cause | Fix |
|---|---|---|
| Printer not found during setup | Wrong subnet, Wi-Fi off, or printer asleep | Check the printer's IP address and network, then add it by IP |
| Garbled text or pages of symbols | Wrong driver or PDL mismatch | Install the driver for the exact model, or switch between PCL and PostScript |
| Missing options such as duplex | Generic driver in use | Install the manufacturer's driver and enable the duplexer in printer properties |
| Driver will not install | Wrong architecture or OS version | Download the 64-bit or matching driver |
| Test page prints but apps do not | Wrong default printer | Set the correct printer as the default |
| Printing works for some users only | Permissions or sharing settings | Check the share and security tabs on the print server |
Exam Points to Remember
- A driver translates print jobs into a language the printer understands.
- PCL is the faster, lighter, office-oriented language from HP. PostScript is the Adobe language favored for graphics and consistent output.
- Garbled output usually means the wrong driver or the wrong PDL.
- Install the driver for the correct operating system and 32-bit or 64-bit version.
- Use a standard TCP/IP port for a network printer and test port 9100 to confirm reachability.
- Print a test page to verify any new install.
Exercise
A technician installs a new office laser printer by IP address. The test page prints pages of random symbols. The printer supports both PCL and PostScript, and the technician installed a PostScript driver. What are two likely fixes?
Show answer
The printer is probably set to receive PCL while the driver sends PostScript. Either change the printer's language setting to PostScript (or automatic), or install the PCL driver for that model so the driver and printer match. Installing the manufacturer's driver for the exact model is also a sound step.
Exercise
Windows cannot print to a newly added network printer. Which command checks whether the computer can reach the printer's raw printing port, and what does a result of TcpTestSucceeded False tell you?
Show answer
Run Test-NetConnection -ComputerName 192.168.1.50 -Port 9100 (using the printer's real IP address). A False result means the network path is the problem, such as a wrong IP address, a cable or Wi-Fi fault, or a firewall. It is not yet a driver or queue problem.