GreEscape DEVESC_STARTDOC_WPROP and GreEscape DEVESC_NEWFRAME_WPROP are used to change your device characteristics. When an application calls DevOpenDC, it passes your job property information. DJP allows an application to give new job property information on a page-by-page basis. The printer driver must reinitialize its internal structures based on the new job property information. If the device is placed into one mode and a new job property forces the device into a different mode, then it is acceptable for the printer driver to terminate the job and reinitialize the device. To keep the spooler from terminating and reinitializing, avoid using PrtClose() to close the job. (Because the device context is essentially different than it was at DevOpenDC time, all memory compatible DCs, any information returned from DevQueryCaps or DevQueryHardcopyCaps, and any font related information will have to be requeried or recreated by the application.)


[Back: Unsupported DJP Items]
[Next: Extended Attributes]