SumatraPDF version
Describe the bug
When printing a prescription PDF through SumatraPDF inside an Electron application, the output always prints in landscape, even though the document is intended to be portrait. SumatraPDF appears to auto‑rotate the file based on its own internal logic or the printer defaults.
Expected behavior
PDF should print in portrait orientation exactly as designed, without SumatraPDF auto‑rotating the content or defaulting to landscape
Screenshots
Attached the screenshots
Additional context
I am attaching pdf generated by sumatra (top one) and by the java print (bottom).

SumatraPDF version
Describe the bug
When printing a prescription PDF through SumatraPDF inside an Electron application, the output always prints in landscape, even though the document is intended to be portrait. SumatraPDF appears to auto‑rotate the file based on its own internal logic or the printer defaults.
Expected behavior
PDF should print in portrait orientation exactly as designed, without SumatraPDF auto‑rotating the content or defaulting to landscape
Screenshots
Attached the screenshots
Additional context
I am attaching pdf generated by sumatra (top one) and by the java print (bottom).