Exploring the World of Linux
Linux, the renowned free operating system, offers flexibility like no other. However, for beginners, tasks like printing can be daunting. Fear not! Our guide will walk you through the process of printing on Linux, making it a breeze.
Printing Diverse Documents on Linux
For printing PostScript or text files, use the lpr command.
Input the command % lpr to print any file on the printer set as default on Linux.
To select a different printer, enter -P + printer name. Ensure no spaces between different parts of the command: % lpr -P.
1. Printing HTML Files:
- Open the page you want to print in your HTML interpreter.
- Select Print from the File menu. A new dialog box will appear on the screen.
- Click OK if you wish to print on the default printer.
- Enter the lpr command as above if you wish to select a different printer. Then click OK.
2. Printing Images:
To remove a print command from the print queue, use the lprm command.
Enter the command lpq -P to view the print queue.
Users can utilize a printer across both Windows and Mac or Linux simultaneously. For more details, refer to the guide on sharing a printer between Windows, Mac, and Linux on the same network here.
