找不到原始来源了...
//PDevMode = _devicemodeW;
// _devicemodeW = record
// dmDeviceName: array[0..CCHDEVICENAME - 1] of WideChar; {打印设备名称,唯一值}
// dmSpecVersion: Word; {DevMode的版本号}
// dmDriverVersion: Word; {打印驱动程序版本号}
// dmSize: Word; {DevMode结构的字节大小}
// dmDriverExtra: Word; {dmDriverExtra成员结构的大小}
// dmFields: DWORD; {DevMode结构中哪些成员已被初始化}
// dmOrientation: SHORT; {纸张方向;1(纵向)2(横向)}
// dmPaperSize: SHORT; {纸张大小}
// dmPaperLength: SHORT; {自定义纸张的高度,PageSize为0或256时有效}
// dmPaperWidth: SHORT; {自定义纸张的宽度,PageSize为0或256时有效}
// dmScale: SHORT; {打印输出的缩放系数}
// dmCopies: SHORT; {打印份数}
// dmDefaultSource: SHORT; {送纸的默认纸盒}
// dmPrintQuality: SHORT; {打印机的分辨率;4-高品质 3-中品质 2-低品质 1-草稿}
// dmColor: SHORT; {打印输出为彩色或是单色;1-彩色 2-单色}
// dmDuplex: SHORT; {纸张是否为双面打印输出;1-单面 2-水平 3-垂直(需打印支持)}
// dmYResolution: SHORT; {Y方向分辨率;单位:点}
// dmTTOption: SHORT; {如何打印TrueType字体}
// dmCollate: SHORT; {多份时,是否逐份打印}
// dmFormName: array[0..CCHFORMNAME - 1] of WideChar; {纸张名称}
// dmLogPixels: Word; {}
// dmBitsPerPel: DWORD; {显示设备的颜色分辨率;单位:像素}
// dmPelsWidth: DWORD; {可见设备表面(屏幕或打印机)的宽度}
// dmPelsHeight: DWORD; {可见设备表面(屏幕或打印机)的高度}
// dmDisplayFlags: DWORD; {设备的显示模式}
// dmDisplayFrequency: DWORD; {显示设备在特定模式下的频率}
// dmICMMethod: DWORD; {}
// dmICMIntent: DWORD; {}
// dmMediaType: DWORD; {}
// dmDitherType: DWORD; {}
// dmICCManufacturer: DWORD; {}
// dmICCModel: DWORD; {}
// dmPanningWidth: DWORD; {}
// dmPanningHeight: DWORD; {}
// end;