A
alhulimy
i am traing to print usisng printer (samsung srp-350) for invoice
printing
but nothing so far...
-----------------------
Private Sub Button1_Click_4(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
printFont = New Font("Arial", 10)
Dim pd As New PrintDocument
'pd.PrinterSettings.PrinterName = "HP Deskjet D1400
series"
pd.PrinterSettings.PrinterName = "SAMSUNG SRP350"
AddHandler pd.PrintPage, AddressOf pd_PrintPage
pd.Print()
End Sub
Private Sub pd_PrintPage(ByVal sender As Object, ByVal ev As
PrintPageEventArgs)
ev.Graphics.DrawString("a", printFont, Brushes.Black, 2, 4)
End Sub
printing
but nothing so far...
-----------------------
Private Sub Button1_Click_4(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
printFont = New Font("Arial", 10)
Dim pd As New PrintDocument
'pd.PrinterSettings.PrinterName = "HP Deskjet D1400
series"
pd.PrinterSettings.PrinterName = "SAMSUNG SRP350"
AddHandler pd.PrintPage, AddressOf pd_PrintPage
pd.Print()
End Sub
Private Sub pd_PrintPage(ByVal sender As Object, ByVal ev As
PrintPageEventArgs)
ev.Graphics.DrawString("a", printFont, Brushes.Black, 2, 4)
End Sub