Web
現在の WebView 内容のシステム印刷 UI を出します。Android と iOS のみです。インストール のあとで呼び出します。PDF などのファイルを印刷する場合は PDF です。
import { Printer } from '@rdlabo/capacitor-printer';
await Printer.printWebView({ name: 'Document' });
name は印刷ジョブ名で、既定値は 'Document' です。
method printWebView(...)
Present the printing user interface to print the web view content.
printWebView(options?: PrintOptions | undefined) => Promise<void>
type alias PrintWebViewOptions
PrintOptions