使用不同类型的智能手机打印时,收据上的字体尺寸有所不同
我遇到问题,每次在各种设备上打印收据时,字体大小都会有所不同,有时收据无法根据设置的内容加载所有内容。在这里,我使用打印座库并使用布局,然后将其转换为位图
I'm having problems where every time I print receipts on various devices the font size will be different and sometimes the receipt can't load all the content according to what has been set. here I use the Printooth library and use Layout which is then converted to a bitmap
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您使用了DP。请使用SDP并尝试。
I think you used dp. please used sdp and try.