Blank space at top of paper when printed
Qurishe opened this issue · 5 comments
Describe the bug
@artiebits I get extra white space at the top of the paper (you can see it below in pictures) when using this library.
But when i printed the pdf using Microsoft Edge, the extra space was much less than the one printed with the library.
To Reproduce
Steps to reproduce the behavior:
- Should print the pdf from the top.
Expected behavior
Currently the printed paper wastes a lot of white paper. There shouldbe a way to consume paper based on pdf size (height).
Screenshots
This one is printed with the library and there is a lot of blank space at the top.
The left one is printed using Microsoft Edge which has less blank space than before.
Additional context
Add any other context about the problem here.
Hi! It might be an issue with SumatraPDF that we use as a dependency to print files. I have bumped its version and published a beta version pdf-to-printer@5.4.0-beta.0
. Could you please test it and let me know if it works?
Thank you, I will test it and will let u know!
Well, i had no luck, i haven't yet tested the beta which @artiebits fixed.
I tested another module called node-pdf-printer which worked pretty well.
hi guys! I am closing this issue because If release v5.4.0 didn't help then I am afraid there is nothing I can do within this package because it uses SumatraPDF to print files