Hello…
I am currently trying to install the Windows (XP) DDK’s “oemuni” sample
under NT4. Here’s the procedure I use:
- Add New Printer
- Select the src\print\oemdll\nt4 directory for the inf
- When prompted for the unidrv4 (and other associated files that aren’t
built by the sample) files, I supply the SP6 files out of [service pack
cd]\nt4sp6\support\printers\i386 directory.
All goes well until I try to use the printer, at which point I get an error
message saying: “Test Page Failed To Print… The file or directory is
corrupt and non-readable”.
I have tried building the source under both the ‘Win2k Checked’ and ‘WinXP
Checked’ build environments with no success… I even edited the
sources.inc file to ensure that the C_DEFINES line being selected was for
NT4…
I hooked up WinDBG to the machine (since this is a kernel mode driver) and
nothing is output to the debug window…
The machine that the driver is being installed on is NT4 SP5… I have
tried on a machine with SP6 with the same results…
Any hints / things I missed???
Any help would be greatly appreciated… (and Ashwin, thanks for the
help/responses on my other annoying printer questions!)
sean
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
Hi Sean,
The oemuni sample in itself cannot be installed on NT4. The behavior you
are seeing is expected. You will have to build the oemuni sample in the
NT4 DDK build environment and use those binaries along with unidrv4 for
NT4 installation. But this is not as simple as it sounds and the correct
headers need to be used. I am presently in the process of writing up a
KB article on this. But I don’t have a timeline on when it will be
available for public viewing. So if this is really urgent, mail me in
person and I will try to help you out.
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: xxxxx@stg.com [mailto:xxxxx@stg.com]
Sent: Sunday, November 04, 2001 6:00 PM
To: NT Developers Interest List
Subject: [ntdev] struggling: Installing Windows DDK printer sample on
NT4
Hello…
I am currently trying to install the Windows (XP) DDK’s “oemuni” sample
under NT4. Here’s the procedure I use:
- Add New Printer
- Select the src\print\oemdll\nt4 directory for the inf
- When prompted for the unidrv4 (and other associated files that aren’t
built by the sample) files, I supply the SP6 files out of [service pack
cd]\nt4sp6\support\printers\i386 directory.
All goes well until I try to use the printer, at which point I get an
error
message saying: “Test Page Failed To Print… The file or directory is
corrupt and non-readable”.
I have tried building the source under both the ‘Win2k Checked’ and
‘WinXP
Checked’ build environments with no success… I even edited the
sources.inc file to ensure that the C_DEFINES line being selected was
for
NT4…
I hooked up WinDBG to the machine (since this is a kernel mode driver)
and
nothing is output to the debug window…
The machine that the driver is being installed on is NT4 SP5… I have
tried on a machine with SP6 with the same results…
Any hints / things I missed???
Any help would be greatly appreciated… (and Ashwin, thanks for the
help/responses on my other annoying printer questions!)
sean
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
Hi Sean,
If you are using the XP DDK, the solution is actually pretty simple. If
it was only the W2K DDK, things would have been more complicated. Here
are the steps:
- Open up the NT4 checked/free build environment.
- Create a directory named “checked” or “free” under
%XPDDK%\src\print\oemdll\i386.
- Do a “build -cZ” in oemdll\oemuni\kmode.
- Use oemdll.inf from the nt4 directory to install the plugin.
(koemuni.dll)
I just verified that this works.
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: xxxxx@stg.com [mailto:xxxxx@stg.com]
Sent: Sunday, November 04, 2001 6:00 PM
To: NT Developers Interest List
Subject: [ntdev] struggling: Installing Windows DDK printer sample on
NT4
Hello…
I am currently trying to install the Windows (XP) DDK’s “oemuni” sample
under NT4. Here’s the procedure I use:
- Add New Printer
- Select the src\print\oemdll\nt4 directory for the inf
- When prompted for the unidrv4 (and other associated files that aren’t
built by the sample) files, I supply the SP6 files out of [service pack
cd]\nt4sp6\support\printers\i386 directory.
All goes well until I try to use the printer, at which point I get an
error
message saying: “Test Page Failed To Print… The file or directory is
corrupt and non-readable”.
I have tried building the source under both the ‘Win2k Checked’ and
‘WinXP
Checked’ build environments with no success… I even edited the
sources.inc file to ensure that the C_DEFINES line being selected was
for
NT4…
I hooked up WinDBG to the machine (since this is a kernel mode driver)
and
nothing is output to the debug window…
The machine that the driver is being installed on is NT4 SP5… I have
tried on a machine with SP6 with the same results…
Any hints / things I missed???
Any help would be greatly appreciated… (and Ashwin, thanks for the
help/responses on my other annoying printer questions!)
sean
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