printing_ffi 0.0.2 copy "printing_ffi: ^0.0.2" to clipboard
printing_ffi: ^0.0.2 copied to clipboard

A Flutter plugin for direct printer communication using native FFI bindings for macOS, Windows, and Linux.

0.0.2 #

  • FIX: Resolved a crash on Windows when printing by correctly quoting the printer name for the shell API.
  • FIX: Updated the Windows build script to use the correct URL and latest version of the pdfium library, resolving download errors.
  • FEAT: Added PdfPrintScaling option to the printPdf function on Windows to control scaling ('Fit to Page' vs 'Actual Size').
  • FIX: Replaced unreliable ShellExecute PDF printing on Windows with a robust, self-contained solution using the pdfium library for rendering. This removes the dependency on external PDF applications.
  • FIX: Correctly specified "raw" printing option for CUPS on macOS/Linux to ensure raw data is sent to the printer without modification.
  • FEAT: Added extensive logging to the native C code, enabled in debug builds, to simplify troubleshooting.
  • FEAT: Added printPdf function to print PDF files directly to a specified printer.

0.0.1 #

  • Initial Release
  • Added support for listing printers on macOS (via CUPS) and Windows (via winspool), including offline printers.
  • Implemented raw data printing for sending formats like ZPL and ESC/POS directly to printers.
  • Included print job management features: list, pause, resume, and cancel jobs.
  • Utilizes FFI for direct native API communication, ensuring high performance.
10
likes
0
points
676
downloads

Publisher

verified publishershreeman.dev

Weekly Downloads

A Flutter plugin for direct printer communication using native FFI bindings for macOS, Windows, and Linux.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ffi, flutter, plugin_platform_interface

More

Packages that depend on printing_ffi

Packages that implement printing_ffi