Intro courtesy of Alex Kent.
One of the first things to be done is to learn how to check the queue. It would also be good to know how to cancel the print job(s).
The printer should function with essentially three commands from the user
point-of-view. These commands are lpr, lpq and
lprm.
lpr sends files to the print queue. It accepts both command line
file names and stdin as items to print. The command line should look
something like: lpr [options ...] [files ...]
If no files are given, then stdin is read as input. The options must
all start with a '-' and must be individual. A -hd is not allowed
for example, with the h and d being different options, they must be -h
-d.
Options that are relevant to printers here are as follows: