Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2007

Tip: Looking for answers? Try searching our database.

Options for Built-In Dialog for FilePrintSetup

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
klav - 30 Jan 2007 13:35 GMT
I want to display the FilePrintSetup built-in dialog but I want to disable or
hide the button "Set as Default Printer."  Is there a way to do this?
Perry - 30 Jan 2007 18:11 GMT
No offense, but why would you want that?

Rephrasing my question here:
what would you like to achieve?

Krgrds,
Perry

>I want to display the FilePrintSetup built-in dialog but I want to disable
>or
> hide the button "Set as Default Printer."  Is there a way to do this?
klav - 30 Jan 2007 18:21 GMT
Because I want to allow the user to change their printer only for that
particular session -- I don't want them to change their default printer for
all applications.

> No offense, but why would you want that?
>
[quoted text clipped - 7 lines]
> >or
> > hide the button "Set as Default Printer."  Is there a way to do this?
Perry - 30 Jan 2007 18:47 GMT
Look here

http://word.mvps.org/faqs/macrosvba/ChangeCurPrinter.htm

Krgrds,
Perry

> Because I want to allow the user to change their printer only for that
> particular session -- I don't want them to change their default printer
[quoted text clipped - 13 lines]
>> >or
>> > hide the button "Set as Default Printer."  Is there a way to do this?
klav - 30 Jan 2007 18:58 GMT
Thanks but that's not what I'm looking for. I'm familiar with the code you
responded with and it's only helpful if you know what printer you want to
switch to. My users have as many as 7 or 8 printers they can use. I need to
display a list and let them choose.

I found code that will allow me to establish this list and will proceed with
developing my own dialog for this. Thanks for your help though.

> Look here
>
[quoted text clipped - 20 lines]
> >> >or
> >> > hide the button "Set as Default Printer."  Is there a way to do this?
Perry - 30 Jan 2007 19:09 GMT
Intercept the builtin Print command, and use yr own printer selection dialog
in such case.
You stated, you have the code to enumerate printers ...

Krgrds,
Perry

> Thanks but that's not what I'm looking for. I'm familiar with the code you
> responded with and it's only helpful if you know what printer you want to
[quoted text clipped - 31 lines]
>> >> > hide the button "Set as Default Printer."  Is there a way to do
>> >> > this?

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.