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

PDF Export is not printer friendly

3 Answers 241 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 10 Sep 2019, 10:43 PM

It seems the exported content is too big and only exports to a single page.  So the issue is that when you open in Adobe and print you have to scale the content down in order to fit the schedule onto a single sheet of paper.  When you do this you lose a lot of quality in the print out where grid lines start disappearing.  I have tested this with the demo app on the documentation and attached a screenshot of what happens to my print view

https://www.telerik.com/kendo-angular-ui/components/scheduler/pdf-export/

 

what are the options available to make these exports more printer friendly?  I noticed on the PDF-Export Component there are alot more options available but on the kendo-scheduler-pdf component many of those options are not available.  It's seems that allowing the PDF to span multiple pages would solve most of the issues as such drastic scaling wouldn't be necessary but I don't see any way to do that with the current kendo-scheduler-pdf component.

 

3 Answers, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 12 Sep 2019, 08:21 AM

Hello James,

Indeed, this is a known limitation due to the current rendering implementation of the Scheduler component. As the content is rendered within a table, there is no reliable way to break it into pages appropriately. I apologize for the caused inconvenience.

If you have the time, please submit a feature request to our Feedback portal briefly describing the desired feature (for example change the Scheduler rendering so that DIV elements are used instead of a table), and the use case for such an enhancement (for example - the ability to break the PDF export into pages):

https://feedback.telerik.com/kendo-angular-ui

We will track the customer demand for this request in our portal, and will consider implementing this enhancement, based on the interest, and the estimated business value. Thank you in advance.

Regards,
Dimiter Topalov
Progress Telerik

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
James
Top achievements
Rank 1
answered on 12 Sep 2019, 05:46 PM

Hi Dimiter,

Yes I understand the issue now and in reality the PDF doesn't matter much, I really just need to reliably print the schedule somehow.  There is issues even when printing the scheduler directly from the page.  The main issue I have now is that print losses the some of the grid lines, but some remain.  I don't know what is causing that and if there is specific CSS that can be used to force the grid lines to be retained or darkened.

 

Right now I am creating a "print friendly" version of my schedule with modified CSS to reinforce all the grid lines thickness and color.  I also enforce height and width of the container which helps set the layout to the dimensions of the paper size.  But the same issue persists that it looks fine on the browser but when I print I lose random grid lines.  I cannot figure out what is causing this or how it can be fixed.  Is this due to the same issue you mentioned above??

 

Trying to print the demo app also has these same issues so it's not something I am doing

https://www.telerik.com/kendo-angular-ui/components/scheduler/

 

I have attached screenshots of my scheduler and what the print looks like.  You can see on the print screen you have blocks such as Sunday 7:45am - 8:00:am where the lines just disappear.  These random occurrences happen all throughout the schedule, I only took a snippet here for an example.

 

0
James
Top achievements
Rank 1
answered on 12 Sep 2019, 09:53 PM
Please ignore my last post.  Turns out it was a printer issue.  When i switched printers the grid lines did not disappear any longer.
Tags
Scheduler
Asked by
James
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
James
Top achievements
Rank 1
Share this question
or