[Bug 37304] New: Different paper size enumerations between cloned printers

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Sep 23 04:03:07 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=37304

            Bug ID: 37304
           Summary: Different paper size enumerations between cloned
                    printers
           Product: Wine
           Version: 1.6.2
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wineps.drv
          Assignee: wine-bugs at winehq.org
          Reporter: ralf.habacker at freenet.de

Created attachment 49616
  --> https://bugs.winehq.org/attachment.cgi?id=49616
Fix bug using different enumeration value on user defined paper size (patch)

wine returns different user defined printer paper size enumerations on
identical printers. On Windows 7 32bit I tested this behavior with two
pdfcreater based printers and for both printer the same user defined paper size
value is returned. 

How to reproduce: 

1. Create a printer with a postscript level 2 driver and at (I used file output
for example file://tmp/printer1)
2. Create a second printer with a postscript level 2 driver (I used file output
for example file://tmp/printer2)
3. run
   WINEDEBUG=+psdrv wine notepad

4. open print settings
5. choose printer1 and set paper size to a user defined page size (for example
A1 or A0)
6. close print setting
7. open print settings 
8. inspect trace for dmPaperSize struct member  
9. select printer2 
   -> indicator: the preselected printer page size is not selected (in opposite
to Windows 7)
10. choose the same paper size as used previously for printer1 
11. inspect trace for dmPaperSize struct member 
    -> the value is different compared to the value mentioned in step 8.

The appended patch fixes this issue.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list