Printer
Prints documents or HTML rendered content
Cordovaの問題で困っていますか?

本格的なプロジェクトを構築している場合、トラブルシューティングに時間を費やす余裕はありません。Ionicのエキスパートが、保守、サポート、統合に関する公式サポートを提供しています。
インストール
Ionic Native Enterprise はIonic Teamが完全にサポートしメンテナンスしているプラグインを利用できます。 詳しくみる か、 エンタープライズプラグインに興味があれば 連絡ください
サポートしているプラットフォーム
- Android
- iOS
- Windows
利用方法
React
Angular
import { Printer, PrintOptions } from '@ionic-native/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);