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
 
Back
Top