Wireless Printing in PrintDialog C#

481 views Asked by At

I was curious if you could print wirelessley using printDialog? I did a bit of research but could not find any articles relating to this issue. I am rolling with a windows 7.

Here is my code is it helps:

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)); 
}
1

There are 1 answers

3
David Kujawski On BEST ANSWER

Yes - I do wireless printing to a Brower QL-710W label maker. In this case, if the driver is installed to connect to the printer, then it will work as a normal printer (directly connected to machine or network). All the complexities of wireless printing are handled by the driver, transparent to your code.