crabbly / crabbly/Print.js

PrintJS not working in android when printing pdf

Open
#716 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.5k
Forks
688
PR merge metrics
No merged PRs in 30d

Description

When testing the [Print.js](https://printjs.crabbly.com) library across different platforms and browsers, I noticed inconsistent behavior. Below are the detailed observations:

1. **Windows** (Edge, Chrome): Everything on the Print.js website works as expected, including printing forms, elements, images, and PDFs.
2. **iPhone** (Safari): The website also works perfectly. All features, including PDF printing and base64 PDF printing, are functional.
3. **Android** (Chrome, Edge): While most functionalities (printing forms, elements, and images) work correctly, printing PDFs or base64 PDFs does not work. Clicking the respective buttons does not trigger the printing process.

**Compatibility Table**

| **OS** | **Print Form** | **Print Elements** | **Print Images** | **Print PDFs** | **Printing PDFs Base64** |
|------------|----------------|---------------------|------------------|----------------|--------------------------|
| **Windows** (Chrome) | ✅ | ✅ | ✅ | ✅ | ✅ |
| **Windows** (Edge) | ✅ | ✅ | ✅ | ✅ | ✅ |
| **iPhone** (Safari) | ✅ | ✅ | ✅ | ✅ | ✅ |
| **Android** (Chrome) | ✅ | ✅ | ✅ | **❌** | **❌** |
| **Android** (Edge) | ✅ | ✅ | ✅ | **❌** | **❌** |

And you can try it yourself

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.