Re: genprint print processor and EMF
From: Ashwin [MS] (ashwinn_at_online.microsoft.com)
Date: 02/20/04
- Next message: Bruno: "System crash ..."
- Previous message: Andrew: "Re: A service and WTS"
- In reply to: Carey Gregory: "Re: genprint print processor and EMF"
- Next in thread: Carey Gregory: "Re: genprint print processor and EMF"
- Reply: Carey Gregory: "Re: genprint print processor and EMF"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 20 Feb 2004 09:45:45 -0800
The reason that you are getting RAW is because the decision on whether to
spool EMF or RAW is made by GDI based on various factors. Here are some of
the factors:
Firstly, if the app uses the print apis directly, it can specify whatever
datatype it wants. But if the app prints through GDI:
We'll go RAW in the following cases:
- Printing to FILE:
- Printing directly to port (no spooling)
- Client disables "advanced printing features" in printer properties.
Additionally, for networking printing:
- Client is anything other than NT/Win200/XP
- Client doesn't use a "true" connection
- Printing to a "masq" printer (win9x, netware, etc.)
- Server has "printer attribute RAW only" bit set
- Server doesn't accept client's EMF version
So there is no real guarantee that you will get on particular datatype or
the other.
-- - Ashwin Microsoft Printing, Imaging and Fax Team This posting is provided "AS IS" with no warranties, and confers no rights. "Carey Gregory" <tiredofspam123@comcast.net> wrote in message news:2hec309lielvu0gv842u4rn6j1m5psnam7@4ax.com... > gsalvador@futurespace.es (German Salvador) wrote: > > >Hello, > > > >I am trying to write a print processor based on genprint DDK sample, > >but I am facing a problem: My processor only receives RAW print jobs, > >even when the default data type is any of the EMF types. > > > >I have tried to modify the processor, taking out RAW format from the > >supported data types, but in this case, my processor is just not > >called for any printing job, only EnumPrintProcessorDataTypes is > >called. > > As you've already discovered, your print processor *must* support the RAW > data type or it simply won't work. Beyond that, the data types it supports > have little effect. Most of the DDK documentation on this is pure fiction. > > Assuming EnumPrintProcessorDataTypes is correctly coded, and you've tested > this with several different applications, then make sure the > PRINTER_ATTRIBUTE_DIRECT and PRINTER_ATTRIBUTE_RAW_ONLY attributes are not > set for the printer. > > > -- > Carey Gregory > Windows Print Drivers & Components > http://www.gw-tech.com
- Next message: Bruno: "System crash ..."
- Previous message: Andrew: "Re: A service and WTS"
- In reply to: Carey Gregory: "Re: genprint print processor and EMF"
- Next in thread: Carey Gregory: "Re: genprint print processor and EMF"
- Reply: Carey Gregory: "Re: genprint print processor and EMF"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|