Printing source code in the IDE - V2.1.0

Hi @geralds. Arduino IDE 2.x doesn't have any print capability:

You might be interested in the workaround shared by a community member here: