crabbly / crabbly/Print.js

Error printing before pdf preview is complete

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

Description

Clicking print in the Chrome or Firefox preview before the pdf file is fully loaded I get the following error.

"An error occurred while trying to print. Please check the printer and try again."

If I wait for the preview to fully load it works fine. Some clients are not so patient. 🤷🏻‍♂️

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue by clicking print in the Chrome or Firefox PDF preview before the file finishes loading, then repeat after it completes. Trace the library's print flow around PDF preview loading and identify why the early action produces the printer error; done means printing succeeds without waiting for the preview to finish loading.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.