I am printing a receipt using visual c sharp and an EPSON thermal POS printer.
In order to print the logo i am using the following lines that work just fine.
Bitmap bm1 = new Bitmap(pictureBox1.Width, pictureBox1.Height);
pictureBox1.DrawToBitmap(bm1, new Rectangle(0, 0, pictureBox1.Width, pictureBox1.Height));
e.Graphics.DrawImage(bm1, hx, hy, wi, he);
And because I used an image
I continue printing each line of text as animage
hy += (he+s2);wi = 300; he = 20;
Bitmap tit1 = new Bitmap(wi,he);
pictureBox5.DrawToBitmap(tit1, new Rectangle(0, 0, wi, he));
e.Graphics.DrawImage(tit1, hx , hy, wi , he);
the thing is that drawing text looses a little quality,
and the result Is not as clear as when I print text in text mode.
Is it possible, print just normal text after the logo in the same print document ?
or if I have to continue with this graphic mode what are the appropriate fonts to use when drawing text ?
this are the commands of my PRINT button
private void Button1_Click(object sender, EventArgs e)
PrintDialog pd = new PrintDialog();
PrintDocument doc = new PrintDocument();
doc.PrintPage += Doc_PrintPage;
pd.Document = doc;
Please your help on this.