DayPilot Forums

DayPilot is the best open-source Outlook-like calendar control for ASP.NET.
DayPilot Pro Demo (Calendar control)
» DayPilot Pro live demo (Calendar control)
DayPilot Pro Demo (Scheduler control)
» DayPilot Pro live demo (Scheduler control)
Home » How To » Printing Scheduler

Printing Scheduler

Hi Dan,

I am using the latest release of the daypilot scheduler and have trouble with printing.

I am using the following:

ViewType="Days"
HeightSpec="Auto"
ScrollPosition="25/02/08 07:00"
BusinessBeginsHour="7"
BusinessEndsHour="18"

All this works when viewing it but when printing it starts from 0 - 13 and so misses the end off, any ideas would be much appreciated.
Tom - 2/25/2008 4:28:16 PM
It seems that it ignores the scrollbar position when printing. A workaround could be to shorten the cell duration so it fits the page.

In DayPilotCalendar it's possible to skip the non-business hours for printing but in DayPilotScheduler you always have to start at 00:00.

The printing is troublesome - it's optimized to render properly in the main browsers but that's not always what the printer likes... The final solution would be to export a PNG image (but the current code is not much reusable for that, it will have to be started from scratch). See also here: http://forums.daypilot.org/Topic.aspx/214/export_to_exceloutlook

Dan Letecky - 2/25/2008 5:09:23 PM
Post reply