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.

列印頁面標頭

選取這個選項,會在列印的每一頁上面 加上標頭。您無法配置標頭。

行號

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. 字型

內文

按一下這個按鈕,可以選取列印檔案內容文字時,所要使用的字型。

行號

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.