PDF print does not work properly with timeline view

Hi there, I am trying to ‘print’ (via scheduler to PDF) in the year view using the 05_drag.html example and have modified my html code to include the libraries etc. When I use dhtmlxscheduler.appspot.com/export/pdf the resulting pdf is mostly empty (just outlines) whereas if I change it to generate.php I at least get some data but all the events get pushed to the top of the page. See the attached file for screenshot of the year view, the html and the two PDFs produced either with appspot or with generate.php. All the other views are printing fine.
timeline_view_pdf_problem.zip (416 KB)

Check
viewtopic.php?f=6&t=20137