The documented SetDocumentProperties() API does not seem to work as stated. I am writing a program that needs to print to a pre-printed form that is a strange size (205 mm X 433 mm). According to Microsoft I can use the DM_PAPERLENGTH and DM_PAPERWIDTH in the DEVMODE structure to set the paper size to any size I need (specified in .1 mm units). Unfortunately this doesn't seem to be supported by all drivers (some dot-matrix printers I tested didn't work). Is there a better way to specify odd sized paper within an MFC program?