[Mono-bugs] [Bug 602934] New: Page/Printer information always returns hard coded default
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed May 5 12:16:03 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=602934
http://bugzilla.novell.com/show_bug.cgi?id=602934#c0
Summary: Page/Printer information always returns hard coded
default
Classification: Mono
Product: Mono: Class Libraries
Version: SVN
Platform: i686
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Drawing.
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: tom_hindle at sil.org
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=359695)
--> (http://bugzilla.novell.com/attachment.cgi?id=359695)
Test case examining printer capabilities.
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5
(KHTML, like Gecko) Chrome/4.0.249.43 Safari/532.5
Hard coded default seems to be from PrinterSettings.cs DefaultPageSettings
Property.
Attaching test case.
Changing default Printer driver, or any settings like pagesize or dpi on the
printer driver doesn't have any affect.
Reproducible: Always
Steps to Reproduce:
1. Compile attached test case
2. Run attached test case
3. Change DPI or page size on default printer
4. Run test case
Actual Results:
Default settings
PDF
[PageSettings: Color=False, Landscape=False, Margins=[Margins Left=100
Right=100 Top=100 Bottom=100], PaperSize=[PaperSize A4 Kind=Custom Height=1169
Width=827], PaperSource=[PaperSource Tray Kind=FormSource],
PrinterResolution=[PrinterResolution Medium]]
200
200
Settings from Page
200
200
0
0
Expected Results:
Not exactly like this but, not the anything but the default.
Default settings
Microsoft XPS Document Writer
[PageSettings: Color=True, Landscape=False, Margins=[Margins Left=100 Right=100
Top=100 Bottom=100], PaperSize=[PaperSize Letter Kind=Letter Height=1100
Width=8
50], PaperSource=[PaperSource Automatically Select Kind=FormSource],
PrinterReso
lution=[PrinterResolution X=600 Y=600]]
600
600
Settings from Page
600
600
0
0
--
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