如何在使用printdocument工具时提高文本打印质量 [英] How to improve a text print quality when using a printdocument tool

查看:382
本文介绍了如何在使用printdocument工具时提高文本打印质量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用打印文档工具,打印输出淡出并模糊。如何提高打印质量。

这是我在vb.net中打印文档的代码。



using with a print document tool the output of print is fade and blur. how to improve the printing quality.
This is my code for print document in vb.net.

Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage
Dim bm As New Bitmap(Me.Panel1.Width, Me.Panel1.Height)
 
Panel1.DrawToBitmap(bm, New Rectangle(0, 0, Me.Panel1.Width, Me.Panel1.Height))
 
e.Graphics.DrawImage(bm, 0, 0)
Dim aPS As New PageSetupDialog
aPS.Document = PrintDocument1
End Sub

推荐答案

打印文档的质量在打印机设置 [ ^ ] 。您需要设置 PrinterResolution.Kind [ ^ ]属性;)
The quality of printed document deends on PrinterSettings[^]. You need to set up PrinterResolution.Kind[^] property ;)


这篇关于如何在使用printdocument工具时提高文本打印质量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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