Page Setup

The Page Setup command allows you to control the layout of text on printed pages that are printed with the Print command.


Specifies the number of columns to print per sheet of paper. Each column will get its own page number. For example, if you have two columns, then each sheet of paper will get two pages of source code printed on it. This is more useful if you print in landscape mode (where the paper is wider than tall).

Borders around page

If checked, then a single line border will be drawn around the text on the page.


Click this button to open the standard system Page Setup dialog box. This dialog box allows you to set paper size, margins, and orientation (i.e. Portrait vs. Landscape). You can also change the current printer settings from this dialog box.

Title Strings group

The items in this group affect the titles printed on the cover page, the top of the page (header), and the bottom of the page (footer).

Cover, Header, Footer

These text boxes specify the formatting codes to be used for the cover page, and the header and footer on each page. See “Header and Footer Codes” for details on the format of the strings.

Include cover page

If checked, then a single cover page will be printed before all other pages. Typically, you would put your name in the Cover string text box so that someone at the printer could identify the source of your print job. If not checked, then no cover page is printed.

Header per column

If checked, then a header will be printed above each column. This only has an effect if the number of columns is set to two or more. If not checked, then a single header is printed at the top of the page.

Footer per column

If checked, then a footer will be printed below each column. This only has an effect if the number of columns is set to two or more. If not checked, then a single footer is printed at the bottom of the page.

Formatting Options

The formatting options control how syntax formatting is output to the printer. These options work independently of the screen settings, which you control in the Preferences: Syntax Formatting dialog box.

Print Syntax Formatting

If enabled, all syntax formatting effects will be printed, as well as displayed on the screen.

Print in color

If enabled, then color is used for printing. If your printer is not a color printer, then colors will be displayed in shades of gray. If you disable this option, then all text, regardless of on-screen color, is printed in full black or white. However, text that is colored near a neutral gray is printed in gray.

In this section: