title: Print a postscript document in VB.NET
body: <p>I want to print a postscript document in VB.NET. So here's how my program works. I am using <a href="http://www.printerplusplus.com/" rel="nofollow">Printer++</a> to capture a print job. It gives me a postscript document. I do some modifications to it. Now I want to print the postscript document that Printer++ exposes. The code is below.</p>
  
  <pre><code>Namespace XPrintSticker
    Public Class Processor Implements PrinterPlusPlusSDK.IProcessor
  
      Public Function Process(ByVal key As String, ByVal psFilename As String) _
                        As PrinterPlusPlusSDK.ProcessResult Implements PrinterPlusPlusSDK.IProcessor.Process
  
          //Do Abracadabra on psFileName poscript file
          Dim dialog As System.Windows.Forms.PrintDialog
  
          dialog.Document= ?? (Print psFilename)
  
        End Function
     End Class
  End Namespace
  </code></pre>
  
  <p>How do I print postscript document?</p>
  
  <p>Also how can I get a list of printers on the system and silently send the document to the printer without using printdialog?</p>