通用文本驱动程序未形成发送到收据打印机的备注字段 [英] Generic text driver not formating memo fields sent to receipt printer

查看:92
本文介绍了通用文本驱动程序未形成发送到收据打印机的备注字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台使用Window 7 Generic文本驱动程序的收据打印机。此应用程序使用Delphi Seattle FMX备忘录字段进行编译,但备注字段显示三行文本,例如邮件地址,但在打印时,它会包装行而不是格式化它们。是否有字体或代码告诉它它有换行符?



我确实将输出发送到文本文件,当我打开它时使用wordpad,它是然而,正确格式化,当在记事本中打开它包裹线。那么,我如何告诉打印机这个文本文件有格式化代码?



谢谢



< b>我尝试过:



十六进制打印机代码:更大或更小的文本和粗体打印。它在其他打印机驱动程序(如HP Officejet 8600)上打印正常。

I have a receipt printer that uses the Window 7 Generic text driver. This application is compiled using Delphi Seattle FMX memo fields but the memo field shows three lines of text for instance like an mail address but when printed it wraps the lines instead of formatting them. Is there a font or code to tell it that it has line breaks ?

I did send the output to a text file and when I opened it use wordpad, it was formatted correctly, however, when opened in notepad it wrapped the lines. So, how can I tell the printer that this text file has formatted codes?

Thanks

What I have tried:

Hex printer codes: larger or smaller text and Bold print. It prints fine on other printer driver like HP Officejet 8600.

推荐答案

根据定义,通用打印机驱动程序 don' t格式,原因很简单,它不知道你的打印机。



我会打印到文件,看看是什么发送到打印机,然后签入记录为了格式化输出你必须做出哪些改变。



我们没有你的打印机,你是唯一一个能找到解决方案的人。 br />


否则,找一个打印机用户的论坛以获得更多帮助。
By definition, generic printer driver don't format, for the simple reason it don't know your printer.

I would print to a file to see what is send exactly to the printer, then check in documentation what changes you have to make in order to format the output.

We don't have your printer, you are the only one able to find the solution.

Otherwise, find a forum of users of your printer for more help.


这篇关于通用文本驱动程序未形成发送到收据打印机的备注字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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