Printing a Sketch

G'day, When I print my sketch parts of it is missing, as if there is no flow control to the printer. Only the top half of the page has print on it. This happens both in Arduino 18 and 20. Am using a brother HL-5340D laser printer, which works ok in Word and Excel. Any ideas Grant

Copy/Paste your code into Word and then try printing it.

Yeah I've always used copy/paste into notepad because of that issue. They should really get it fixed.

It seems that if the first line of the sketch is displayed it will print the listing OK. But on my black & white laser printer some colours are very faded, so the cutting and paste to word is the way to go.
Tks again.