http://bugzilla.novell.com/show_bug.cgi?id=529485


           Summary: Paper size is always set to A4 on Linux, but not
                    Windows
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Drawing.
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


Created an attachment (id=311461)
 --> (http://bugzilla.novell.com/attachment.cgi?id=311461)
Really simple sample application

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.13)
Gecko/2009073022 Firefox/3.0.13 (.NET CLR 3.5.30729)

When printing in Linux, the paper size is always A4, no matter what the printer
default is, and no matter what changes are made to the print settings.

Reproducible: Always

Steps to Reproduce:
1. Setup a printer with US Letter (8.5x11) size paper as the default
2. Instantiate a System.Drawing.Printer.PrintDocument
3. Subscribe to the QueryPageSettings and/or PrintPage events
4. Check any of:
prDoc.DefaultPageSettings.PaperSize
PrintPageEventArgs.PageSettings.PaperSize
QueryPageSettingsEventArgs.PageSettings.PaperSize
5. In QueryPageSettings, execute:
e.PageSettings.PaperSize = new PaperSize("Letter", 850, 1100);
Actual Results:  
In step 4, the settings will show A4 paper.
After step 5, the printer will print on A4 paper.

Expected Results:  
After step 4, the paper size should be letter.  After step 5, the printout
should be letter size.

This does not happen on Mono for Windows

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to