PyCharm 2020.3 Help

Print

Settings

In this tab, specify the basic print layout settings.

Item Description
Paper size Select the desired paper size.
Font Select the desired font style and size.
Show line numbers Select this checkbox to have line numbers printed.
Draw border Select this checkbox to have a border printed.
Orientation

In this area, specify the paper orientation. The available options are:

  • Landscape

  • Portrait

Style

In this area, specify the style of the printout by selecting the relevant checkboxes. The available options are:

  • Color printing: print code in color.

  • Syntax printing: print code with syntax highlighting. Otherwise, code will be printed as plain text.

  • Print as graphics: generate graphics and send it to the printer driver. Otherwise, the IDE sends text to the printer driver. This is a legacy option that might be helpful if there are printer driver issues.

    For example, if you clear this option and print to a PDF printer, you can select text in the result file. When the option is selected, you cannot select and copy text in a PDF file.

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.
Last modified: 18 July 2020