Contents
In Linux, different commands are used to print a file or output. Printing from a Linux terminal is a straightforward process. The lp and lpr commands are used to print from the terminal. And, the lpg command is used to display queued print jobs.
How do I print something in Linux?
How to Print from a Linux
- Open the page you want to print within your html interpreter program.
- Select Print from the File dropdown menu. A dialogue box will open.
- Click OK if you wish to print to the default printer.
- Enter the lpr command as above if you wish to select a different printer. Then click OK [source: Penn Engineering].
29 июн. 2011 г.
Which command is used to print in Linux?
The lp command is used to print files on Unix and Linux systems. The name “lp” stands for “line printer”. As with most Unix commands there are a fairly large number of options available to enable flexible printing capabilities.