print with a font not installed in the system
Posted on 2006-07-11
Is there any way to print with a font that is not installed in the system, is only in the printer driver.
If i open a wordpad and after set the printer in the page settings, i'm able to choose some fonts that are not installed.
But when i try to print with these fonts in my program the fonts are not found and the Microsoft Sans Serif font is selected by default.
My code looks like this:
printFontNormal = new System.Drawing.Font
("FontB11", 9, System.Drawing.FontStyle.Regular);
The "FontB11" is not found.
Thanks in advance