title: Reading the document being printed using C#
body: <p>Addition to my question here : <a href="https://stackoverflow.com/questions/10229077/how-to-catch-print-jobs-in-c-sharp-net">How to catch printing jobs</a></p>
  
  <p>I managed to catch PrintSystemJobInfo objects, created when a print job enters a queue by using following code:</p>
  
  <pre><code>public static void WritePrinterJobs()
      {
          List&lt;PrintSystemJobInfo&gt; jobInfos = new List&lt;PrintSystemJobInfo&gt;();
  
          LocalPrintServer server = new LocalPrintServer();
  
          while (true)
          {
              foreach (var jobInfo in server.DefaultPrintQueue.GetPrintJobInfoCollection())
              {
                  Console.WriteLine(jobInfo.JobName);
              }
  
          }
      }
  </code></pre>
  
  <p>Now, I want to read contents of a barcode being printed. Is there a way to do that?</p>