The best way is to find the drawing code and than change it or extract the needed information.
Another possible solution it to draw (or copy) in some memory (a bitmap or device context) and than check the pixel areas and so find the interest areas. When developing such solution its best to draw all temporarly on the screen for debugging. The Microsoft
printer documentation is hugh, but here you find a
printing primer article.