I'm trying to print on WinRT, but it's telling me that I need rasterization permission. Why?
You can see how printing on WinRT should work by following the CompleteReader sample. It uses the PDFPrintManager class to create a Printing Contract (which is the only way to print in Windows Store Apps).
Code to register for printing would look something like this:
pdftron.PDF.PDFPrintManager _PDFPrintManager = pdftron.PDF.PDFPrintManager.GetInstance();
Windows.ApplicationModel.Resources.ResourceLoader loader = Windows.ApplicationModel.Resources.ResourceLoader.GetForCurrentView("Printing");
//new Windows.ApplicationModel.Resources.ResourceLoader();
_PDFPrintManager.SetResourceLoader(loader);
// standard options
_PDFPrintManager.AddStandardPrintOption(Windows.Graphics.Printing.StandardPrintTaskOptions.MediaSize);
_PDFPrintManager.AddStandardPrintOption(Windows.Graphics.Printing.StandardPrintTaskOptions.Orientation);
// PDFTron options
_PDFPrintManager.AddUserOptionAnnotations();
_PDFPrintManager.AddUserOptionAutoRotate();
_PDFPrintManager.AddUserOptionPageRange();
_PDFPrintManager.RegisterForPrintingContract(pdfDoc, docTitle);
If the user then invokes printing (through the charms bar -> Devices -> Print), our PDFPrintManager will handle it, displaying a preview of the document and the options set in the code above.