[Mono-bugs] [Bug 365457] New: Cannot Print in Landscape

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 27 22:40:24 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=365457


           Summary: Cannot Print in Landscape
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Keywords: printing
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Drawing.
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: marcglennjamon at yahoo.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Other


Description of Problem:

     When using System.Drawing.Printing.PrintDocument class to print a string
in landscape orientation, setting the property 

PrintDocument.DefaultPageSettings.Landscape = true 

still prints the string in portrait orientation.

Steps to reproduce the problem:
1. Compile the attached MyPrinter.cs using gmcs(mono-version=(1.2.5.1 or 1.9)
     gmcs MyPrinter.cs -r:System.Drawing
2. Run binary MyPrinter.exe
     mono MyPrinter.exe

Actual Results:
String printed in portrait orientation.

Expected Results:
String printed in landscape orientation.

How often does this happen? 
Always.

Additional Information:
MyPrinter.cs uses the default printer installed in the windows machine.


-- 
Configure bugmail: https://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