Add Button for specific printer

I

InfoMD

Follow up to a post in November 2004. We would like to add a printer button
on a toolbar that will allow printing to a specific printer. It is not the
default printer, and currently our users have to change printer manually each
time.
 
V

virgul

Hi,

I Think you should ask your question in an other forum Like a C# or
jscript forum depends in witch language do you work. Your probleme is
which code for change the default printer so when you find this
information it's really simple to add a button and on the onclick event
add your code.

But if anybody in this forum as the answer ...


++
 
B

Brian Teutsch [MSFT]

Unfortunately you cannot change the printing parameters while the form is
running.

You might have some success if you're will to go all out and change the
default printer through Windows APIs before calling InfoPath's .PrintOut
functionality, but I can't say for sure if that will work.

Thanks,
Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top