https://bugs.winehq.org/show_bug.cgi?id=55670
Bug ID: 55670 Summary: Word 2007 and Wordpad are no longer able to print multiple copies of a page Product: Wine Version: 8.16 Hardware: x86-64 OS: Linux Status: NEW Keywords: regression Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dmitry@baikal.ru CC: piotr@codeweavers.com Distribution: ---
This problem has been noticed with Word 2007 however it's also possible to reproduce with wordpad ('wine write' is a nice wrapper to run wordpad).
Steps to reproduce: 1. wine write 2. Ctrl+P (File -> Print), it's fine to print empty document 3. Select "Print to file", set "Number of copies" to 2, select Pages 1 - 1 for clarity 4. Press OK, save "output.prn".
When the bug is not present output.prn contains the comment %%cupsJobTicket: copies=2 otherwise this comment is missing from the generated Postscript file.
According to my testing last version of Wine that was able to correctly print multiple copies is wine-7.22, wine-8.0-rc1 is already broken.
It's not really possible to correctly find the offending commit because breakage has side effects like a failure to create "output.prn". If a missing output.prn could be considered as 'bad' during bisection then the regression is caused by $ git bisect bad 017e9557db73a4b51b5cb2eacbf638288b5e6719 is the first bad commit commit 017e9557db73a4b51b5cb2eacbf638288b5e6719 Author: Piotr Caban piotr@codeweavers.com Date: Fri Dec 2 21:23:50 2022 +0100
localspl: Use print processor in ScheduleJob.
Wine with this commit reverted writes correct "output.prn" with %%cupsJobTicket: copies=2, however using Wine with that commit leads to a missing "output.prn".
P.S. wine-8.0 is not able to print to a file (missing "output.prn") wine-8.0.2 is able to create "output.prn" however %%cupsJobTicket: copies=2 is missing As a result with wine-stable it's impossible to print multiple copies of a page.
I'd personally consider this bug as major, especially when stable Wine release is affected, however I'll leave to Piotr to decide.