The MS example uses a file for printing, but that doesn't matter because you should be looking at how to take data and print it.
I started using the PrintDocument control based on that example, but my data using comes from a class (the class holds the same data that's displayed on the form/windowsform)
In your case you would simply use the text in the Textboxes, Labels, etc when printing it on paper.
I'll make a demo in a few minutes using the PrintDocument that prints bogus data from a form for ya.