Profile Picture

Printing from a NRichTextView to OSX in Xamarin

Posted By NeilTurp 3 Years Ago
Author
Message
NeilTurp
Problem Posted 3 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: 2 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 3 Years Ago
View Quick Profile
Supreme Being

Supreme Being (3,958 reputation)Supreme Being (3,958 reputation)Supreme Being (3,958 reputation)Supreme Being (3,958 reputation)Supreme Being (3,958 reputation)Supreme Being (3,958 reputation)Supreme Being (3,958 reputation)Supreme Being (3,958 reputation)Supreme Being (3,958 reputation)

Group: Forum Members
Last Active: 3 minutes ago
Posts: 2,892, Visits: 3,095

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