My program is almost working, only thing I'm missing is a print button and I've been reading about the classes etc that need to be written, but I can't get a handle on it...

Can anyone show me an example of a print class or printing?

All I need to do is print "template.txt"

Thanks guys