Show TOC

Printer PluginLocate this document in the navigation structure

(Android, iOS, Windows 8.1, and Windows 10) Enables Hybrid SDK (Kapsel) applications to print documents.

The Printer plugin supports printing documents in three ways:
  • Print the current page from within the application.
  • AttachmentViewer plugin – print a document opened with the AttachmentViewer using the InAppBrowser.
  • Background printing – print a document without the AttachmentViewer or the InAppBrowser. The content does not appear in a webview, and no preview is available prior to printing.
Note Ensure that the mobile device supports printing to the target Wi-Fi printer. If necessary, install a driver, on-device, for the printer.
Table 1: Printer Plugin Support Details

Platform

Supported Operating Systems

Printing the Current Page from within the Application

Background Printing

Printing from AttachmentViewer / InAppBrowser

Supported Document Formats

iOS

5.0 or higher

Yes

Yes

Yes
Note

To access printing functionality, tap the Share button.

  • HTML
  • JPEG
  • JPG
  • PDF
  • PNG

Android

4.4 or higher

Yes

Yes

If you open content in the AttachmentViewer using the InAppBrowser, printing is not supported.

If you open content in the AttachmentViewer using a third-party application, printing is supported. The new printing framework introduced in Android 4.4 ("KitKat") allows you to install print services from printer manufacturers. This printing framework includes required drivers that support direct printing from device to printer. Here are some examples of third-party print services you can install:
  • HTML
  • JPG
  • PDF

Windows

8.1, 10

Yes

No

Yes
Note

If you open content in the AttachmentViewer using the InAppBrowser, from the AppBar, you can tap Print to initiate a printing flow where the document (HTML DOM object) is the resource. If the document format is not supported by the InAppBrowser, printing is only available through a third-party application that can open it.

HTML

Windows Phone

10

Yes

No

Yes

Note

If you open content in the AttachmentViewer using the InAppBrowser, from the AppBar, you can tap Print to initiate a printing flow where the document (HTML DOM object) is the resource. If the document format is not supported by the InAppBrowser, printing is only available through a third-party application that can open it.

HTML