印刷帮助 [英] printing help

查看:79
本文介绍了印刷帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Visual Studio来构建一个简单的程序,将其连接到SQL数据库,并完美地创建了一个仅产生发票的应用程序,但是通常我遇到了问题,是我的第一个应用程序,也是我的第一个应用程序 时间

I am using visual studio to just build a simply program, i have connected it to SQL database, and was perfectly creating an application which just produce the invoice, but as usually i got a problem, this is my first application and all so my first time

现在的问题是,就像我想打印一张发票一样,在任何商店中都像平常一样,所打印的收据只是文本,黑色或选定的颜色,但是从现在起,我一直在听表格打印通过'从组件打印'.......主要 我想要一种仅在A4尺寸的纸张上打印文本并对A4纸张上的打印产品设置限制的方法,请帮助我并详细回答,因为我才刚刚开始使用它,并且不像其他开发人员一样了解很多 请用详细的语言和简单的语言回答,还有一件我不太擅长创建vs代码的事情,请帮忙

NOW the problem is that like i want to print a invoice and like usual in any store the receipt that is printed is only the text and in black or the selected color but since now i have just listen about the form printing through 'print from component'................mainly i want an way that only text is printed in the A4 size paper and put an limit on the printed product on an A4 paper and please please  help me and answer in detail, because i have just start using it and and don't know much way like other developer so please answer in detail and simple language, and one more thing that i m not so good at creating codes of vs so please help

推荐答案

I不知道如何比MSDN更好地解释它:

I don't know how to explain it better than MSDN:

1.如何使用PrintDocument类进行打印: http://msdn .microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx

1. How to print with PrintDocument Class:http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx

2.如何使用PrintDocument在VB.NET中进行打印(MSDN论坛):

2. How to print in VB.NET with PrintDocument (MSDN Forum):

http:///social.msdn.microsoft.com/forums/zh-CN/Vsexpressvb/thread/5d0c347c-68ad-43b2-8e93-57fee896e2f4/

3. 如何:通过使用PrintForm组件打印表单":< http: //msdn.microsoft.com/zh-CN/library/bb629268.aspx

3. "How to: Print a Form by Using the PrintForm Component": http://msdn.microsoft.com/en-us/library/bb629268.aspx

您将需要Visual Basic Power Pack: http://msdn.microsoft.com /en-us/vstudio/bb735936

You will need Visual Basic Power Packs:http://msdn.microsoft.com/en-us/vstudio/bb735936


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

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