title: How to convert a png file to .GRF file used for zebra printer
body: <p>I use Zebraprinter for printing the labels. My printer is 203dpi. For last couple of days i was searching in internet and i found there are Zebraprint utilities.. to convert to DFR format.. which sucks.. they are not fully explaining how to do this.. They just says convert to <code>~DG format</code>. any print it, which is not happening!! 
  Rather I would like to convert a png file to a .GRF file and send to the printer for printing.. IS there any deadly available free software in  internet which does my needs, 
  Also, i tired to develop a software which does the job for printing the letters.. which is wiring fine. i don't know how to print pictures using this printer.
  I need to convert this image <a href="https://imageshack.com/i/pb0BArbep" rel="nofollow">https://imageshack.com/i/pb0BArbep</a> to <strong>.GRF format</strong>. How can i do all this under a single button press.. Any helps..</p>
  
  <p>Thanks a lot.</p>
  
  <p>Code snippet:- </p>
  
  <pre><code>private void button2_Click(object sender, EventArgs e)
      {
          string s = Print();
          PrintFactory.sendTextToLPT1(s);
      }
  
   private string Print()
      {
          string s = "";
          s += "^XA^LH"+ text.textbox + ".GRF,1,1^FS";
  
          s += "^FO250,294^FD^FS";
          s += "^XZ";
          return s;
      }
  </code></pre>