Help contents
Print code or export as PDF
Print your Visual Basic source code. Project Analyzer produces syntax-colored print-outs. Browse to the code you wish to print and press Ctrl+P. You can also select Print in the File menu, or right-click the code you wish to print and select Print in the popup menu.
Alternatively, export source code as a PDF file. This produces similar output, which you can then print or store as project documentation. You can find Export code as PDF in the File menu.
Print and PDF export features
- Syntax highlighted, color coded source print-outs or PDF documents
- Lines joining the start and end statement of conditional blocks and loops
- Monochrome mode with modest or no highlighting
- Clever, readable print-outs in narrow columns
- Automatic unindent and squeeze fits more code horizontally
- Syntax-aware word wrapping optimized for VB code
- Page headers
- Orphan line control
- Procedure and module separator lines
- Save paper by printing 200–250 code lines per page
Options
Available print ranges:
- Print several files: prints one or more files
- Print file: prints the current file
- Print view: prints the procedure or module currently being viewed
- Print selected code: prints the currently selected lines
- Line numbering
- Print line numbers.
- Highlight syntax
- Use syntax highlighting the same way it appears in the Hypertext view.
- To set the colors for syntax highlighting, open Hypertext options in the Options menu.
- Bracket structures
- Join the start and end statement of block structures with a bracket ([). Brackets work with conditional blocks and loops such as
If..Else..End If
and Do..Loop
.
- Monochrome
- If you have a monochrome printer or if you prefer black & white output, select the Monochrome option.
- If the Highlight syntax option is selected, monochrome mode will use some syntax highlighting, even if it's not in color.
- Columns
- Print in one column (default) or 2–4 columns to save paper. Printing in multiple columns always prints in landscape mode. For 3 or 4 columns, it's best to use a very small font (or large paper) and disable line numbering.
- Font
- Specify font for printing the code. This can be different from what you use in the hypertext window. The optimal font for the screen is not necessarily the same as for the paper. You can also use a proportional font.
Samples
Check out the below samples to see how the output looks.
Color pdf
Monochrome pdf
Note: The links are to online documents and open in a new window.
Printing tips
Monochrome mode can produce sharper text, depending on your printer. Try a proportional font instead of a fixed font to print in multiple columns. With Arial 8pt you can fit about 180 lines (3-column mode) or 240 lines (4-column mode) on one page. Consider the paper savings compared to a regular print-outs of ca. 60 lines per page.
- Small fonts for printing
-
- Proportional fonts save horizontal space, making more columns fit on a page. Try one of the following fonts.
- Arial 7pt
- Candara 7pt
- Constantia 7-8pt
- Lucida Fax 6-8pt
- Small fixed-width fonts
- If you prefer a fixed-width font, try one of these:
- Lucida Console 6-7pt
- Lucida Sans Typewriter 6-7pt
See also
Export code
Copy to Clipboard
Project Printer
©Aivosto Oy Project Analyzer Help