Dim Proc As New ProcessProc.File = "C:\test.pdf"Proc.Verb = "Print" '指定动作Proc.Start()
这个代码能否直接指定在那个打印机上执行
原来这样写
Dim obj1 As object = CreateObject("WScript.Network")
obj1.SetDefaultPrinter("\\192.168.0.121\FP1")
Dim Proc As New ProcessProc.File = "C:\test.pdf"
Proc.Verb = "Print" '指定动作Proc.Start()