Scope
| Item | Description |
|---|
| File <name> | Select this option to print the file, which is currently selected in the Project view or opened in the
editor.
|
| Selected text | Select this option to print the text selected in the editor. |
| All files in the directory | Select this option to print all files in the current directory. |
| Include subdirectories | Select this check box to have the files in the subdirectories of the current directory printed as well. |
Settings
In this tab, specify the basic print layout settings.
| Item | Description |
|---|
| Paper size | From this drop-down list, select the desired paper size. |
| Font | From the drop-down lists in this area, select the desired font style and size. |
| Show line numbers | Select this check box to have line numbers printed. |
| Draw border | Select this check box to have a border printed. |
| Orientation | In this area, specify the paper orientation. The available options are:
|
| Style | In this area, specify the style of the printout by selecting the relevant check boxes. The available options are:
- Color printing
- Syntax printing
- Print as graphics
|
Advanced
| Item | Description |
|---|
| Wrapping | In this area, configure text wrapping. The available options are:
- No wrap
- Wrap at word breaks
|
| Margins | Use the text boxes in this area to specify the margins in inches. |
Header and footer
In this tab, specify the contents and placement of the header and footer.
| Item | Description |
|---|
| Text line |
In this text box, specify the contents of the header or footer. If necessary, combine plain text with variables.
By default, PyCharm suggests to print the name of the file in the header and the current page number in the footer.
|
| Placement | Use this drop-down list to specify whether the above line will be printed in the header or in the footer. |
| Alignment | From this drop-down list, select the desired alignment. |
| Font | In this area, specify the desired font style and size to print the header and footer text. |