If code snippets are included in the description or a comment of a ticket (task, for example), and if they are of a sufficient length:
The code gets cut off when printing. The printed page shows an image of a text field with a scroll bar and truncated code inside.
The expectation is that the entire code is shown in the printed text field.
Exporting to Word "prints" out the entire code snippet as desired (have not tried XML export).
The print preview in the browser has scroll-able text fields. The .pdf representations are not scroll-able.
EDIT1: In the footer of the printout it says "Jira 1001.0.0-SNAPSHOT", for reference.

