UniDrv -- Getting dmCopies from application(MS Word) "print dialog"

UniDrv -- Getting dmCopies from application(MS Word) "print dialog"

Post by Rudy » Sat, 14 Jan 2006 07:12:27


Question -- UniDrv -- Getting dmCopies from application(MS Word) "print
dialog".

-- This should be simple, but any help is appreciated.

-- Using the UniDriver plugins, how does one catch changes made to
a "DEVMODE" item, such as dmCopies, dmCollate, via an application like
MS Word (rather than setting values via the UI plugin's
"document property sheets").

-- Code like the following exists:

OEMStartDoc( SURFOBJ *pso, ...)
{
PDEVOBJ pDevObj = (PDEVOBJ)pso->dhpdev;
POEMPDEV pdevOem = (POEMPDEV)pDevObj->pdevOEM;

PDEVMODE pdmPublic = pDevObj->pPublicDM;

// -- I am expecting that this variable should contain the value
entered
// at the MS Word "Print Dialog".
pdmPublic->dmCopies;

//etc.
}

Any ideas?
Rudy
 
 
 

1. Persistent Print Job which ONLY shows within MS Word Print Dialogue

2. Does MS-Excel is having any special behavior from other application like MS-Word in printing

Hi all,

Is MS-Excel is having any special behavior from other application like
MS-Word,...

I installed a printer driver as default driver, I found one
special behaviour in Excel.The Scenario is

1.Open a excel file,give ctrl+p and click the properties and save
the printing preferences by pressing OK.

2.Now save and close the Excel file.

3.Open the same execl file again and give ctrl+p and click the
properties ,it still retains the previous settings whatever saved in
last time.

This is noyt happening in MS-Word.why execl behaves diffrently,anty
help is appreciated

Regards
karunya

3. Do not get print dialog box in Word; cannot print from Word

4. how to show ms-word's print dialog programatically ?

5. How do I print the contents of a dialog box in MS Word?

6. why can't I get dmCopies from JOB_INFO_2 when I print in MSWORD?

7. Excel VBA printing to MS Word cause MS Word to crash, why?

8. why can't I get dmCopies from JOB_INFO_2 when I print in MSWORD?

9. Modal window (dialog( hidden under application after application getting back focus

10. Does Excel has different behaviour than other application like MS-Word inm printing

11. Printing MS Word from a JAVA application in a UNIX server

12. When printing PPT documents not getting Print dialog box

13. Print/ Print preview in Dialog Based Applications

14. Change 1 dialog application to 2 dialogs applications?

15. Print Job won't print until Word Dialog box closes