Getting printer ControlFont

  • Thread starter Thread starter Joshua T. Moore
  • Start date Start date
J

Joshua T. Moore

I'm using a thermal printer that's printing really slow, but I'm told it's
because i'm using the windows font instead of the control font. Has anyone
been able to accomplish this? I've tried using:

IntPtr gHDC = e.Graphics.GetHdc();
Font font = Font.FromHdc(gHDC);

but pulled a 44 point Arial font (which is definitely wrong).

Please help asap.

Joshua Moore
 
The font i need to use is not a true-type font, which c# won't allow. is
there any way i can use it to print in c# using CreateFont or
CreateIndirectFont? I have to use this specific font to pop a cash drawer.

Thanks,
Joshua Moore
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top