wineps.drv: Update default DEVMODE to better indicate initialized fields.
This commit is contained in:
parent
bdf14227ab
commit
1cd551cd6a
|
@ -48,28 +48,29 @@ static const PSDRV_DEVMODE DefaultDevmode =
|
||||||
/* dmDriverVersion */ 0x001,
|
/* dmDriverVersion */ 0x001,
|
||||||
/* dmSize */ sizeof(DEVMODEW),
|
/* dmSize */ sizeof(DEVMODEW),
|
||||||
/* dmDriverExtra */ sizeof(PSDRV_DEVMODE)-sizeof(DEVMODEW),
|
/* dmDriverExtra */ sizeof(PSDRV_DEVMODE)-sizeof(DEVMODEW),
|
||||||
/* dmFields */ DM_ORIENTATION | DM_PAPERSIZE | DM_SCALE |
|
/* dmFields */ DM_ORIENTATION | DM_PAPERSIZE | DM_PAPERLENGTH | DM_PAPERWIDTH |
|
||||||
DM_COPIES | DM_DEFAULTSOURCE | DM_COLOR |
|
DM_SCALE | DM_COPIES | DM_DEFAULTSOURCE | DM_PRINTQUALITY |
|
||||||
DM_YRESOLUTION | DM_TTOPTION,
|
DM_COLOR | DM_DUPLEX | DM_YRESOLUTION | DM_TTOPTION |
|
||||||
|
DM_COLLATE | DM_FORMNAME,
|
||||||
{ /* u1 */
|
{ /* u1 */
|
||||||
{ /* s1 */
|
{ /* s1 */
|
||||||
/* dmOrientation */ DMORIENT_PORTRAIT,
|
/* dmOrientation */ DMORIENT_PORTRAIT,
|
||||||
/* dmPaperSize */ DMPAPER_LETTER,
|
/* dmPaperSize */ DMPAPER_LETTER,
|
||||||
/* dmPaperLength */ 2794,
|
/* dmPaperLength */ 2794,
|
||||||
/* dmPaperWidth */ 2159,
|
/* dmPaperWidth */ 2159,
|
||||||
/* dmScale */ 100, /* ?? */
|
/* dmScale */ 100,
|
||||||
/* dmCopies */ 1,
|
/* dmCopies */ 1,
|
||||||
/* dmDefaultSource */ DMBIN_AUTO,
|
/* dmDefaultSource */ DMBIN_AUTO,
|
||||||
/* dmPrintQuality */ 0
|
/* dmPrintQuality */ 300
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/* dmColor */ DMCOLOR_COLOR,
|
/* dmColor */ DMCOLOR_COLOR,
|
||||||
/* dmDuplex */ DMDUP_SIMPLEX,
|
/* dmDuplex */ DMDUP_SIMPLEX,
|
||||||
/* dmYResolution */ 0,
|
/* dmYResolution */ 300,
|
||||||
/* dmTTOption */ DMTT_SUBDEV,
|
/* dmTTOption */ DMTT_SUBDEV,
|
||||||
/* dmCollate */ 0,
|
/* dmCollate */ DMCOLLATE_FALSE,
|
||||||
/* dmFormName */ {},
|
/* dmFormName */ {'L','e','t','t','e','r',0},
|
||||||
/* dmUnusedPadding */ 0,
|
/* dmLogPixels */ 0,
|
||||||
/* dmBitsPerPel */ 0,
|
/* dmBitsPerPel */ 0,
|
||||||
/* dmPelsWidth */ 0,
|
/* dmPelsWidth */ 0,
|
||||||
/* dmPelsHeight */ 0,
|
/* dmPelsHeight */ 0,
|
||||||
|
|
Loading…
Reference in New Issue