Wednesday, January 3, 2018

How to print a gif file from .vb.net web page without user intervention.

Below is the code and it works just fine. However it pops up the print dialogue box. Anyone know how to set arguments, or just have it print with no user input?

Dim PrintProcess As New Process

 PrintProcess.StartInfo.CreateNoWindow = False PrintProcess.StartInfo.Verb = "print" PrintProcess.StartInfo.FileName = fileName PrintProcess.StartInfo.Arguments = "\" + "\\SHIPPING-ADMIN\ZDesigner ZM400 200 dpi (ZPL)" + " \ " PrintProcess.Start() 
How to print a gif file from .vb.net web page without user intervention. Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team