Introduction
In this lab, you will learn how to use the lpr
command in Linux to print text and PDF files from the command line. The lpr
command is part of the Common Unix Printing System (CUPS) and provides a way to send print jobs to a printer.
You will start by understanding the basic usage of the lpr
command, including how to specify a printer, set the number of copies, and configure various print options. Then, you will practice printing a simple text file and a PDF file using the lpr
command.