Question regarding the Ionic Natvie Printer

Hi all,

I’m utilising the ionic native printer.

I’ve got a modal with some styled content (external SCSS file) and 2 images in here.

When i use the printer plugin like:

LocalPrinter.print(document.getElementById("print-modal").innerHTML, LocalPrintOptions);

I obviously lose the styling and also the images don’t come through to the Print Preview popup on the native dialog.

My question is - How can i include the CSS and images so they also appear?


I’d suggest looking at the original plugin doc to get a better sense of how to do this.

Yeah I have - I’ve noticed it works fine with normal img tags but not IonImg tags. I’ll get another look now.