I use ionic 3. I was able to connect my application to the Star Print 100 printer. I want to print text and image. I can print only text or just image. But I failed to print the text and the image together.
rasterObj = {
text : " Star Clothing Boutique\n" +
" 123 Star Road\n" +
" City, State 12345\n" +
"Charge\n" + "156.95\n" +
"Visa XXXX-XXXX-XXXX-0123\n" +
"Refunds and Exchanges\n" +
"Within 30 days with receipt\n" +
"And tags attached\n", fontSize: 25, //Defaults to 25
paperWidth: 576, // options: 384 = 2", 576 = 3", 832 = 4"
uri: 'https://www.domainname.com/image.jpg', openCashDrawer:true // Defaults to true };
printRasterReceipt('USB:TSP100', 'StarGraphic', rasterObj).then(result => {},error=>{alert('Error!');});