Barcode is not scanning when printing with thermal printer
I have created a barcode using a function and it is readable when printing on a LaserJet printer but cannot read when printed on a barcode thermal printer by print document
e.Graphics.InterpolationMode = InterpolationMode.HighQualityBicubic
e.Graphics.SmoothingMode = SmoothingMode.HighQuality
e.Graphics.PixelOffsetMode = PixelOffsetMode.HighQuality
e.Graphics.CompositingQuality = CompositingQuality.HighQuality
e.Graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit
e.Graphics.Clear(Color.White)
Dim myFont As New Font("Arial", 9)
Dim bmp As New Bitmap(NewCode128("OP154225", "B"))
bmp.SetResolution(600, 600)
e.Graphics.PageUnit = GraphicsUnit.Point
'e.Graphics.PageScale = 3.0F
e.Graphics.DrawImage(bmp, New Rectangle(5, 10, 65, 32))
'e.Graphics.DrawImage(picBarcode.Image), 5, 5, 65, 32) 'e.PageBounds.Width, e.PageBounds.Height
'PrintDocument1.DefaultPageSettings.PrinterResolution.X = 203
'PrintDocument1.DefaultPageSettings.PrinterResolution.Y = 203
PrintDocument1.DefaultPageSettings.PrinterResolution.Kind = Printing.PrinterResolutionKind.High