Profile Picture

Printing from a NRichTextView to OSX in Xamarin

Posted By NeilTurp Last Year
Author
Message
NeilTurp
Problem Posted Last Year
View Quick Profile
Forum Newbie

Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: Forum Members
Last Active: 6 Months Ago
Posts: 0, Visits: 135
I have an app with an NRichTextView that loads and displays rtf files fine,  I've added a print button with this code:

txtnotes.Print();

and

txtNotes.Print(new Nevron.Nov.UI.NPrintDialog());

and

Nevron.Nov.UI.NPrintDialog printDialog = new Nevron.Nov.UI.NPrintDialog();
printDialog.EnableCurrentPage = true;
printDialog.NumberOfCopies = 1;
txtNotes.Print(printDialog);
(with and without a printDialog.PrinterName specified)

I've even tried

printDialog.RequestShow();

but whenever I click Print, nothing happens.  I've also checked the NOV Examples App and clicking Print does nothing there too.  Am I missing something or does it not work on OSX or Xamarin?

Neil


Nevron Support Team
Posted Last Year
View Quick Profile
Supreme Being

Supreme Being (3,490 reputation)Supreme Being (3,490 reputation)Supreme Being (3,490 reputation)Supreme Being (3,490 reputation)Supreme Being (3,490 reputation)Supreme Being (3,490 reputation)Supreme Being (3,490 reputation)Supreme Being (3,490 reputation)Supreme Being (3,490 reputation)

Group: Moderators
Last Active: Last Week
Posts: 2,673, Visits: 2,555

Hi Neil,
We were able to successfully print both to pdf and physical printer through the standard interface of the view which uses the view.Print() method. Have you tested on a different machine (it may be driver related)?



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic