PrintDialog C# 中的无线打印

Wireless Printing in PrintDialog C#

我很好奇您是否可以使用 printDialog 打印 wirelessley?我做了一些研究,但找不到与此问题相关的任何文章。我正在滚动 windows 7。

这是我的代码是否有帮助:

public void DVPrintDocument_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
{
        Bitmap r3tsLogo = Properties.Resources.rt3slogo;
        System.Drawing.Image image1 = r3tsLogo; //image 1 is r3tsLogo
        e.Graphics.DrawImage(image1, 350, 0, image1.Width, image1.Height);

        //change the new point to put text on different part of paper.
        e.Graphics.DrawString("Address:", new System.Drawing.Font("Impact", 12, FontStyle.Regular), Brushes.Black, new Point(300, 90));

        //This line of code connects to Code line 151   
        e.Graphics.DrawString("North Building Room 61", new System.Drawing.Font("Arial", 10, FontStyle.Regular), Brushes.Black, new Point(370, 94)); 
}

是 - 我使用 Brower QL-710W 标签机进行无线打印。在这种情况下,如果安装驱动程序连接到打印机,那么它将像普通打印机一样工作(直接连接到机器或网络)。无线打印的所有复杂性都由驱动程序处理,对您的代码透明。