Printing with CUPS (Common UNIX Printing System)
CUPS supports the use of both the System V (lp) and Berkeley (lpr) printing commands.
1. To print to a specific printer in System V, type lp -dprinter filename, then press Enter.
2. To print to a specific printer in Berkeley, type lpr -Pprinter filename, then press Enter.