Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
There is a requirement for bulk printing in word 2010.There is an application in VB6.0 ,from there we are generating some word documents.we made it comprtible for 2010.But in application we have an option to print.so there is no required to visible in word.but in 2010 this option is there.So the requirement is to disable that pint option from word and from application if the user wants to print three fur documents at same tme it should happen.

Could you please anyone share their views regading this.
Posted

1 solution

We do a lot of work with SharePoint 2010. The way we work with it is using the OpenXML SDK 2.0. I realize this isn't an option for you, but the fluent UI modifications you're looking for are.

Your .dotm templates store fluent UI configuration in their XML definitions, as you know. You can use this tool to modify the ribbon to meet your needs. The upside of this method is it doesn't remove print from word entirely, only for the documents we tell it to do so.

http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2010/08/10/23248.aspx[^]

If you absolutely have to disable it entirely in word, I recommend looking into macros or a plug-in using WPF (if only because office plug-ins in WPF are blissfully simple to create). Should make quick work of disabling the fluent UI action.

More here:
http://msdn.microsoft.com/en-us/library/ee691833.aspx#odc_Office2010Introduction2OutSpaceUI_CustomizingOutSpaceUserInterfaceCOMAddIn[^]

As for printing multiple documents, sounds like a macro, plug-in, or custom print queue code in your vb6 app.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900