[Mono-bugs] [Bug 529485] New: Paper size is always set to A4 on Linux, but not Windows
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat Aug 8 14:22:22 EDT 2009
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: mono-bugs at lists.ximian.com
ReportedBy: novellmono at mobydisk.com
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list