以下注册表键值表示虚拟打印机 Microsoft Office Document Image Writer Driver 的相关属性:
注册表位置: HKCU/Software/Microsoft/Office/11.0/MODI/MDI Writer/
PrivateFlags
This will be 0 for MDI Format and 16 (decimal) for TIFF format
TIFDPI
Controls the DPI for the TIFF format, allowed values are (in decimal) 100, 200 and 300
COMPIMGEMF
1 for compressing images in the document, 0 for not
DefaultFolder
Default output folder
OpenInMODI
Controls whether or not show the image in “Microsoft office document imaging” after the printout is done. If the value is 1 the “Microsoft office document imaging” will show up, if it’s 0 it will not.
Public_Orientation
Control the page orientation, 1 for Portrait, 2 for Landscape.
Public_PaperSize
Controls the page size
通过程序或者手动去修改这些属性是不起任何作用的。
下面这两个未公开的键值却可以起到些许作用,我是我通过Procmon.exe监视word发现的,哈哈。
这两个键值默认是不存在的。
FAXONLY
DWORD类型,设为0时不起任何作用。设为1时,强制打印机输出tif格式。
FAXDPI
DWORD类型,
在FAXONLY设置为1时,设置输出tif的属性。