Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Printing out of paper size #59

Open
Denis3107 opened this issue Apr 26, 2022 · 3 comments
Open

Printing out of paper size #59

Denis3107 opened this issue Apr 26, 2022 · 3 comments

Comments

@Denis3107
Copy link

I use mm80 paper size, but text printing is not correct, everything works fine for printing Qr code.
photo_2022-04-26_12-13-37

@lonelyWalkor
Copy link

I have the same problem

@lonelyWalkor
Copy link

I also encountered the same problem, this problem only appears on the Android platform.

lonelyWalkor added a commit to lonelyWalkor/blue_print_pos that referenced this issue Apr 30, 2022
fix bug andriyoganp#59
解决安卓下 生成的图片没有铺满纸张的问题
@ankush-ppie
Copy link

ankush-ppie commented Dec 25, 2022

Hi @Denis3107 @lonelyWalkor

I also faced the same issue & fixed with a single line patch.
Use this library or add code in your forked package.

In file lib/blue_print_pos.dart

  • Add patch code:
    paperSize = Platform.isAndroid ? PaperSize.mm72 : PaperSize.mm58;
    or
    paperSize = Platform.isAndroid ? PaperSize.mm80 : paperSize;

  • Reference:
    Screenshot 2022-12-25 at 9 20 38 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants