blue_print_pos icon indicating copy to clipboard operation
blue_print_pos copied to clipboard

.addText needs some margin bottom or it crops

Open ugran opened this issue 4 years ago • 1 comments

Hello, First of all I'd like to state that this is a lifesaver project - The only flutter package with which I was able to print from iOS on a phomemo printer I bought from amazon.

Only problem is that when using .addText the printed text is cut on the bottom. .p needs some margin-bottom, I edited the styles & tested & increasing margin worked, but editing styles file was breaking .lock file, so I just started using .addLeftRightText which is printing fine.

Also, are you going to maintain this project & update it to null safety?

ugran avatar Sep 19 '21 07:09 ugran

Yeah, it happens on the last print. Use .addSpacer() in last process. Because .addText use tag <div> and .addLeftRightText use tag <p>. I will figure it out later. Thanks

andriyoganp avatar Dec 02 '21 08:12 andriyoganp