When I said that you need to set it in the Printer Properties, I didn’t
mean setting the data type in the Print Processor dialog. You need to
check “Enable advanced printing features” in the advanced tab of the
printer properties in order to get EMF. Setting the data type is not
going to cut it.
Here are some other factors that affect EMF v. RAW.
-
When you print to a printer connection the spooler will force RAW if
the GDI on the client and server machine do not match, (i.e. a match is
when the EMF version supported on the client is also supported on the
server). When printing to a local printer the spooler will by default
spool EMF(for quick return to app) and then the data is send out the
port as RAW.
-
Then is no registry hack to make a printer connection send EMF if the
GDI version on the client and server machine do not match.
-
The check for compatible GDI versions occurs at print time, and is
over ridden by the spooler no matter what the registry settings are set
to.
-
It can also depend on what the app specifies for lpszDatatypein its
StartDoc call. If it specifies RAW or anything other EMF, RAW will be
used. But if it specifies EMF, other internal logic in the print
subsystem comes into play and this may change or not depending on
numerous factors.
This posting is provided “AS IS” with no warranties, and confers no
rights.
-----Original Message-----
From: Sridhar Krishnan [mailto:xxxxx@ureach.com]
Sent: Thursday, August 29, 2002 4:50 PM
To: NT Developers Interest List
Subject: [ntdev] RE: EMF spooling is not working
Hi Ashwin,
Thanks for your response. Setting EMF data type in printer
properties is not working with my driver… it is not “Print to
File”… but someow its forced to Raw. And I noticed that its
working fine with Windows 2000 Uni driver. So I understand the
driver forces the data type to “raw” even though I set it to
EMF in properties…
Do you have any idea which part of the driver can force the
data type to raw during the print job?
Thanks in advance,
Sridhar
---- On Thu, 29 Aug 2002, Ashwin Needamangala
(xxxxx@microsoft.com) wrote:
No. Setting it in the printer properties is the only reliable
way to
produce EMF. Note that in the case of printing to FILE, this
will not
apply though and you will always get direct RAW printing.
This posting is provided “AS IS” with no warranties, and
confers no
rights.
-----Original Message-----
From: Sridhar Krishnan [mailto:xxxxx@ureach.com]
Sent: Wednesday, August 28, 2002 5:12 PM
To: NT Developers Interest List
Subject: [ntdev] EMF spooling is not working
Hi,
I tried to set the data type as “NT EMF 1.008” using the DDK
sample print processor for a printer. But the spool files are
created with “Raw” Type always…
Is there any way can I force the spooler to create EMF spool
files other than setting it in the Printer properties?
Thanks in advance,
Sridhar
Get your own “800” number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
You are currently subscribed to ntdev as:
xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as:
xxxxx@uReach.com
To unsubscribe send a blank email to leave-ntdev-
xxxxx@lists.osr.com
Get your own “800” number
Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%