Printing a file

Print preview could be taken by selecting File->Print Preview. It will render the current file and present a preview of the print. Source codes which are hilighted in the editor are also highlighted similarly in the print (or preview). Addtional options are available to print with the line numbers, wrapped lines and/or headers in the print preferences from File->Page Setup.

Figure 11. Print preview of a C file

In the page setup (or print preferences), print margins, landscaped or portrait page layout and paper type could also be set. Remember to set them up properly according to your printer, otherwise printing may not come up properly.

Figure 12. Print Preferences

When you are ready to print and satisfied with the preview, select File->Print or Print from the print preview window. This will bring up the actual print dialog as shown below. Select the appropriate print parameters and print the file with Print on it.

Figure 13. Print Dialog