If you design a landscape report and attempt to print it on a printer where the paper is set to portrait, then you get the following message displayed;
Current printer paper size is different than the report's paper size. Do you want to scale the content to fit?
It does make some sens that this message is displayed but it does confuse users who's response is always going to be 'well, I don't have this problem with Word...'.
Is there some way we can override this message appearing and just automatically select the option to override the printer paper size?
If this is not currently possible could I please request that it be included in a future release?
Many thanks.
I am also having this issue. Is there any way to override the printer page layout? If the report is landscape then it should print landscape without the user being warned about page sizes.
Hi Obi Wan,
No, I have not found a solution to this. Infragistics answer is that it is the OS so there is nothing they can do about it. Other applications that print landscape don't seem to have the problem so it is a bit disappointing.
The suggestion was to intercept the printer request when it goes into the print queue and unify it's settings in there. I haven't got the faintest idea how to do that and it sounds complex and problematic.
The only solution I have found is to train the users to click No. It is not a nice answer and it is pretty embarrassing but it appears to be the only way.
Perhaps these are not the reporting components that you are looking for........
Hello Tim,
There is similar method. Please take a look on http://help.infragistics.com/Help/Doc/Reporting/2013.2/CLR4.0/html/InfragisticsWPF4.Controls.Reports.v13.2~Infragistics.Controls.Reports.XamReportViewer~Print(PaperSettings,PrintQueue,PageRange,Boolean).html
In your scenario, you could use external button instead of default Print button.
Let me know if you have any further questions.
Regards
Hi
Is this something that will be rectified in the 14.1 release?
I had a user contact me today about this and I came across this thread in my research.
I can't see that telling every user to select No is a valid solution. Or even having my own Print button as I have over 20 reports and only one is landscape.
Kr
Robin
What would be a solution when using Silverlight?
Hello Robin,
Currently the suggestion Georgi shared, using external button, seems to be the best one for achieving the functionality you want. If you want this to be built in you can suggest it as new product idea here:
http://ideas.infragistics.com.
There are many benefits to submitting an product idea:
- Direct communication with our product management team regarding your product idea.
- Notifications whenever new information regarding your idea becomes available.
- Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
- Allow you to shape the future of our products by requesting new controls and products altogether.
- You and other developers can discuss existing product ideas with members of our Product Management team.
Steps to create your idea:
The Product Idea site puts you in the driver’s seat and allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Thank you for contacting Infragistics.
In my mind this is a bug and not a new idea. If the report is set as landscape, then I expect it to print in landscape.
Having my own print button is a workaround and not a good one if I'm using Silverlight. How do I access the page settings of the printer from Silverlight?
Hi,
I am having this same problem. reports are configured Letter size, Landscape. submission based on binding.
<ig:XamReportViewer x:Name="ReportViewerUC" Background="#FFC8C8C8" ExportCompleted="ReportViewerUC_ExportCompleted" >
<ig:XamReportViewer.RenderSettings>
<ig:ClientRenderSettings x:Name="ClientSetting1" DefinitionUri="{Binding DefinitionUrlString} " />
</ig:XamReportViewer.RenderSettings>
</ig:XamReportViewer>
Should there be something put in place to dictate an expected landscape print orientation. Seems like the orientation is ignored.