- MS Word and multiple copies
- Posted by Matt Kane on May 9th, 2005
Mornin'
I have a print driver (kernel-mode at the moment) with a CPSUI-based
interface. Whenever we try to print a job through MS Word (I've tried version
2000 and 2003 so far) with multiple copies enabled, there a number of calls
to the UI's DrvDocumentPropertySheets. The first call has an input DEVMODE
with dmCopies set to the correct number. Every subsequent call has dmCopies
set to 1. Is there any way to figure out which one is correct?
We return 99 from DrvDeviceCapabilities for DC_COPIES, if that makes a
difference.
--
Matt Kane
mkane@zebra.orange.com minus fruit
- Posted by Debabrata Sarma[MSFT] on May 10th, 2005
We have seen code that return MAX_COPIES or 1 in DrvDeviceCapabilities for
DC_COPIES.
When you return MAX_COPIES it means that the application will not try to
multi-copy
themselves. Have you checked with WordPad and see what it returns for
dmCopies? Many a times
WORD will follow its own logic.
Deba Sarma
MICROSOFT DDK Print Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.
- Posted by Matt Kane on May 18th, 2005
WordPad prints two, Word prints 1. I don't know what Word is doing but I'm
not sure I'd call it logic. 
--
Matt Kane
mkane@zebra.orange.com minus fruit
"Debabrata Sarma[MSFT]" wrote: