Printing in Windows is relatively simple. You can begin using the Print method to write some text to the printer, use the PaintPicture method to insert a graphical image below the text, and then use the EndDoc method to send the page to the printer.
It’s important to understand that Windows treats a printer as a graphical device, like a video display or plotter. You can easily write one line of text after another, starting from the bottom of the page and going to the top, or you can write every other line on one pass and then fill in the blank lines on the next pass—it really doesn’t matter. The important point is that you must finish putting everything on the page before you call the NewPage or the EndDoc method.