Can you please tell me that how can i change the font size and font style while printing a receipt because using default font size and style we are just able to print 26 characters in a single row, rest of characters will be terminated. Could you please suggest me any workaround
An alternative is to create and print a bitmap. That way you have complete creative control over the format. Of course, you’ll have to create your own internal logic for wrapping text and such, but you could make a bitmap with a smaller font if you just need more characters. I found bitmap printing to be just as fast as straight-text printing (which doesn’t always seem to be the case with some thermal printers) and the quality was very good.
Here’s the call for printing bitmaps:
printingService.printBitmap(printJobId,myBitmap, printListener);
-Michael
1 Like