Developer

Printer Plugin

(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.
Table 5: 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

9.0 or higher

Yes

Yes

Yes
  • 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

Yes

No

Yes

HTML

Windows Phone

10

Yes

No

Yes

HTML