Skip to main content
Version: 1.1.0

Platform Details

printer-core provides a unified API, but internally each platform implements its own printing pipeline optimized for its native environment.

File Conversion

Some file types (PNG, JPG, TXT, HTML) require conversion to PDF before printing. The library does not convert to pdf, the OS should do this automatically.

Android

On Android, printing uses the androidx.print.PrintHelper API.
The library handles:

  • Convert ImageBitmap onto a Bitmap before sending to print
  • Automatically launching the system print dialog

iOS

On iOS, the library uses:

Files are printed using the default iOS document pipeline.


Desktop

On Desktop, printing is built using Java Print Service (JPS)


Web

Printing is not supported on Web platform at the moment.