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. 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 media player 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. It only affects the preview. At low magnification, the preview may not be very accurate. Colored backgrounds may have small gaps and edges of characters may be clipped. That is because the printout is based on the printer resolution. Printer resolution is generally many times higher than the screen resolution. If you zoom out the screen doesn’t have enough resolution to accurately show the preview. The actual printout will be pixel perfect regardless.
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. The difference is 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 then you should 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 if you do not want to waste expensive color ink cartridges, tick “print in black and white” to print everything as black text without any background colors. Bold, italic, underline, and strikeout styles selected in the color palette will remain. Underline and strikeout colors will be blank.
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 if 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.
You can click the Color Palette button to select a different set of colors. You should select a palette that uses a white background. If you print on colored paper then you should still select a white background in EditPad. EditPad cannot determine the color of your paper. White is assumed. If the print preview shows a colored or even a black background then the actual printout will also have the same colored or black background. This can waste large amounts of ink. If you click the Print button and the background isn’t white then EditPad will warn you about this (if you didn’t previously tell EditPad not to warn about ink usage again).
The Color Palette button shows the same color selection dialog 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.
If EditPad has not remembered a printing palette for the palette you are presently using for editing (because you’ve never printed since editing with this palette) then the print preview defaults to the companion printing palette of the palette you're editing with. All predefined color palettes have companion printing palettes that result in a similar style of syntax coloring but with a white background and black as the plain text color. If you create custom palettes that you want to share with others then you should also create companion printing palettes.
Click the “Print” button to start printing. If you’ve printed all pages then this also closes the print preview.
Click the “Close” button or press Escape on the keyboard to close the print preview. If you close without printing then EditPad does not remember your text layout or color palette choices.
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