Printing mediaSize not being used with printers on Windows
See original GitHub issueI opened an issue about mediaSize not being used on Windows #5176. I am very grateful to have gotten such a quick response, and while the gist provided does work, changing the print from using pdf_path
to using any printer does not seem to work. I’ve tried both microsoft’s print to pdf and physical printers.
win.print({
'printer':'Microsoft Print to PDF',
'mediaSize':{
'name': 'CUSTOM',
'width_microns': 241300,
'height_microns': 104648,
'custom_display_name':'Letter',
'is_default': true},
"marginsCustom": {
"marginBottom":54,
"marginLeft":0,
"marginRight":28,
"marginTop":32},
"marginsType":3
})
I am on NW.js v0.16.0 and Windows 10.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Selected media size does not work for print jobs on a printer in ...
Fixes an issue that occurs when you select a specific media size for a print job on a printer that uses a v4...
Read more >Unable to auto-duplex and 2-sided printing fails after installing ...
Make sure a Windows Quick Set is not selected that contradicts the desired ... might not be supported for the media size or...
Read more >How to set up Illustrator files for printing - Adobe Support
Print a composite of artwork. A composite is a single-page version of artwork that corresponds to what you see in the illustration window—in ......
Read more >Tutorial - Printing from Illustrator to Epson Inkjet Printers
In the Media Size heading, check to make sure Media Size is set to Defined by Driver, and that the Orientation is set...
Read more >How to configure your printer by web browser - Brother support
This option is used to set the media size, select the media sensor type and the print method. Media Setup. Calibration Setup
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
I can reproduce this issue on Windows 10 with nwjs-sdk-v0.21.5, the output pdf is always
A4
.Any updates on this issue?