aponcealbuerne
asked on
print with a font not installed in the system
Hi everyone:
Is there any way to print with a font that is not installed in the system, is only in the printer driver.
For example:
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:
System.Drawing.Font printFontNormal;
printFontNormal = new System.Drawing.Font
("FontB11", 9, System.Drawing.FontStyle.R egular);
The "FontB11" is not found.
Thanks in advance
Is there any way to print with a font that is not installed in the system, is only in the printer driver.
For example:
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:
System.Drawing.Font printFontNormal;
printFontNormal = new System.Drawing.Font
("FontB11", 9, System.Drawing.FontStyle.R
The "FontB11" is not found.
Thanks in advance
ASKER
I don't have the fonts, they are bult in in the printer or in the driver printer...
Are these PostScript printers?
AT
AT
ASKER
It's a TM-U220 Receipt Printer from epson a printer for POS.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Check this post too. Basically it says that you have to use Win32 calls to access device specific features (such as bar code font stored in the printer, etc).
http://www.dotnet247.com/247reference/msgs/18/92299.aspx
http://www.dotnet247.com/247reference/msgs/18/92299.aspx
ASKER
ok thanks athapa, I'll check it and let you know
ASKER
thanks athapa it works just FINE !!
AT