[Mono-bugs] [Bug 656843] New: Printing on an iPad using MonoTouch 3.2.x not working as expected

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 1 12:46:17 EST 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=656843#c0


           Summary: Printing on an iPad using MonoTouch 3.2.x not working
                    as expected
    Classification: Mono
           Product: MonoTouch
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: gnorton at novell.com
        ReportedBy: elevenworks at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=402944)
 --> (http://bugzilla.novell.com/attachment.cgi?id=402944)
Example to reproduce the problem

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; en-US)
AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7

I believe I have run into a problem getting printing to work with MonoTouch
3.2.1 and iOS 4.2.1.  Perhaps I am misunderstanding Apple's documentation;
however I believe I am attempting to do things correctly.

I have attached a sample solution which can illustrate what I am seeing.  It's
an iPad application, which will attempt to print using three different
approaches:

1) With a custom page renderer (which is really what I want to do).
2) With an NSData object which contains a loaded PDF file.
3) With a simple text formatter.

My attempt at approach #1 (both within my real application, and within the
sample application) doesn't draw anything on the resulting printed page.  The
sample application should (but doesn't) simply stroke a rectangle in the upper
left hand corner of the page.

My attempt at approach #2 results in an exception.

My attempt at approach #3 works fine (however is of no real use for me at least
right now; however it does at least illustrate some type of printing working).

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Actual Results:  
Exception and/or no content

Expected Results:  
Printing works

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list