README.md
December 5, 2022 ยท View on GitHub
Description
Enable you to print a pdf using the shell command
More Info
| Submitted On | |
| By | Chad |
| Level | Beginner |
| User Rating | 4.0 (16 globes from 4 users) |
| Compatibility | VB.NET |
| Category | Documents/ Frames |
| World | .Net (C#, VB.net) |
| Archive File |
API Declarations
Thanks to Tony for this code!
Source Code
Dim psiPrint As New System.Diagnostics.ProcessStartInfo()
psiPrint.Verb = "print"
psiPrint.WindowStyle = ProcessWindowStyle.Hidden
psiPrint.FileName = "C:\MyFile.pdf"
psiPrint.UseShellExecute = True
System.Diagnostics.Process.Start(psiPrint)