Thank you for the answer but how can I do that ?
I'm not an expert in Vb.Net and I'm using a "PrintDocument" control
(System.Darawing.Printing.PrintDocument) called "prnTicket" with code
looking like that :
.......
prnTicket.PrinterSettings.PrinterName = "EPSON TM-T88II Partial cut"
prnReport.Print()
.....
Private Sub prnReportDay_PrintPage(ByVal sender As System.Object, ByVal e As
System.Drawing.Printing.PrintPageEventArgs) Handles prnReport.PrintPage
.....
Dim AlignementDroite As New StringFormat
AlignementDroite.Alignment = StringAlignment.Far
AlignementDroite.LineAlignment = StringAlignment.Center
......
Dim RectTitre3 As New RectangleF(20, 25, 150, 20)
e.Graphics.DrawString((ReportTitle3).Trim, New Font("Arial", 14,
FontStyle.Bold), Brushes.Black, RectTitre3, AlignementCentre)
.....
End Sub
This code works very well in graphics mode with the standard Windows
fonts....
But could you give me a sample of code to send raw data to the printer.
Thanks
F. Potier