Home > Software engineering >  Vb.net 2003 one-dimensional bar code printing problems
Vb.net 2003 one-dimensional bar code printing problems

Time:10-05

PDlabel. Print ()
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Private Sub PDlabel_PrintPage (ByVal sender As System. Object, ByVal e the As System. Drawing. Printing. PrintPageEventArgs) Handles PDlabel. PrintPage

Gh. DrawString (lcoilno. Text, ft, Brushes, Black, CenterPoint (lcoilno), the format)
Gh. DrawImage (fimage, CenterPoint232 (PictureBox2) picturebox control print bar code

End Sub

Picturebox control must be set into the size of 248, 65 or more to get swept out? The small on the display can sweep out but can't sweep out after printing, using stylus printer,

CodePudding user response:

Try using special controls, adopt the method of printing screen, get very low resolution,

Also, is write your own code, graphics to directly control the printer to print, the trouble is, each a different printer, command language may be different,
  • Related