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.
Thanks for the quick response timsmithCPL. I quite agree that getting users to click 'No' just to print report in the layout it is presented on screen is far from ideal. I am unsure how one would intercept the printer request. Perhaps someone from infragistics could advise whether a solution has been found for this? It seems a fairly straightforward requirement.
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........
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.
Hello,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
If this is what you were looking for please verify the answer so it helps other users as well.
I have been looking into your requirement for some time now and I haven’t been able to find an approach for this using our exposed functionality. This appears to be because the message prompt comes from MS’s printer UI and not from our sending of the work item to the printing queue. I can suggest looking into the MS printing classes (e.g. PrintSettings, PrinterQueue) to see if you can intercept a queue item and unify its settings with those of the printer, so that there is no difference and no message is required.
Hope this helps. Please let me know if you require any further clarification on the matter.