Samuel Rouse

Results 42 comments of Samuel Rouse

I've researched this somewhat, and the answer isn't good. Non-Safari browsers on iOS do not support the programmatic `window.print()` function. You can test this with this basic JSFiddle: https://jsfiddle.net/_sir/jxr7uex6/ This...

Is the content being printed in a floating or positioned container? As it says in the Wiki's [Basic Troubleshooting](https://github.com/jasonday/printThis/wiki/Troubleshooting-Printing-Problems) page > Firefox has known issues cutting off content in floated...

I'm reopening this and looking to add this functionality behind a flag, disabled by default to maintain backward compatibility. In the short-term, @robcowen If you use the `beforePrint` function to...

@robcowen By setting `importStyle: true` I am successfully seeing CSS variables propagated into the print. Can you verify this for your use case? https://jsfiddle.net/_sir/142hb9rk/

This fix appears to have Chrome on iOS printing the entire page rather than just the requested area. I put together two test pages in Codepen: [base test](https://codepen.io/_sir/pen/qBERvqV) [PR 194...

While it's not an event, [1.14.0](https://github.com/jasonday/printThis/releases/tag/v1.14.0) has added support for functions including an `afterPrint` function.

This is the same issue as #137 Users only experience the issue if they cancel the first print. We do not have a workaround at this time. The native `afterprint`...

I had crazy visions of making the various features into *modules* that could be loaded.

Additional question: Do you want to set a browser support limit for 2.0?

Added a 2.0 project: https://github.com/jasonday/printThis/projects/1