在dotmatrix打印机中打印行后停止进纸 [英] To Stop Paper Feeding After Printing a Line in dotmatrix printer

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

问题描述

大家好,

请任何人告诉我在使用vb.net&在 Dot-Matrix 打印机中打印一行后如何停止进纸 asp.net.

Hi All,

Pls any one tell me how to stop paper feeding after printing a line in Dot-Matrix printer using vb.net & asp.net .

推荐答案

文档的页面设置"属性页具有属性源文档",将其值设置为"'[feed,cut]''.

一旦更改,就无需每次都更改.

祝您编码愉快!
:)
document''s ''Page setup'' property page has a property ''Source Document'' set it''s value to ''[feed,cut]''.

once it changed no need to change it, every time.

Happy Coding!
:)


像点阵这样的旧式打印机完全由它们接收的文本驱动.为此专门设置了几个ASCII控制字符.您的问题特别有趣的是:换行(十进制,十六进制0A)将页面向上移动一行;垂直制表符(十进制11,十六进制0B),将页面向上移动到下一个选项卡行,以及换页(十进制12,十六进制0C),它们将移至下一页.请注意,回车架(十进制13,十六进制0D)仅将打印头移动到行的开头,这就是为什么使用回车/换行输入组合将打印头移动到新行的开头的原因.对于旧打印机,只需确保您没有在文本流中发送这些控制字符中的任何一个即可.
Old style printers like a dot matrix are driven entirely by the text they receive. There are several ASCII control characters set aside specifically to do this. Of particular interest to your question are the line feed (decimal 10, hex 0A), which move the page up one line, the vertical tab (decimal 11, hex 0B), which moves the which move the page up to the next tab row, and the form feed (decimal 12, hex 0C), which move to the next page. Note that the carriage return (decimal 13, hex 0D), only moves the print head to the start of the line, which is why the carriage return/line feed combo is used to move the print head to the start of a new line. With an old printer, just make sure you are not sending any of these control characters in your text stream.


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

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