The Linux lp command lets you print from a terminal window. You can send print jobs manually or from within scripts, set page orientation and other preferences, and list your printer’s capabilities.