I am writing a program in MFC that prints very large drawings. I am using standard printing methods, and uses the same drawing code for screen and for printing. Most of the time this works fine, but with very large drawings parts og my print is missing. The error never occurs on the screen. Missing parts appears to be random, and I cannot reproduce the problem. It happens also when using other printers, like printing to pdf. What could I be doing wrong?