i have LQ EPSON 300 Printer
i want to Print some data in Printer's default font
i think it will be possible if we use c# code to print by that printer's default font.
PrintDocument pd = new PrintDocument();
pd.DefaultPageSettings.PaperSize = new PaperSize("A4", 950, 555);
pd.PrintPage += new PrintPageEventHandler(this.FontAndLocation);
pd.Print();
private void FontAndLocation(object sender, PrintPageEventArgs e)
{
e.Graphics.DrawString(textBox1.Text.ToString(), new Font("Bookman Old Style", 18, FontStyle.Bold), Brushes.Black, 20, 95);
e.Graphics.DrawString(textBox2.Text.ToString(), new Font("Bookman Old Style", 18, FontStyle.Bold), Brushes.Black, 20, 165);
e.Graphics.DrawString(textBox3.Text.ToString(), new Font("Courier New", 18, FontStyle.Bold), Brushes.Black, 20, 265);
}
i try to search through Internet but i failed, i could not fix my problem yet The code that i write do not printing in Draft/dot-matrix(Printer's Default) Fonts. can we call printer in code or any code that make it possible to print in EPSON-LQ 300 default font?