Hello All,
I’ m porting a printer driver from Nt4 to W2K user mode.
This driver perform a particular rendering of the graphics data,
consequently I had to do
several modifications in “FilterGraphics” function.
This implementation work fine until i use windows fonts (BIM mode), but,
when i try
to printing a text using internal printer fonts, even a byte is printed.
I analized the module <intrface.cpp>, and i seen that the method
“OutputCharStr” could
to be useful for my necessity.
I tried to use the “DrvWriteSpoolBuf” into it but doesn’t work.
Where is my mistake ?
Thanks in advance for any suggestions. Giando V.
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</intrface.cpp>
You can use the font callback functions such as DownloadCharGlyph and
DownloadFontHeader and then use OutputCharStr to output the device font.
You will have to set *FontFormat to “OEM_CALLBACK” in your GPD file
though.
When you say that you are using DrvWriteSpoolBuf in OutputCharStr and it
doesn’t work, do you mean that OutputCharStr is never called or is it
that DrvWriteSpoolBuf doesn’t seem to do the trick for you?
This posting is provided “AS IS” with no warranties, and confers no
rights. You assume all risk for your use. (c) 2001 Microsoft
Corporation. All rights reserved.
-----Original Message-----
From: Vassia Giandomenico [mailto:xxxxx@tecnostsistemi.com]
Sent: Wednesday, September 19, 2001 7:15 AM
To: NT Developers Interest List
Subject: [ntdev] Problems with <oemuni.dll> printer driver in W2K
Hello All,
I’ m porting a printer driver from Nt4 to W2K user mode.
This driver perform a particular rendering of the graphics data,
consequently I had to do several modifications in “FilterGraphics”
function. This implementation work fine until i use windows fonts (BIM
mode), but, when i try
to printing a text using internal printer fonts, even a byte is
printed.
I analized the module <intrface.cpp>, and i seen that the method
“OutputCharStr” could to be useful for my necessity. I tried to use
the “DrvWriteSpoolBuf” into it but doesn’t work.
Where is my mistake ?
Thanks in advance for any suggestions. Giando V.
—
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</intrface.cpp></oemuni.dll>