Printing Files of Various Types Without User Interaction

Printing any file without user interaction:

Imports System.Diagnostics

⋮

Dim psi As New ProcessStartInfo()
With psi
    .Verb = "print"
    .WindowStyle = ProcessWindowStyle.Hidden
    .FileName = "C:\filename.pdf"
    .UseShellExecute = True
End With
Process.Start(psi)