Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

User mode printer driver

123 views
Skip to first unread message

anup...@integratech.soft.net

unread,
Mar 6, 1998, 3:00:00 AM3/6/98
to

The DDK documentation talks about a user mode extension for a printer driver.
DDK also has a sample 'umpd'. I am trying to use this feature and followed
the documentation on how to hook it up to the kernel mode driver ( Ref:
MSDN/DDK Documentation/Windows NT 4.0 DDK/Graphics Drivers/Part 3/Chapter
10/User mode printer drivers).

Here is what I have done :

1. In the printer UI driver (pscript.dll), in the prnevent.c to be specific,
I have added a SetPrinterData() call with SPLPRINTER_USER_MODE_PRINTER_DRIVER
and the name of the dll as parameters. I do this under the event
PRINTER_EVENT_INITIALIZE.

2. The SetPrinterData() function is getting called and an
"SplUserModePrinterDriver" entry is made in the registry under
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Printers\MyPrinter\
PrinterDriverData" with value as "umpd.dll".

The umpd dll does not seem to be getting loaded. I have tried the following
options:

1. I have copied the umpd.dll to the winnt/system32 directory.
2. I have tried to include it as one of the printer installation files.

None of the above seem to work.

What I want to know :

1. Is there anything else that i need to do to get this up ? 2. How will I
know whether it is loaded ( is there a simple verification ) 3. If the
UMPD.DLL is loaded, who loads it and what process space does it run under,
the application, the driver, the spooler ?

Thanks
Anupama

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading

QuickTec

unread,
Mar 6, 1998, 3:00:00 AM3/6/98
to

Dear Anupama,

i have the same problem.
At first, umpd is loaded, but no function of endpage, start ... is called when
you do not use the DrvDocument Event function that allows you to tell the
spooler , - please use my functions.

Today i spoke with microsoft in germany and they told me, that they know about
this problem and the bad documentation.
Also they told me, that there are only a handfull developers at microsoft, that
know exacly what to do.
On my side, i have to pay about $200, that they answer this question and i have
to wait about 10 days for response.

Also, they do not give the garantie, that they have a solution for that.

Good news - and i have to wait

Stefan, Germany

0 new messages