我必须在打印机中打印文本 [英] I have to print the text in Printer

查看:82
本文介绍了我必须在打印机中打印文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为TVS打印机编写代码。在该代码中我必须给出地址。



地址应该像包装文本一样。我必须说明打印机的地址。



对我来说,我的文字是这样打印的



地址:Michal Nagar,2号,
150英尺,Bye-pass Road,

伦敦。



150英尺,Bye-pass Road,应该直接到第二行,Mical Nagar,就像伦敦一样。如何做到这一点,请帮助我。

I am write a code for TVS printer. in that code i have to give address.

Address should be like a wrap text. i have to give stating position to printer the address.

For me my text is printing like this

Address: 2nd, Michal Nagar,
150ft, Bye-pass Road,
London.

150ft, Bye-pass Road, should come to next line straight to 2nd, Mical Nagar, like that London also. how to do this please help me.

推荐答案

您好
右键单击项目并选择添加引用...从.NET选项卡中选择ReachFramework

和System.Printing(使用Ctrl +单击进行多选),然后单击确定。这两个组件包含高级打印功能。

请改进你的问题并提供更多信息。

祝你好运
Hi Right-click the project and select Add Reference… From the .NET tab select ReachFramework
and System.Printing (use Ctrl+click for multiselect) and click OK. These two assemblies contain advanced printing features.
please improve your question and give more information.
Good Luck


这篇关于我必须在打印机中打印文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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