title: How to print image in TSC printer
body: <p>I'm printing labels using a TSC ME240 printer. 
  The label design has a company logo, text part and a barcode.
  The barcode and text are printed just fine but not the logo, which is a .bmp image stored in the printer's memory.</p>
  
  <p>Everytime I print the labels, I get a pop up message "Could not open the File".</p>
  
  <p>Here's part of my code:</p>
  
  <pre><code>  openport("printerName");
    setup("80 mm", "51 mm", "4", "15", "0", "3 mm", "0");
    clearbuffer();
  
    //  LOGO
    downloadpcx("logo-bmp.PCX", "logo-bmp.PCX");
    sendcommand("PUTPCX 19,15,\"logo-bmp.PCX\""); 
    printlabel("1", "1");
    closeport();
  </code></pre>
  
  <p>I also tried storing the image within the application but I still get the same message. I'm wondering if maybe I need to change the print speed? Is it possible that the printer couldn't print the image because the printer is printing too fast? But if the print speed is set too low, the sticker paper might burn.</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I configured the printer to a lower print speed but that didn't solve my problem.</p>
  
  <p>And then I tried using their sample image and it printed just fine. My image is 5kb and their image is 6kb so I know that size doesn't have anything to do with it.</p>
  
  <p>Any input on this matter will be highly appreciated. Running out of ideas here.</p>