augual 发表于 2011-8-16 10:10:04

代码在不同的电脑结果不一样(覆盖打印机配置文件)

本帖最后由 augual 于 2011-8-16 10:20 编辑

在USER下将打印机的配置文件覆盖。经测试在有的电脑上可以,在有的电脑上失败。请指教
Secondary Logon服务有启动RunAsWait("Administrator", @ComputerName, "repusblgxx", 0, "rundll32 printui.dll,PrintUIEntry /Sr /n ""EPSON TM-U120 Receipt"" /a ""C:\EPSON TM-U120 Receipt.dat""")
页: [1]
查看完整版本: 代码在不同的电脑结果不一样(覆盖打印机配置文件)