From: Robert on
Windows 7 RTM x86

If you connect to a shared printer from a Windows 2003 Server x86 where the
Windows 2003 Server is on a workgroup and the Windows 7 RTM x86 is on a
workgroup and the Printer Driver is configured to have flGraphicsCaps set
GCAPS_DONTJOURNAL.

When you print under this mode, rendering dll entry point:

DrvEnablePDEV is passed hDevice handle with is really the hPrinter handle
but with out Administrative privs.

This is okay as we only want GetJob information to work.

DrvStartDoc get the JobId of the printer and in this routine until Windows 7
we have always been able to read the job info 2 using GetJob.

Now we call GetJob( hPrinter, 2, NULL, 0, &cbNeeded ) with returns as
expected ERROR_INSUFFICIENT_BUFFER with cbNeeded set to the number of bytes
to be returned in our case over 8K bytes.

Now call GetJob the second time with the 8K buffer we now get
INVALID_PARAMETER_ERROR. This only happens on Windows 7 x86 and all other
OS (Vista, XP, 2003, 2008, 2000) are not failing like this.


Anyone else report GetJob failures.

We also have a case where GetJob fails with ERROR_INSUFFICIENT_BUFFER in
DrvDocumentEvent (STARTDOCPOST) which also only happens on Windows 7 in a
simular environment setup as follows:

1. Installed TIFF Image Printer 8.0.013 on Windows XP Pro x32 (on domain)
2. Set printer Security for Everyone: Read
Manage Printers
Manage Documents
3. Shared printer
4. Installed shared printer on Windows 7 x32 (on workgroup)
5. Printed from Notepad: got no Evaluation prompt
no Save screen
no TIFF file created

I have been able to work around most DDK issues but this one seems like a
major OS issue.

Anyone else running into this kind of problem on Windows 7 and has ahyone
found a solution for it?

Thanks.