custimize print scheduler with heading text and logo

hello team,

I want to print the scheduler with a specific heading text (like my organization name) and also print my logo on top of the page, and I didn't find any way in your site, please help to find out.

I am using this code.

public onActionBegin(args: ActionEventArgs & ToolbarActionArgs): void {
if (args !== undefined && args !== null && args.requestType !== undefined && args.requestType !== null) {
if (args.requestType === 'toolbarItemRendering') {
const exportItem: ItemModel = {
align: 'Right',
showTextOn: 'Both',
prefixIcon: 'e-icon-schedule-print',
text: 'Print',
cssClass: 'e-print',
click: this.onPrintClick.bind(this)
};
args.items.push(exportItem);
}
}
}

public onPrintClick(): void {
const printOptions: ScheduleModel = {
width: '1400px',
views: [
{
option: this.scheduleObj.currentView,
startHour: '6:00',
endHour: '24:59',
timeScale: this.timeScale1,
},
],
};
this.scheduleObj?.print(printOptions);
}

1 Reply

RR Ram Raju Elaiyaperumal Syncfusion Team March 20, 2024 02:10 AM UTC

Hi Prateek,

We considered your requirement "Provide support to beforePrint event to modify the scheduler before printing” as a feature request and it will be included in any of our upcoming release. You can track the status through the following feedback link:


Feedback link: https://www.syncfusion.com/feedback/51913/provide-support-to-beforeprint-event-to-modify-the-scheduler-before-printing


Regards,

Ram


Loader.
Up arrow icon