打印本文 打印本文 关闭窗口 关闭窗口
用winspool取得本机安装的打印机的详细信息
作者:武汉SEO闵涛  文章来源:敏韬网  点击数1868  更新时间:2009/4/23 18:40:03  文章录入:mintao  责任编辑:mintao
DeviceMode.dmColor));
    Add(''''Duplex: '''' + IntToStr(PrinterInfo.DeviceMode.dmDuplex));
    Add(''''YResolution: '''' + IntToStr(PrinterInfo.DeviceMode.dmYResolution));
    Add(''''TTOption: '''' + IntToStr(PrinterInfo.DeviceMode.dmTTOption));
    Add(''''Collate: '''' + IntToStr(PrinterInfo.DeviceMode.dmCollate));
    Add(''''LogPixels: '''' + IntToStr(PrinterInfo.DeviceMode.dmLogPixels));
    Add(''''BitsPerPel: '''' + IntToStr(PrinterInfo.DeviceMode.dmBitsPerPel));
    Add(''''PelsWidth: '''' + IntToStr(PrinterInfo.DeviceMode.dmPelsWidth));
    Add(''''PelsHeight: '''' + IntToStr(PrinterInfo.DeviceMode.dmPelsHeight));
    Add(''''DisplayFlags: '''' + IntToStr(PrinterInfo.DeviceMode.dmDisplayFlags));
    Add(''''DisplayFrequency: '''' + IntToStr(PrinterInfo.DeviceMode.dmDisplayFrequency));
    Add(''''ICMMethod: '''' + IntToStr(PrinterInfo.DeviceMode.dmICMMethod));
    Add(''''ICMintent: '''' + IntToStr(PrinterInfo.DeviceMode.dmICMIntent));
    Add(''''MediaType: '''' + IntToStr(PrinterInfo.DeviceMode.dmMediaType));
    Add(''''DitherType: '''' + IntToStr(PrinterInfo.DeviceMode.dmDitherType));
    Add(''''ICCManufacturer: '''' + IntToStr(PrinterInfo.DeviceMode.dmICCManufacturer));
    Add(''''ICCModel: '''' + IntToStr(PrinterInfo.DeviceMode.dmICCModel));
    Add(''''PanningWidth: '''' + IntToStr(PrinterInfo.DeviceMode.dmPanningWidth));
    Add(''''PanningHeight: '''' + IntToStr(PrinterInfo.DeviceMode.dmPanningHeight));
  end;
end;

end.
//rock
//转载请保留此信息

上一页  [1] [2] 

打印本文 打印本文 关闭窗口 关闭窗口