Setting Copies in the Win32 Options Array is ignored.
See original GitHub issueSo, i set the options for win32 to 3 copies, as thats what i need.
const options = {
printer: printer_name,
win32: ['-print-settings "3x"']
};
And then i do the print…
ptp.print(filePath, options).then(res => {
console.log('Print Complete');
}).catch(err => {
console.log(err);
});
But i still only ever get 1 copy sent to my printer… Am i doing something wrong?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:14 (10 by maintainers)
Top Results From Across the Web
ignore attribute - Win32 apps - Microsoft Learn
The [ignore] attribute designates that a pointer contained in a structure or union and the object indicated by the pointer is not ...
Read more >How do I print from Emacs on Win32? - Stack Overflow
I'm running Emacs 23.0.60.1, downloaded from here, on Windows XP, with a network printer configured as the default printer. How do I setup...
Read more >Configuration - Electron Forge
Electron Forge configuration is centralized in a single configuration object. You can specify this config in your package.json on the config.forge property.
Read more >Options | electron-packager
Ignores system junk files when copying the Electron app, regardless of the ignore option. Note: junk will have no effect if the prebuiltAsar...
Read more >Installing GCC: Configuration - GNU Project
When directory is one of GCC's system include directories, GCC will ignore the option so that system directories continue to be processed in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hi @sebastianroming. I’ve refactored the
print
method but I forgot about number of copies. Sorry for that! We have an open issue for it https://github.com/artiebits/pdf-to-printer/issues/288. Feel free to work on it!I have released version
1.5.1
with the fix, assume this issue can be closed. thanks everyone!