Search packages, repositories and app categories

printing cover
Package detailsv5.15.1

printing

Plugin that allows Flutter apps to generate and print documents to compatible printers on Android, iOS, macOS, Windows, and Linux, as well as web print.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
1.3M
Likes
1.8K
Pub points
160

Install package

flutter pub add printing

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The printing package enables Flutter applications to generate and print documents across multiple platforms, including Android, iOS, macOS, Windows, Linux, and the web. It leverages the dart_pdf library to create PDFs programmatically, which can then be sent to compatible printers. This makes it ideal for generating invoices, reports, labels, and other printable content directly from apps. The package supports both local printing and web browser print functionality, ensuring broad compatibility. It is particularly useful in enterprise and productivity apps where document output is essential.

Use cases

  • Generating invoices and receipts
  • Creating printable reports
  • Producing labels and forms
  • Supporting offline printing
  • Enabling web-based print functionality

Key features

  • Cross-platform printing support
  • Integration with dart_pdf for PDF generation
  • Print directly from mobile and desktop apps
  • Web browser print integration
  • Customizable document layouts

Suitable for

  • Enterprise applications
  • Inventory and billing systems
  • Mobile and desktop productivity tools
  • Web apps requiring print features
  • Apps needing offline document generation

Considerations

  • Requires compatible printers for physical output
  • Web printing limited to browser capabilities
  • PDF layout design must account for printer margins
  • Platform-specific print dialog behavior
  • No built-in print preview on all platforms

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Pdf for Dart and Flutter

Dart CI pub package pub package codecov

This set of plugins allows Flutter apps to generate and print pdf files to the device printer. This plugin works for iOS and Android.

Buy Me A Coffee

Contributing

Follow the instructions here: contributing.

A Makefile is available on the project root directory to download and prepare the dependencies.

Categories

Dependencies

Dependency list 7 items

  • http>=0.13.0 <2.0.0
  • image>=4.1.0 <=5.0.0
  • meta>=1.3.0 <2.0.0
  • pdf^3.13.0
  • pdf_widget_wrapper>=1.0.4 <2.0.0
  • plugin_platform_interface^2.1.0
  • web^1.0.0

Source repository

Projects using this package

Rankings