Comments (12)
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!
from pdf-to-printer.
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.
from pdf-to-printer.
Hi @jablonskipj, thanks for reporting the issue. There is a big discussion about how to implement options #19 but we still didn't find a proper solution. Any ideas? ;)
from pdf-to-printer.
Hi @jablonskipj, i've published [email protected]
version with the solution that should solve your problem #70. Maybe the solution is not that good but can be improved later.
from pdf-to-printer.
@artiebits thank you for the answer. I will take a look at it this week, so I will be able to give feedback soon :)
from pdf-to-printer.
@artiebits I have one question. do you want me to make the Code Review if the solution will be working?
from pdf-to-printer.
Hi @jablonskipj, I've merged PR #70, if it solves your problem then I think this issue can be closed. Thanks!
from pdf-to-printer.
@artiebits great, thanks!
from pdf-to-printer.
@artiebits I have to report other problems with the printing size after the uptade. I have used both win32: ['-print-settings "2x"']
and win32: ['-print-settings "fit"']
and it does not work for the Zebra printer. After I execute the print
method with these options the printer does not change the size of the resulting print, but the function also throws info to the catch callback
C:\\node-printer-server\\node_modules\\pdf-to-printer\\dist\\SumatraPDF.exe -print-to-default -print-settings \"2x\" -silent C:\\Users\\admin\\Downloads\\t.pdf
or
C:\node-printer-server\node_modules\pdf-to-printer\dist\SumatraPDF.exe -print-to-default -print-settings "fit" -silent C:\Users\admin\Downloads\t.pdf
from pdf-to-printer.
not sure if it helps but I found that when I implemented options I made a mistake, I was passing options to execFile
in the wrong format. I released version 1.1.1-beta.1
with the fix. Unfortunately, I don't have access to a Windows machine anymore. Maybe you can try this version and say if it helps...
Sorry for these issues!
from pdf-to-printer.
Hi, I'm trying on windows with version 1.1.1-beta.1 and it doesn't work with both '-print-settings "2x"' and '-print-settings "fit"'. I've tried with SumatraPDF.exe v3.0.0, 3.1 and 3.1.1
from pdf-to-printer.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from pdf-to-printer.
Related Issues (20)
- Question about defaultPrinter HOT 3
- Print multiple pages per sheet HOT 1
- Large PDF Size When Printing HOT 3
- Blank space at top of paper when printed HOT 5
- SumatraPDF.exe loading from dist_electron rather than node_modules/pdf-to-printer folder HOT 2
- Support paperSize A7 HOT 2
- Support PaperSize Halfletter HOT 6
- Bug: noscale + portrait print landscaped document HOT 2
- Printer response HOT 8
- win7 32bit print pdf throw error HOT 1
- Paper size required HOT 5
- Performance loss when multiple requests HOT 2
- Not working with 32 bit systems HOT 3
- Not working on Linux: Operating System Not Supported HOT 1
- [Feature Request] Add "PrinterPaperNames" property in getPrinters and getDefaultPrinter methods HOT 3
- Wrong's characters in Epson
- papersize, specified in mm does not work
- Obtaining garbled characters when the printer name contains Chinese
- Module not working with Windows 7 HOT 1
- Crash on getPrinters
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdf-to-printer.