如何在DotMatrix打印机中打印 [英] How to print in DotMatrix Printer

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

问题描述

示例代码:

Sample code:

Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage
        
        'Customer Information
        e.Graphics.DrawString("XXX Traders", Me.Font, Brushes.Black, 25, 10, New StringFormat())
        'Bill No:
        e.Graphics.DrawString("123456", Me.Font, Brushes.Black, 55, 10, New StringFormat())
        'Product Description
        e.Graphics.DrawString("XXX Soap", Me.Font, Brushes.Black, 35, 25, New StringFormat())
        'Quantity
        e.Graphics.DrawString("5", Me.Font, Brushes.Black, 50, 25, New StringFormat())
        'Price
        e.Graphics.DrawString("8", Me.Font, Brushes.Black, 55, 25, New StringFormat())
        'Total
        e.Graphics.DrawString("40", Me.Font, Brushes.Black, 65, 25, New StringFormat())
    End Sub



我有格式的帐单.我只需要将上述信息打印到该账单上即可.
例如:纺织品展厅帐单

要这样打印:什么是设置,我必须设置.请给我一些样品.

预先感谢,
KV



I have a billing papers with format. All i need is just to print the above information to that billing paper.
Ex: Textile show room bill

To print like this: What are the settings, i have to set. Please give me some sample.

Thanks in advance,
KV

推荐答案

我知道英语不是您的母语,但我们需要更多信息.

您似乎在说您需要在点矩阵打印机上加载纸张方面的帮助.这没有多大意义,因为软件无法加载纸张!

请更详细地说明您要做什么以及遇到什么问题.

谢谢!
I know English isn''t your first language, but we need more information.

You seem to be saying you need help with paper loading on a dot matrix printer. This doesn''t make much sense, since software cannot load paper!

Please explain what you are trying to do, and what problem you are having, in more detail.

Thanks!


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

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