使用热敏打印机进行超市计费的最佳解 [英] Best solution for supermarket billing using thermal printer

查看:61
本文介绍了使用热敏打印机进行超市计费的最佳解的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



开发超市计费系统,所有的购买和销售部分都已完成。但在销售部分,我遇到了打印问题给客户的账单。







我有什么尝试过:



尝试使用水晶报告,但我无法动态修复高度,并且在我的内容被打印后,账单的高度没有停止。然后尝试过通过设置最小高度,但它在内容之间获得空白。

尝试了很多水晶报告后我尝试了graphics.drawstring方法。它得到了平滑的打印,没有高度问题。但我无法管理对齐账单中的内容。

附上账单我使用graphics.drawstring.Any一个请帮我打印好比较的账单。

Hi Guys,

Am developing a supermarket billing system and All the purchase and sales part are done.But On the sales part i have got a problem for printing the bill to customer.



What I have tried:

Tried using crystal report but i cant fix a height dynamically and the height of the bill is not stopping after my content was printed.Then tried by setting the least height but its getting white space between content.
After trying lot with crystal report am tried graphics.drawstring method.Its getting smooth printing,No height issue.But i cant manage the alignment of the content in the bill.
Am attaching the bill i have got using graphics.drawstring.Any one please help me for printing Bill in good alignment.

推荐答案

通过直接向打印机发送转义码来直接控制打印机怎么样?

你用的是prin ter内部字体,你自己做所有格式化。这样票证长度不是问题。
What about direct printer control by sending escape codes to the printer directly ?
You use printer internal fonts and you do all the formatting by yourself. This way the ticket length is not a problem.


这篇关于使用热敏打印机进行超市计费的最佳解的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆