You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Document-Processing/PDF/PDF-Viewer/javascript-es6/print/events.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
layout: post
3
3
title: Print Events in TypeScript PDF Viewer | Syncfusion
4
-
description: Learn about print events in the Syncfusion TypeScript PDF Viewer component.
4
+
description: Learn how to configure print events and track usage and implements workflows in the Syncfusion TypeScript PDF Viewer component.
5
5
platform: document-processing
6
6
control: Print
7
7
documentation: ug
@@ -10,18 +10,18 @@ domainurl: ##DomainURL##
10
10
11
11
# Print events in Typescript PDF Viewer
12
12
13
-
Subscribe to print lifecycle events to track usage and implement custom workflows.
13
+
Subscribe to print life cycle events to track usage and implement custom workflows.
14
14
15
15
| Name | Description |
16
16
|--------------|-------------|
17
17
|`printStart`| Raised when a print action begins. Use the event to log activity or cancel printing. |
18
18
|`printEnd`| Raised after a print action completes. Use the event to notify users or clean up resources. |
19
19
20
20
## printStart event
21
-
The [`printStart`](https://ej2.syncfusion.com/documentation/api/pdfviewer/#printstart) event runs when printing starts from the toolbar or from code. Use it to validate prerequisites or cancel the action.
21
+
The [`printStart`](https://ej2.syncfusion.com/documentation/api/pdfviewer#printstart) event runs when printing starts from the toolbar or from code. Use it to validate prerequisites or cancel the action.
22
22
23
23
### Event arguments
24
-
Review [`PrintStartEventArgs`](https://ej2.syncfusion.com/documentation/api/pdfviewer/printStartEventArgs/) for details such as `fileName` and the `cancel` option.
24
+
Review [`PrintStartEventArgs`](https://ej2.syncfusion.com/documentation/api/pdfviewer/printStartEventArgs) for details such as `fileName` and the `cancel` option.
25
25
26
26
The following example logs the file that is being printed and shows how to cancel the operation.
The [`printEnd`](https://ej2.syncfusion.com/documentation/api/pdfviewer/#printend) event triggers after printing completes. Use it to finalize analytics or inform users that printing finished.
68
+
The [`printEnd`](https://ej2.syncfusion.com/documentation/api/pdfviewer#printend) event triggers after printing completes. Use it to finalize analytics or inform users that printing finished.
69
69
70
70
### Event arguments
71
-
See [`PrintEndEventArgs`](https://ej2.syncfusion.com/documentation/api/pdfviewer/printEndEventArgs/) for available values such as `fileName`.
71
+
See [`PrintEndEventArgs`](https://ej2.syncfusion.com/documentation/api/pdfviewer/printEndEventArgs) for available values such as `fileName`.
0 commit comments