Profile Picture

Printing from a NRichTextView to OSX in Xamarin

Posted By NeilTurp 7 Years Ago
Author
Message
NeilTurp
Problem Posted 7 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)

Group: Forum Members
Last Active: 6 Years Ago
Posts: 0, Visits: 166
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
Posted 7 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746

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