Ajaypal Singh

Results 8 comments of Ajaypal Singh

It is the same image that is in example of project with name demo.png

> let img = UIImage(named: "demo")! var receipt = Receipt() receipt.feedLinesOnTail = 1 let imgblock = ImageBlock(img, attributes: [ImageBlock.PredefinedAttribute.alignment(.center)]) receipt.add(block: imgblock) for datas in receipt.datas { let sendtest = self.client.send(data:...

> > > let img = UIImage(named: "demo")! var receipt = Receipt() receipt.feedLinesOnTail = 1 let imgblock = ImageBlock(img, attributes: [ImageBlock.PredefinedAttribute.alignment(.center)]) receipt.add(block: imgblock) for datas in receipt.datas { let sendtest...

> @DhanjuAjay can you solved printing image issue? Still not solved, even the example app is just printing title, then stop working.

> @DhanjuAjay which thermal printer are you using? Have you tried another thermal receipt printer. It works on ESC/POS printers > > Try 80mm thermal receipt printer from eBay will...

Thanks for information, is there any way to Print from my printer ?

> I think your printer is for label printing. I haven't tested my code on label printer. > > I'm sure image will print, if you try print on 80mm...

Hello , I have tested the latest example, now alignment is not working, initially example was working fine for text only ![IMG_0004](https://user-images.githubusercontent.com/52612508/65743732-34fea580-e139-11e9-82c9-25ab52962d58.JPG)