search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How to print day and week in scheduler?

Asked by pushplata
1 month ago.

Hi,

I have to print day and week .
Please guide me how to do it.

Thanks in advance

Answer posted by Dan Letecky [DayPilot]
29 days ago.

The Scheduler can print (or export as image) the current view or a section of it using the exportAs() method.

For more details and an example, please see the documentation:
https://doc.daypilot.org/scheduler/printing/

See also:
https://api.daypilot.org/daypilot-scheduler-exportas/

Comment posted by Anonymous
19 days ago.

How to print for particular day ?

Comment posted by Dan Letecky [DayPilot]
18 days ago.

The following tutorial explains how to export a selected date range in the Scheduler component:

https://code.daypilot.org/73551/html5-scheduler-pdf-export-javascript

It uses area: "range" option to limit the exported dates. You can use similar config it to export a single day:

dp.exportAs("jpeg", {
  area: "range",
  dateFrom: "2022-01-01",
  dateTo: "2022-01-02",
}).print();
New Reply
This reply is
Your name (optional):