Profile Picture

Printing from a NRichTextView to OSX in Xamarin

Posted By NeilTurp 11 Months Ago
Author
Message
NeilTurp
Problem Posted 11 Months Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 4 Months Ago
Posts: 0, Visits: 131
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 11 Months Ago
View Quick Profile
Supreme Being

Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)

Group: Moderators
Last Active: 1 days ago @ 8:33 AM
Posts: 2,593, Visits: 2,279

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