Printing a Document
You can use gedit to perform the following print operations:
- Print a document to a printer.
- Print the output of the print command to a file.
If you print to a file, gedit sends the output of the file to a pre-press format file. The most common pre-press formats are PostScript and Portable Document Format (PDF).
To preview the pages that you want to print, choose
.To print the current file to a printer or a file, choose Print dialog.
to display theThe Print dialog enables you to specify the following print options:
- 6.2.1. Job Tabbed Section
- 6.2.2. Printer Tabbed Section
- 6.2.3. Paper Tabbed Section
6.2.1. Job Tabbed Section
- Print range
-
Select one of the following options to determine how many pages to print:
-
All
Select this option to print all of the pages in the file.
-
Lines
Select this option to print the specified lines only. Use the From and To spin boxes to specify the line range.
-
Selection
Select this option to print the selected text only. This option is only available if you select text.
-
- Copies
-
Use the Number of copies spin box to specify the number of copies of the file that you want to print.
If you print multiple copies of the file, select the Collate option to collate the printed copies.
6.2.2. Printer Tabbed Section
- Printer
-
Use this drop-down list to select the printer to which you want to print the file.
- Settings
-
Use this drop-down list to select the printer settings.
To configure the printer, click
. For example, you can enable or disable duplex printing, or schedule delayed printing, if this functionality is supported by the printer. - Location
-
Use this drop-down list to select one of the following print destinations:
- CUPS
-
Print the file to a CUPS printer.
If the selected printer is a CUPS printer, CUPS is the only entry in this drop-down list.
- lpr
-
Print the file to a printer.
- File
-
Print the file to a PostScript file.
Click
to display a dialog where you specify the name and location of the PostScript file. - Custom
-
Use the specified command to print the file.
Type the name of the command in the text box. Include all command-line arguments.
- State
-
This functionality is not supported in this version of gedit.
- Type
-
This functionality is not supported in this version of gedit.
- Comment
-
This functionality is not supported in this version of gedit.
6.2.3. Paper Tabbed Section
- Paper size
-
Use this drop-down list to select the size of the paper to which you want to print the file.
- Width
-
Use this spin box to specify the width of the paper. Use the adjacent drop-down list to change the measurement unit.
- Height
-
Use this spin box to specify the height of the paper.
- Feed orientation
-
Use this drop-down list to select the orientation of the paper in the printer.
- Page orientation
-
Use this drop-down list to select the page orientation.
- Layout
-
Use this drop-down list to select the page layout. A preview of each layout that you select is displayed in the Preview area.
- Paper tray
-
Use this drop-down list to select the paper tray.