- 2 sided printer prints upside down brother code#
- 2 sided printer prints upside down brother windows#
"To flip on the long edge, this value would have to be set to DMDUP_VERTICAL"īug 1689412: Fix the mapping between our own printing duplex enum-values and the windows API's corresponding enum-values. here and here, "LongEdge" is matched with DMDUP_VERTICAL So: this seems to have just been a misunderstanding and an easy fix.
2 sided printer prints upside down brother code#
I found references in Chromium's source code and in a delphi forum-post that confirm this mapping, too. So in fact, kDuplexFlipOnSideEdge wants to trigger long-edge binding, which is DMDUP_VERTICAL, not DMDUP_HORIZONTAL. I assume the "binding" edge is the edge that would get bound in a book (and hence also the edge that you'd turn up to flip the page over).
Print double-sided, using short edge binding. In a debug build of current mozilla-central, I do see us hitting nsPrintSettingsWin::CopyToNative, and we correctly read the user-provided Gecko duplex value (which for now is always kDuplexFlipOnSideEdge), and we set aDevMode->dmDuplex = DMDUP_HORIZONTAL, which I think we intend to mean "flip the page horizontally".īut, in fact, that's not what that DMDUP enum value means I think we got it backwards! The documentation for DEVMODEW's dmDuplex member-var says the following about this enum value: I spent a chunk of today looking at this in a debugger, and I'm pretty confident we just got the windows-API enum values backwards here. I've used Kyocera printers with Firefox for over 20 years and NEVER had a compatibility issue, and since you DID auto-install this new feature, I believe it is your duty to make things right ! What this all means is that somehow either Kyocera or Mozilla isn't 100% compliant with some standard or protocol used for printing, yet this is not my problem. Up to a couple of days ago, before your NEW print interface got auto-installed, the printed pages would print normally (A4 portrait MUST flip on LONG side), as they do using my other computer which is still with Firefox v84. Yet I cannot use this printer for everyday office use, as it is an inkjet photo printer (slow and expensive) To be honest with you, I tried printing the Firefox web page on my OTHER printer (Canon Pixma MG7751) and it printed OK in duplex mode. I tried printing the same web page from Chrome, IE, and Edge, which both printed the duplex page OK, as usual. I tried changing the printer default settings in Windows (e.g. Then I noticed that, on the printed sheet, page 1 was OK, while page 2 on the reverse side was UPSIDE DOWN (including Firefox header and footer) I just tried to print (standard default: A4 portrait duplex) my online bank statement displayed as a web page, with Firefox browser (v85.0 - Windows 10) to my KYOCEERA ECOSYS P2040dw duplex printer.įirst I noticed that Firefox had updated to v85.0 and changed the Print interface to a new "Chrome-like" dialog (except no detailed duplex "flip" setting.).