Setting the Page Options

To set the page options, choose File ▸ Page Setup to display the Page Setup dialog.

The Page Setup dialog enables you to specify the following print options:

6.1.1 General Tabbed Section

Print syntax highlighting

Select this option to print syntax highlighting. For more information about syntax highlighting, see หัวข้อ 7.1 Syntax Highlighting.

Print page headers

Select this option to include a header on each page that you print. You cannot configure the header.

เลขบรรทัด

Select the Print line numbers option to include line numbers when you print a file.

Use the Number every ... lines spin box to specify how often to print the line numbers, for example every 5 lines, every 10 lines, and so on.

Text Wrapping

Select the Enable text wrapping option to wrap text onto the next line, at a character level, when you print a file. The application counts wrapped lines as one line for line numbering purposes.

Select the Do not split words over two lines option to wrap text onto the next line, at a word level, when you print a file.

6.1.2 Fonts

ตัวเนื้อความ

Click on this button to select the font to use to print the body text of a file.

เลขบรรทัด

Click on this button to select the font to use to print line numbers.

Headers and footers

Click on this button to select the font to use to print the headers and footers in a file.

To reset the fonts to the default fonts for printing a file from gedit, click Restore Default Fonts.