The lpr Command
The first thing to know is the lpr command. The basic syntax to print any file on any printing resource is
spot> lpr -P resource-name file-name
where resource-name is the name of the printing resource (ie, printer) and file-name is the name of the file to be printed. Unix print jobs are "spooled," which means the file specified by the lpr command is copied into a "spooling directory," where it is actually printed.
Learn more about Printing
spot> man printing