Good, you see I have a small application that creates stickers, those stickers are saved in .jpg format and later my goal is to print the problem I have is that I do not know how to pass the file path to the printer
Dim fileName As String = Path.Combine(folder, "Pegatina" & dia & mes & año & hora & min & seg & "_" & TextBox.Text & ".jpg")
Dim vFoto As New Bitmap(Panel1.Width, Panel1.Height)
Panel1.DrawToBitmap(vFoto, New Rectangle(0, 0, Panel1.Width, Panel1.Height))
vFoto.Save(fileName, Imaging.ImageFormat.Jpeg)
archivo = "C:\Documents and Settings\Administrador\Escritorio\Pegatinas\Imagenes" & "\Pegatina" & dia & mes & año & hora & min & seg & "_" & TextBox.Text & ".jpg"
My question is how can I pass the variable file to a PrintDialog (). As much as I try and search I can not find a solution. Greetings.