Linux Commands Helper

💬 Your AI-powered Linux assistant

lpr Command - Print Files

The lpr command is used to submit files for printing. It sends files to the print queue for processing by the print system.

Syntax

lpr [options] [file...]

Examples

lpr document.txt

Print the file document.txt using the default printer.

lpr -P printer1 file.pdf

Print file.pdf on the printer named printer1.

lpr -# 3 file.txt

Print three copies of file.txt.

Notes

  • lpr is part of the CUPS or LPRng printing systems on most Linux distributions.
  • Use lprm to remove jobs from the print queue.
  • Use lp as an alternative command for printing files.

© 2025 Linux Commands Helper. All rights reserved.

This project is under construction. Feedback and contributions are welcome.

Fazier badgeFeatured on Startup Fame