HELP ME !
----- Original Message -----
From: “$B!J(BSCT$B!KM{7uJ?(B”
To: “Windows System Software Devs Interest List”
Sent: Thursday, November 27, 2003 11:10 AM
Subject: [ntdev] Why cannot I get dmCopies from DEVMODE when I print in
MSWORD?
> Hello,
>
> I am trying to develop a print monitor.But I get a serveral problem.Wish
> somebody could give me any help.
>
> First,I hooked EndDocPrinter API and use GetJob to retrive information of
> Job.Most parameter in DEVMODE structure is right,but when I print a
document
> in MSWORD, dmCopies always is set “1”. This is why? Is this a bug of
> Microsoft?
>
> Second, I hooked Windows API PrintDlg, but when I print in notepad,MSWORD
> etc…PrintDlg is not be passthrough.This is why? PrintDlg is not be
> invoked when printing in Notpad,MSWORD?
>
> Third,In DEVMODE structure,there is a parameter named “dmNup”, and it has
> relation with two const “DMNUP_SYSTEM” and “DMNUP_ONEUP”,all of them is
not
> available.That means I cannot find their protype or declaration in
> wingdi.h.This is why? What on earch is Microsoft doing?
>
> Who can help me?
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: lijp@sh.sct-grp.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>