title: how to set logo on verifone vx520 internal printer
body: <p>I want to set a logo on printed paper in verifone vx520
  should i change the &lt;*PTRLGO> value? and how can i change the &lt;*PTRLGO>?
  and how can i download this logo to the printer? how should i call the logo on program? I have written my program with c.
  here is my code but it's wrong. i used GP command to print a logo.</p>
  
  <pre><code>#include &lt;stdlib.h&gt;
  #include &lt;stdio.h&gt;
  #include &lt;string.h&gt;
  #include &lt;svc.h&gt;
  
  char myLOGO[]="testlogo.bmp";
  char buf[200]="";
  void main ()
  {
      int i,t;
      char logo[]="*PTRLGO";
      char buf[500] = "";
      int prt_handle,prt_com;
      prt_handle = open(DEV_CONSOLE, 0);
      prt_com = open(DEV_COM4, 0);
      put_env(logo,myLOGO,1);    
      sprintf(buf, "%cGP1;",27);
      write(prt_com, buf, strlen(buf));
      SVC_WAIT (100);
  
      close(prt_com);    
  }
  </code></pre>