Sitemap

Amicuk Programming Answers

FilePrint not working in Office 2013

2015-10-11   Views:0

Advertisement

Hi, we are trying to override the idmso FilePrint command in the ribbon. This works fine in Word/Excel/PPT 2007 and 2010 but not in 2013. Is there any bug in 2013 or did the command name change? Strangely office doesn't throw any errors but the funct

Hi,
we are trying to override the idmso FilePrint command in the ribbon. This works fine in Word/Excel/PPT 2007 and 2010 but not in 2013.
Is there any bug in 2013 or did the command name change? Strangely office doesn't throw any errors but the function doesn't get called when I go to File -> Print and click the print button.
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Load">
<commands>
<command idMso="FilePrint" onAction="OnFilePrint"/>
</commands>
public void OnFilePrint(IRibbonControl control, ref bool CancelDefault)
MessageBox.Show("Hello World");
Any ideas?
Thank you very much.
Best regards
Mark
Regards Mark

The replay answer
Advertisement
Hello Mark,
I suppose you are talking about the Print command shown on the screenshot:
The fact is that you are trying to repurpose the backstage controls.
It is not possible to override these commands from the custom UI XML markup or by using the object model.
A better solution would be to consider hiding the built-in UI and rebuilding it fully with custom commands.
See
Introduction to the Office 2010 Backstage View for Developers and
Customizing the Office 2010 Backstage View for Developers for more information.

Go to See the other 4 answers

FilePrint not working in Office 2013

Category:DefaultRelease time:2015-10-11Views:130

Hi, we are trying to override the idmso FilePrint command in the ribbon. This works fine in Word/Excel/PPT 2007 and 2010 but not in 2013. Is there any bug in 2013 or did the command name change? Strangely office doesn't throw any errors but the funct[More]

Is ms office 2013 supported for report generation​? Error 41106

Category:DefaultRelease time:2015-10-11Views:130

Hi I have a copy of LV full development suite with the Excel and Word report generation toolkit added. I have recently changed to using Office 365 that includes offline versions of Excel and Word from Office '13. When using the report generation tool[More]

Office 2013 (Mainly Outlook) Ribbon Menu Display Error

Category:DefaultRelease time:2015-10-11Views:130

So i have created a MDT System Image for deploying Windows across our Business we are currently using Windows 8.1 32/64Bit Office 2013 SP1 now i have recently updated the image simply to install the latest load of Windows Updates so we are not instal[More]

Office 2013 app-v packages

Category:DefaultRelease time:2015-10-11Views:130

In this article, http://blogs.windows.com/itpro/2013/12/02/announcing-mdop-2013-r2/   I see mention of an Office version called "Office 2013 ProPlus App-V Package".    Is this a download?  I don't see it available as one when I login to my VLSC[More]

Office 2013 - Incorrect Icons In Taskbar When Apps Running

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have a a strange issue relating to Office 2013 (all apps in suite) in our school based Windows 7 domain environment. When students login and run any app from the office suite they launch correctly and are able to be used.  However the icon that[More]

Office 2013 - Is there a way to when installing that you can change the default save location without having to configure it within the client?

Category:DefaultRelease time:2015-10-11Views:130

So, What I am trying to do is deploy Office 2013 throughout our company, and I do not want the users to save their business or personal files created within Office 2013 on the C: drive or Sky Drive. We have what is called the U: drive and I'd like to[More]

Office 2013 - OSD - Specify different config xml

Category:DefaultRelease time:2015-10-11Views:130

Hi Guys I want to deploy Office 2013 in different languages to different users. It seems there are a few ways to do this. But I am thinking I want to package all languages I need into one Office install package and then in the task sequence have grou[More]

Office 2013: where the heck are the security updates hiding?

Category:DefaultRelease time:2015-10-11Views:130

I built a deployment for Office 2013 yesterday.  The source files were downloaded from Microsoft, with SP1 integrated.  This is *not* a "Click to Run" deployment.  I used the Office Customization Tool to make a few changes (we're not using OneDr[More]

Office 2013 simply refuses to update templates

Category:DefaultRelease time:2015-10-11Views:130

Hi All, Was wondering if you could help as i'm really getting thin on ideas now. I've been working with Azure RMS for a couple of weeks with no problem but all of a sudden I can't get Office 2013 to update the custom templates I've been creating on m[More]

Office 2013 VL App-V 5 packages

Category:DefaultRelease time:2015-10-11Views:130

Hi, We are currently assessing the possibility of deploying Office 2013 as an App-V package since support for VL was announced with MDOP 2013 R2.  I would like to create three independent packages: Office 2013 Project 2013 Visio 2013.  I have success[More]

Office 2013 Std (local) in combination with Office 2013 Pro (App-V)

Category:DefaultRelease time:2015-10-11Views:130

Hello, I have multiple RDS servers, that have Office 2013 Std installed locally. I did this on purpose, after reading some blogs pointing out Office 2013 is a complicated applicatie to stream well. And of course Office 2013 is highly critical to my[More]

Hot
Is there any way to do this? We use a Time Capsule for daily backups, for both Mac and PCs, and have a printer that we would like to share between all of them. Before, we had the printer connected to a PC as this allowed both PCs and Macs to print to [More]
i would like to know what does "trigger delay","sour delay","NPLC","arm count" do in this example.Please help!! thanks!!=D!! Attachments: 24xx Swp-I Meas-V gpib.llb ‏687 KBI didn't open your example (I'm not at my w [More]
how will i activate my iphone? using my philippines simHi DeadlyAkirra07, If you are having activation issues with your iPhone, you may find the following article helpful: iPhone: Troubleshooting activation issues http://support.apple.com/kb/TS3424 R [More]
Hi, When generating chart book with number of levels 3 we are able to get the orgstructure but the page is split with only 2 org units per Page. Ex:    A – B – first page ( 2 org Units)           C-G - Second page. Getting the below org units in one [More]
Hi Folks, I have Aperture 2.1 installed on my Mac. When I try to install the 2.1.4 update, it quits by saying "Aperture 2.0 or later is required to install this update". And Snow Leopard wouldn't let me launch Aperture without this update. Has a [More]
You may find that, after installing the Parallels Desktop and following the directions to create a Virtual Machine and install Windows XP from a CD, the Parallels installer (console window) keeps generating error messages, referring to various corrup [More]
This might be a simple one to fix. Whenever I try to tag myself, the suggestions that come back include 2 versions of me. I always choose the top one, but where on earth is the other one coming from? http://img.skitch.com/20100608-q92ckch6ryxqbmba2nx [More]
In LR 3, when I clicked on the mask tool I could see little circles marking my previous adjustments and I could then click on one of the circles to eliminate it or adjust it.  I don't see that anymore.  Is there a preference I cannot find that I need [More]
Hello all, OK so I do have Event Forwarding working - but I've noticed that when it's first configured I get messages similar to: The description for Event ID 104 from source Microsoft-Windows-Eventlog cannot be found. Either the component that raise [More]
the ituns want password. i didnt know what the passwordPossible, yes.  Every iOS update requires more space than the previous but it's not that much more. Manage the content syncing to the device.Read other 2 answers [More]