[求助]请教一下,如何提取本机已安装的所有打印机和打印样式呀
请教一下,如何提取本机已安装的所有打印机和打印样式呀 <table class="TitleTable" cellspacing="0" cellpadding="0" width="100%" border="0"><tbody><tr valign="top"><td><a title="点击返回" href="javascript:history.back();" style="TEXT-DECORATION: none;"><p class="Heading-1">GetPlotDeviceNames 方法</p></a></td></tr></tbody></table><p class="TitleSpacing"></p><p class="1-liner">获取所有可用的打印设备名称。 </p><p class="h1-access"><a href="mk:@MSITStore:D:\张涛\acadauto.chm::/getplotdevicenames_see_also.htm">参阅</a> | <a href="mk:@MSITStore:D:\张涛\acadauto.chm::/ex_getplotdevicenames.htm">示例</a></p><p class="Heading-2">语法 </p><p class="syntax">RetVal = object.GetPlotDeviceNames() </p><p class="element">Object</p><p class="element-desc"><a href="mk:@MSITStore:D:\张涛\acadauto.chm::/idh_layout_object.htm">Layout</a>, <a href="mk:@MSITStore:D:\张涛\acadauto.chm::/idh_plotconfiguration_object.htm">PlotConfiguration</a><br/>使用该方法的对象。 </p><p class="element">RetVal</p><p class="element-desc">Variant[变体] (字符串数组)<br/>系统可用打印设备名称的数组。 </p><p class="Heading-2">说明 </p><p class="body">在第一次用该方法前必须调用 <a href="mk:@MSITStore:D:\张涛\acadauto.chm::/idh_refreshplotdeviceinfo.htm">RefreshPlotDeviceInfo</a> 方法。一旦调用了 RefreshPlotDeviceInfo 方法,就不需再重新调用,除非打印设备信息在进程中被改变。</p><p class="body">-------------------------------------</p><p class="body"><table class="TitleTable" cellspacing="0" cellpadding="0" width="100%" border="0"><tbody><tr valign="top"><td><a title="点击返回" href="javascript:history.back();" style="TEXT-DECORATION: none;"><p class="Heading-1">PlotConfigurations 属性</p></a></td></tr></tbody></table></p><p class="TitleSpacing"></p><p class="1-liner">获取文档的 PlotConfigurations 集合。</p><p class="h1-access"><a href="mk:@MSITStore:D:\张涛\acadauto.chm::/plotconfigurations_see_also.htm">参阅</a> | <a href="mk:@MSITStore:D:\张涛\acadauto.chm::/ex_plotconfigurations.htm">示例</a></p><p class="Heading-2">语法 </p><p class="syntax">object.PlotConfigurations </p><p class="element">object</p><p class="element-desc"><a href="mk:@MSITStore:D:\张涛\acadauto.chm::/idh_document_object.htm">Document</a><br/>使用该属性的对象。 </p><p class="element">PlotConfigurations</p><p class="element-desc"><a href="mk:@MSITStore:D:\张涛\acadauto.chm::/idh_plotconfigurations_collection.htm">PlotConfigurations</a> 集合; 只读<br/>文档的 PlotConfigurations 集合。</p> <p>能给个完整的例子吗</p>
页:
[1]