--- title: PrintPreview description: |- The PrintPreview component displays a preview of printable content from a specified source URL. Use it to show users what will be printed before triggering the actual print operation. PrintPreview works in conjunction with the Print API to provide complete print functionality from preview to execution. Supported document types: - **HTML documents** (`.html`, `.htm`) - Best printing experience with full CSS styling, embedded images, and complex layouts. Use for receipts, invoices, and formatted reports. - **Text files** (`.txt`, `.csv`) - Plain text with basic content and tabular data support. Use for simple receipts and data exports. - **Image files** (`.png`, `.jpg`, `.jpeg`, `.gif`, `.bmp`, `.webp`) - Common web formats with format-specific optimizations. Use for logos, charts, QR codes, and barcodes. - **PDF files** (`.pdf`) - Behavior varies by platform: prints directly on iOS/desktop, but downloads to external viewer on Android. Use for complex documents and compliance requirements. [Learn how to build a print extension in POS](/docs/apps/build/pos/build-print-extension). api_version: 2026-01 api_name: pos-ui-extensions source_url: html: https://shopify.dev/docs/api/pos-ui-extensions/latest/components/printpreview md: https://shopify.dev/docs/api/pos-ui-extensions/latest/components/printpreview.md --- Print​Preview Not supported in this version.