import { Printer, PrintOptions } from '@awesome-cordova-plugins/printer/ngx';
constructor(private printer: Printer) { }
...
this.printer.isAvailable().then(onSuccess, onError);
let options: PrintOptions = {
name: 'MyDocument',
duplex: true,
orientation: 'landscape',
monochrome: true
}
this.printer.print(content, options).then(onSuccess, onError);