|
From: Neal Bade on 30 Apr 2008 16:54 If in Microsoft Word's "Page Setup" dialog I select custom page size and enter 1.5 inch width by 1 inch high, how does this information get passed to the printer driver? I expected that the DEVMODE passed to DrvEnablePDEV would contain the correct dmPaperLength and dmPaperWidth, but these values seem to be the default form size for the printer. I set a breakpoint at DrvEnablePDEV and inspected every DEVMODE passed to the driver. All of them contained the default page size as set in the "Printing Preferences" property pages. Several of the calls showed the DEVMODE dmFields did have DM_PAPERLENGTH and DM_PAPERWIDTH set, but the values for those fields were still the default for the printer. I know these values are available because another vendor's printer driver works correctly in this case. What am I missing? Neal
|
Pages: 1 Prev: WPP & KMDF Crash Next: How to call the kernel API which is not in the DDK document! |