Printing with gedit requires that you have connected and configured your printer. If you have not done this, please consult the printing help for GNOME.
gedit allows you to print both to a file and to paper.
Prior to printing your document, you can preview how the printed document will look by using Print Preview. To preview the document:
Select File ▸ Print Preview. Alternatively, you can press Shift+Ctrl+P.
A preview of your document will open in the same tab as the file. You can browse this preview with help of navigation buttons and tools in the toolbar at the top of the document preview tab. To close and return to the document click Close Preview.
Printing To Paper
You can print your documents to paper using a local or remote printer. To print a file:
Select File ▸ Print ▸ General.
Select the desired printer from the list of printers available.
You can preview the file using Print Preview and once you are satisfied with the settings, click Print to send the file to printer.
Additionally, from Page Setup tab: you can choose Layout and Paper options. As these settings are available throughout GNOME programs, please consult Layout and Paper options help.
Print Multiple Copies And Between Specified Ranges
You can set Range and Copies options to help you:
Printing To File
You can also use gedit to print to a file. To print your document to file of a different format:
Select File ▸ Print ▸ Print to File.
Printing is enabled for the following file formats, you may select from:
Portable Document Format (.pdf)
Scalable Vector Graphic (.svg)
To print the document to file, click Print.