Select File|Print in the menu to print the active file. A preview of the printout is shown first.
The margins can be changed by moving the mouse over one of the dotted blue margin lines. The mouse pointer will change to indicate that you can move the margin, and a hint box will indicate the size of the margin in centimeters and inches. Click on the line, hold the mouse button down and drag the line until it indicates the desired margin position.
Long lines are wrapped at the right hand margin if while editing the file you have word wrap turned off or set to wrap at the window border. If you have word wrap set to limit lines to a certain number of characters then the printout also wraps lines at that number of characters. If the space between the margins is insufficient for lines with that number of characters then lines that are too long are clipped at the right hand margin. You can change word wrapping using the Options|Word Wrap menu item before selecting File|Print.
With the blue arrow buttons at the top, you can browse through the pages that will be printed. You can also press the Page Up and Page Down keys on the keyboard.
The magnifying glass buttons zoom the preview in and out. You can also press the plus and minus keys on the numeric keypad on your keyboard. Zooming does not affect the printout, only the preview.
If you want to print with a different font or different text spacing, click the Font & Layout button. This button shows the same text layout configuration screen as the Options|Text Layout menu item, except that it shows the text layouts you have configured for printing rather than the ones you've configured for editing. Another difference is that if you turn on the "allow bitmapped fonts" checkbox, the font list will include printer fonts rather than screen fonts in addition to the TrueType and OpenType fonts that work everywhere. A "printer font" is a font built into your printer's hardware. If you select a printer font, set "text layout and direction" to "left to right only" for best results.
Because EditPad keeps separate text layout configurations for printing and editing, any changes you make to text layouts via the print preview only affect the printout. EditPad remembers the layout you used for printing in combination with the layout you used for editing. If you edit a file with a text layout you've called "edit monospaced" and you print it with a text layout you've called "print monospaced", then the next time you print a file you're editing with the "edit monospaced" layout, the print preview will automatically select the "print monospaced" layout.
Press the Setup button to access your printer's setup screen or to select a different printer than the default printer.
"From page" and "to page" determine the range of pages that will be printed. The value of "from page" must be smaller than or equal to that of "to page", even if you want to print in reversed order (see below). "Copies" is the number of copies that should be printed of each page.
Activating "All pages" will print all pages in the range specified by "from page" and "to page", while "odd pages" will print only the odd-numbered (1, 3, 5, ...) pages in the range, and "even pages" only the even-numbered (2, 4, 6, ...) ones. If the page range is only one page ("from page" equals "to page") and that page is odd-numbered while "even pages" is activated, or the other way around, nothing will happen when you click the Print button. You will not get an error message.
If you mark "Reversed", the pages will be printed from last to first instead of from first to last. This can be useful if you have an inkjet printer that puts pages in reversed order in the out tray.
If you opened the print preview with File|Print, you can mark the "selection only" box to print only those lines that are selected in EditPad. The "selection only" checkbox works at the level of a single line. If a line is partially selected, it will be printed. If you only want to print exactly what you selected, select Block|Print in the menu instead.
If you have a monochrome printer or you do not want to waste expensive color ink cartridges, turn off "print in color" to print black text without any background colors. If you turn on "print in colors", the printout is in full color. Be careful if you have selected the white on black color palette. You'll see white on black in the print preview, and the printout will use loads of black ink to make the whole page black.
When printing only the selection, syntax coloring may be applied differently when you use Block|Print to print the exact selection rather than using File|Print and turning on "selection only" to print the selected lines. With Block|Print, the syntax coloring will color the block as it were the whole file, while File|Print applies syntax coloring to the whole file, even with "selection only" turned on.
Turn "print line numbers" on or off to print the file with or without line numbers, regardless of whether you've used Options|Line Numbers to edit the file with line numbers. The print preview remembers this checkbox separately for each file type.
In EditPad Pro, you can use the "visualize spaces" and "visualize line breaks" checkboxes to make spaces and line breaks visible in the printout or not, overriding the Options|Visualize Spaces and Options|Visualize Line Breaks menu items. These checkboxes are also remembered separately for each file type.
If you used the Fold|Fold command to hide certain lines, then you can turn on the "hide folded lines" option to exclude those lines from the printout. The printout will not indicate folding ranges with "plus" or "minus" buttons.
If you have "print in color" turned on, you can click the Color Palette button to select a different set of colors. You should select a palette that uses a white background. Otherwise, EditPad will use loads of ink to give the printout a colored background. If you print on colored paper, you should still select a white background in EditPad. EditPad cannot determine the color of your paper. White is assumed. The Color Palette button shows the same color selection screen as the corresponding button in the file type configuration. If you edit any palettes, those changes also affect the palettes used for editing. If you want to use different palettes for editing and for printing, create new palettes for printing instead of editing existing ones. EditPad remembers the palette used for printing in combination with the palette used for editing. E.g. if you edit a file with the "Borland classic" palette (which uses a blue background) and then select the "Embarcadero" palette for printing it without the blue background, then the print preview automatically defaults to the Embarcadero palette next time you print a file that you're editing with the Borland palette.
Click the "Print" button to start printing. Then click the "Close" button or press Escape on the keyboard to close the print preview.
Click the "Headers & Footers" button in the Print Preview window to change the headers and footers to be printed, if any.
The headers and footers are printed inside the margins specified on the print preview. If no headers or footers are specified, their space will be claimed by the text body.
A few special placeholders are available in the headers and footers:
%P Page number of the current page
%N Total number of pages
%D Current date, printed using the short date format specified in the regional settings of the Control Panel
%T Current time, printed using the short time format specified in the regional settings of the Control Panel
%FD Date the file was last modified, again printed in short date format.
%FT Time of the day the file was last modified, again printed in short time format.
%FP Full path to the file being printed: folder + filename
%FN Filename (without folder name) of the file being printed