Printing code from Arduino IDE

There is no such version as 2.3.3. The newest version is 2.2.1.

Arduino IDE 2.x does not have a native print capability.

There is an unofficial way to add such a capability using a 3rd party extension (as described here), so maybe you had done something like that previously?

Arduino IDE 1.x does have a print capability, so maybe you were using one of the 1.x versions before?