1、目的
进行打印设置、打印预览、及实现打印功能
2、代码
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Printing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;namespace PrintApp
{public partial class Form1 : Form{private PrintDocument printDocument