直接打印到点矩阵打印机 [英] Printing directly to Dot-matrix printer

查看:169
本文介绍了直接打印到点矩阵打印机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在具有自定义尺寸字体的点矩阵打印机中直接打印行:放大,小,加粗,下划线?
在此先感谢您.

How to print line direct in a Dot-matrix Printer with custom size Fonts: Enlarge , Small , Bold , Underline?

Thanks in advance.

推荐答案

您需要添加转义字符来完成您的工作.

Chr(27)+"E"表示
上的普通粗体 Chr(27)+"F"表示正常的粗体显示
Chr(27)+ Chr(14)for Double Soze大胆的脸
Chr(27)+ Chr(18)用于Double Soze粗体字消除


检查打印机文档或搜索Google以获取打印机转义字符.
You need to Add escape Chars to do your job.
Like
Chr(27) + "E" for Normal Bold face on
Chr(27) + "F" for Normal Bold face off
Chr(27) + Chr(14) for Double soze bold face
Chr(27) + Chr(18) for Double soze bold face off
etc.

Check printer documentation or Search Google for Printer escape Chars for more chars


要在没有打印驱动程序的情况下进行打印,您必须直接与并行端口通信,我不确定是否有相应的标准,或者您是否需要打印机的手册.
To print without a print driver, you''d have to communicate directly with the parallel port, I''m not sure if there''s a standard for that or if you''d need the manual for your printer.


这篇关于直接打印到点矩阵打印机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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