question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Possibility to set the print size

See original GitHub issue

Describe the solution you’d like I have a problem with the size of the printed label on the Zebra printer. I have a label that has to be 10x15 and when I print it manually out of the pdf file it is printed correctly (10x15), but when I have printed the same pdf using the library the end result is 70% of the destination size.

Describe alternatives you’ve considered I was thinking about the printer configuratiin but I have ended up with the solution that was acceptable.

Additional context Maybe we could provide the printing size via additional params that we are able to pass to the print function?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
artiebitscommented, Nov 21, 2019

Sorry to hear this. Could you please download SumatraPDF.exe v3.0.0 (the version we currently use) and try to run it with -print-settings "2x" and -print-settings "fit" and see if it works. Also, I would suggest trying SumatraPDF.exe version v3.0.1, if it solves the problem then we can upgrade the version. Thank you.

1reaction
artiebitscommented, Nov 18, 2019

Hi @jablonskipj, please do if you want to review and give suggestions. But installing this beta version into your project and saying if it works or not is enough as well 😃. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Scale the sheet size for printing - Microsoft Support
Print a sheet to fit the page width ... On the Page Layout tab, select Page Setup. ... On the Page tab, select...
Read more >
How To Set Up a Printer to Print on Custom Paper Sizes.
1. Gather Your Measurements for the Custom Paper Size. Our first step will be to make sure we have the right measurements. ·...
Read more >
Set paper size, page orientation, and margins in Pages
Set paper size, page orientation, and margins · Click the Document button in the toolbar, then click the Document tab in the sidebar....
Read more >
HP printers - Create custom paper sizes
Open the item you want to print, click File > Page Setup. Select Manage Custom Sizes from the Paper Size menu to open...
Read more >
How To Set Scaling (Reduce/Enlarge) Options for Print Jobs
Click on the Paper, and then select Other Size > Advanced Paper Size > Scaling Options. Select an option: No Scaling: This option...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found