WEll i have a problem in printing files (always have problems with this :| )
well my problem is that im trying to print a file (in this case a pdf)
so the real problem is the code i have:
well in first place this code works
but i dont know how to select the printer name :S because i have 2 printers.... and in 1 button is going to print with the 1º printer in the second is going to print with other printer :|
i tryied to search comands like:
myprocess.startinfo.printername="Epson"
but that comand is just imaginary x)
Glad if someone could Help
Gooden
well my problem is that im trying to print a file (in this case a pdf)
so the real problem is the code i have:
VB.NET:
Dim MyProcess As New Process
MyProcess.StartInfo.CreateNoWindow = False
MyProcess.StartInfo.Verb = "print"
MyProcess.StartInfo.FileName = "C:\Invoice.pdf"
MyProcess.Start()
MyProcess.CloseMainWindow()
MyProcess.Close()
well in first place this code works
i tryied to search comands like:
myprocess.startinfo.printername="Epson"
but that comand is just imaginary x)
Glad if someone could Help
Gooden