I created a barcode and displayed it in a picture box and i want to print it.
i can't figure how to do it..
aldeene
0
Junior Poster in Training
Recommended Answers
Jump to Post
Print("C:\img.jpg")
This does not print to a printer.
Try this instead
Dim WithEvents printDoc As New Printing.PrintDocument() Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click printDoc.Print() End Sub Private Sub PrintImage(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles …
All 4 Replies
NetJunkie
29
Junior Poster
nick.crane
342
Veteran Poster
NetJunkie
29
Junior Poster
aldeene
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.