---
id: "print-events"
kind: "web-feature"
canonical: "https://timetostable.com/feature/print-events"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# Print events (`print-events`)

An alternative to @media print queries, the beforeprint and afterprint events allow you to change the page for printing and restore the page after printing.

- **Group**: Print media
- **Baseline**: Widely Available
- **Newly Available Date**: 2019-09-19
- **Widely Available Date**: 2022-03-19
- **Specification**: https://html.spec.whatwg.org/multipage/indices.html#event-afterprint
- **Constituent BCD keys**: 2

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Firefox | 6 | 2011-08-16 |
| Firefox for Android | 6 | 2011-08-16 |
| Edge | 12 | 2015-07-29 |
| Chrome Android | 63 | 2017-12-05 |
| Chrome | 63 | 2017-12-06 |
| Safari | 13 | 2019-09-19 |
| Safari on iOS | 13 | 2019-09-19 |

