Arduino IDE

I would like to know how to print the programming code that fit into a A4 size paper ?

On Mac OS X you select File->Page Setup and select A4 paper. Then File->Print to print.