Microsoft Knowledge Base Email Alertz

Some printers have TrueType (TT) fonts built into the printer. Printer drivers can increase their throughput by using the printer's internal TrueType device fonts instead of downloading the fonts to the printer.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 121661 - Last Review: February 12, 2007 - Revision: 1.2

How to Use the TrueType Fonts Built into the Printer

This article was previously published under Q121661

SUMMARY

Some printers have TrueType (TT) fonts built into the printer. Printer drivers can increase their throughput by using the printer's internal TrueType device fonts instead of downloading the fonts to the printer.

MORE INFORMATION

To get an accurate representation of printer supported TrueType fonts on the display, there must be an associated TT font that is installed on the system. The printer manufacturer or driver developer has the responsibility of providing TT fonts that match the printer's TT fonts. The TT fonts must be installed by using the Control Panel Fonts or by using the respective Windows API AddFontResource function.

The printer driver can then use the Enginexxxx functions that are documented in the Windows version 3.1 DDK's DDAG31WH.HLP file.

The Enginexxxx functions are:
EngineDeleteFont
EngineEnumerateFont
EngineGetCharWidth
EngineGetGlyphBmp
EngineRealizeFont
EngineSetFontContext
The Enginexxxx functions are entry points into the Windows TT rasterizer. These functions allow a printer driver to treat TT fonts as device fonts. By using its EnumDFonts() function, a printer driver can enumerate all the TT fonts on the system, compare them with the printer's TT fonts and return only the TT fonts that match. Then in the printer driver's ExtTextOut() function, the Enginexxxx realized TT font can be mapped to the printer's TT font and the associated printer escapes can be sent to the printer instead of downloading a load of raster data.

APPLIES TO
  • Microsoft Windows 95 Driver Development Kit (DDK)
  • Microsoft Windows 98 Driver Development Kit (DDK)
  • Microsoft Windows Millennium Edition Driver Development Kit
Keywords: 
KB121661
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate