FS#58014 - [wine] 3.4-2 available printer's paper/page size list is limited by WINEPS

Attached to Project: Community Packages
Opened by luke (justuser) - Thursday, 29 March 2018, 07:49 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 07 April 2018, 03:24 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

For example: there is no possibility to select paper size bigger than A3 (A0, A1, A2) when printing from wine apps.

Additional info:
Linux archbox 4.15.13-1-ARCH #1 SMP PREEMPT Sun Mar 25 11:27:57 UTC 2018 x86_64 GNU/Linux
wine 3.4-2
cups 2.2.6-4
cups-pdf 3.0.1-4

Steps to reproduce:
1. in cups install or configure Generic CUPS-PDF Printer (named i.ex.: CUPS-PDF)
I have only this virtual printer installed in my system (it's set as default).
2. to see list of available paper size:
lpoptions -l or lpoptions -p PRINTER-CUPS-PDF -l
PageSize/Page Size: Custom.WIDTHxHEIGHT 11x14 11x17 13x19 16x20 16x24 2A 4A 8x10 8x12 A0 A1 A2 A3 *A4 A5 AnsiA AnsiB AnsiC AnsiD AnsiE ArchA ArchB ArchC ArchD ArchE C0 C1 C2 C3 C4 C5 Env10 EnvC5 EnvDL EnvMonarch Executive ISOB0 ISOB1 ISOB2 ISOB3 ISOB4 ISOB5 JISB0 JISB1 JISB2 JISB3 JISB4 JISB5 Ledger Legal Letter RA0 RA1 RA2 RA3 RA4 SRA0 SRA1 SRA2 SRA3 SRA4 SuperA SuperB TabloidExtra Tabloid

3. run notepad
4. go: File / Printer setup
5. check Paper size list:
there is only A3, A4, A5, B5, Envelope #10, Envelope B5, Envelope C5, Envelope DL, Envelope Monarch, Executive, Legal, Letter

4. run inkscape (or any linux application)
5. set large page size i.ex. A1 594x841 mm (23.38x33.11 inch)
6. go: File / Print
7. on General tab select PRINTER-CUPS-PDF
8. on Page setup paper size is correct 594x841 mm (23.38x33.11 inch)
9. pdf file has also correct paper size

In the same manner I'd like to create pdf printouts in IntelliCAD runnig under wine, but the list of paper size is the same as in notepad (this list is probably hardcoded, as I suspect, in wine).
The similar issue was descripted here: https://forum.winehq.org/viewtopic.php?f=8&t=26373.

I try hard, but english is not languge of my mother.
Best regards.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Saturday, 07 April 2018, 03:24 GMT
Reason for closing:  Upstream
Additional comments about closing:  Pretty sure this is an upstream problem. Ask them and if they say that I can do something here on the packaging side, reopen this.
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 29 March 2018, 14:22 GMT
Are you sure this is a packaging bug and not an upstream wine problem?
Comment by luke (justuser) - Friday, 30 March 2018, 11:12 GMT
Quote (https://forum.winehq.org/viewtopic.php?f=8&t=26373):
"What makes me believe that this belongs to Wine is that that same list occurs (in the same order) between line 488 and line 499 of /usr/lib/winspool.drv.so"

Can you verify if that file (or which file) is used in package?
I'm sure you have much more knowlege what sourcecode is proper.
I've spent two days looking for solution, before I've reported this problem.
After reading documentation of Wine (and forum's pages) my conclusion is:
there is need to have proof there is no problem somewhere else beside
upstream wine, before report issue to WineHQ

I'm completely new linux user but I'm happy, I moved out from windows.
Unfortunately, sometimes I make money with my CAD software and
I really need to create large printouts.
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 02 April 2018, 01:09 GMT
Well /usr/lib/wine/winspool.drv.so exists but I'm still not sure what I can do here inside the package.

Loading...