https://bugs.winehq.org/show_bug.cgi?id=55718
--- Comment #5 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Piotr Caban from comment #4)
It turns out that winprint print processor updates number of copies to print based on first page DEVMODE. I have written a custom print processor that doesn't do it and it breaks printing in Word 2007 so number of copies is ignored.
Please note that this is a workaround for application bug. It will not work on Windows in some printer configurations (e.g. in v3 drivers when direct printing is used or when custom print processor is used).
I know how to fix it now.
Thanks Piotr. This confirms the result of my testing which shows that printing correct number of copies worked in wine-4.0, and was broken between wine-4.1 and wine-4.2 by the following commit
commit c4a54852952a59c3129beac78c08cad56643fe22 Author: Dmitry Timoshkov dmitry@baikal.ru Date: Wed Feb 13 11:40:30 2019 +0000
wineps.drv: PostScript header should be written by StartDoc instead of StartPage.
This commit fixes a test case, so it's correct. However it shows that DEVMODE seen by StartPage() contains correct number of copies while StartDoc() sees DEVMODE with wrong dmCopies value. That essntially confirms your finding.