This is a migrated thread and some comments may be shown as answers.

PrintedDocument not same as print preview

3 Answers 158 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
fazera
Top achievements
Rank 1
fazera asked on 26 Apr 2020, 09:43 AM
Hi everyone, why my printed document is not same as print preview? Here I attach my snap code and the result.

3 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 29 Apr 2020, 11:11 AM
 

Hello, Fazera,

The following help article demonstrates a sample approach how to create a RadPanel that is added onto the form and can be printable together with its content: https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/printing-support/how-to/create-prinatble-panel

I have attached my sample project for your reference. On my end I am using PrimoPDF for simulating a printer and the preview dialog displays the same result as the output printed file:

Please refer to the attached sample project and give it a try.

I hope this information helps.  

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
fazera
Top achievements
Rank 1
answered on 05 May 2020, 03:27 AM
Hi Dess. Thank you for given the sample project. I try that project and try to re-scale the size of the content. And the attachment picture shows the result. How can I print all the content fit to A4 size? As you can see in the print preview its look okay, but when I print, its just print half of the content.
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 07 May 2020, 09:52 AM

Hello, Fazera, 

According to the provided screenshots, it seems that the preview is OK and the content fits to the available page size of the printer. However, the output doesn't seem to be correct on your end even though it auto fits.

Due to our home office policy because of the current world situation, I don't have access to a real printer. That is why I used PrimoPDF to simulate a printer and test locally with A4 paper size. Could you please have a look at the attached gif file and specify what in the performed steps differs on your end when printing?

I would like to note that the Print Preview dialog offers adjusting the print settings and choosing a specific paper size: 

When a different size is selected, it affects the printed output. I would recommend you to test with choosing a different paper size and see how it wold behave on your end?

I am looking forward to your reply.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
General Discussions
Asked by
fazera
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
fazera
Top achievements
Rank 1
Share this question
or