Google Answers Logo
View Question
 
Q: refreshing printer settings for an active application in win32 api ( No Answer,   0 Comments )
Question  
Subject: refreshing printer settings for an active application in win32 api
Category: Computers > Programming
Asked by: assistance-ga
List Price: $20.00
Posted: 14 Jul 2006 02:20 PDT
Expires: 14 Jul 2006 22:36 PDT
Question ID: 746215
I'm using VC++ 6.0 (not .NET) to drive Word, Excel and PowerPoint
(through the MFC way). The app logic is to open a word instance (for
example) and then print a bunch of different documents.

Before printing each document, I will change the registry settings of
the printer (which affect the global printer settings so to speak) and hope
that each document will be printed with different settings

The problem I come across right now is, I found out that each Word
application instance will get from the os the global printer settings
at the time of application start and remember that for its whole life
span. Therefore, the print settings which I want to apply to a
particular document (within the same word application instance) can't
be enforced.

I've tried DevMode but some of the printer settings are really unique
and we don't have these insider information from the printer vendor.

So, my question: is there any win32 api functions (with sample codes)
that can enforce an active application to 'refresh' its printer
settings from the global
settings? Without going through to hack the DEVMODE fields?

Please let me know.

Thanks!
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy