If you have the image loaded the you can send it to the printer using a PrintDocumentControl....
I don't have any tiff images, so I tested it with a jpg. Not sure if it matters... I wouldn't think so.vb Code:
Dim img As Image Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click img = New Bitmap("c:\IMG_0425.jpg") Dim pd As New PrintDocument() AddHandler pd.PrintPage, New PrintPageEventHandler(AddressOf Me.pd_Print) pd.Print() End Sub Private Sub pd_Print(ByVal sender As Object, ByVal e As PrintPageEventArgs) e.Graphics.DrawImage(img, 10, 10) End Sub
kevin




Reply With Quote