Generic Text Printer Driver

Hello,

We are developing a text printer driver for Win2K/WinXP and face these problems. Would appreciate if some one could answer this.

  1. When used with Word/Excel, it spits out some rectangles. With Adobe, we get only junk characters. We modified the sample print processor of DDK (\WINDDK\2600\src\print\genprint). The uDataType in PrintDocumentOnPrintProcessor always come as PRINTPROCESSOR_TYPE_RAW. Who calls this and how this can be set to Text type? How can we remove these junk characters? Any special processing required for Adobe?

  2. We need to always print it to a file and not sent to any printer. So which is the right place to suppress the default Output Filename dialog box and create our own output file without prompting the user. We modified the sample localmon dll to create our own file port (WINDDK\2600\src\print\monitors\localmon). Is this the right way to do?

Thanks,
Keshab Sen


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com