crabbly / crabbly/Print.js

Cannot print on Android phone or Chrome with device toolbar

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

Description

If I access https://printjs.crabbly.com/ from my Android Phone (Chrome) and try the first "Print PDF" example, nothing happens.
I only seem to encounter this problem with PDF files. I am able to print other types such as HTML or JPG.

It is possible to replicate the same bug if you enter the webpage in Chrome and toggle on the device toolbar.

I have tried to implement print-js (1.5.0) in a vue application and here I experience the same problems. Works fine on normal size chrome. All Firefox sizes and all Safari sizes.

Phone:
Samsung Galaxy S20
Android 11

If i look in the network tab I can see the following call:
Request URL: blob:https://printjs.crabbly.com/df1f7828-96f6-4b44-8521-151111c9e13a
Request Method: GET
Status Code: 200 OK
Referrer Policy: strict-origin-when-cross-origin

Response:

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.