https://bugs.winehq.org/show_bug.cgi?id=57889
Bug ID: 57889 Summary: Prntvpt (Print Ticket API): printing is cropped in landscape orientation Product: Wine Version: 10.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: spooler Assignee: wine-bugs@winehq.org Reporter: lxndrkrlv@gmail.com Distribution: ---
Created attachment 78114 --> https://bugs.winehq.org/attachment.cgi?id=78114 Sample application and printer output example
If I print the document to any printer (including Cups-PDF) and set page orientation to landscape, output is cropped by width of portrait A4 sheet.
In attachments: 1. Demo application with source code (.Net 4.8) 2. Example of output to virtual PDF printer
https://bugs.winehq.org/show_bug.cgi?id=57889
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|spooler |-unknown
--- Comment #1 from Dmitry Timoshkov dmitry@baikal.ru --- Why do you think that it's a prntvpt bug? Does it help if you change Portrate to Landscape orientation in the Properties dialog?
https://bugs.winehq.org/show_bug.cgi?id=57889
--- Comment #2 from Alexander lxndrkrlv@gmail.com ---
Why do you think that it's a prntvpt bug
Bug is only affects on WPF printing that use PrintTicket API. Standard GDI printing from Windows Forms works fine on any page orientation
Does it help if you change Portrate to Landscape orientation in the Properties dialog?
No, if i change Portrate to Landscape orientation in the Properties dialog printing is cropped also
https://bugs.winehq.org/show_bug.cgi?id=57889
--- Comment #3 from Alexander lxndrkrlv@gmail.com --- I seen this bug in another WPF application, but this application is very big. I attached small test application with Bug repro
https://bugs.winehq.org/show_bug.cgi?id=57889
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Keywords| |printing Status|UNCONFIRMED |NEW
--- Comment #4 from Dmitry Timoshkov dmitry@baikal.ru --- https://gitlab.winehq.org/wine/wine/-/merge_requests/7535 should improve things.
https://bugs.winehq.org/show_bug.cgi?id=57889
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |106c506180e432a2ff8cd66db77 | |8e66cedefb590 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #5 from Dmitry Timoshkov dmitry@baikal.ru --- Should be fixed by 106c506180e432a2ff8cd66db778e66cedefb590.
https://bugs.winehq.org/show_bug.cgi?id=57889
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.4.