Skip to main content

argox_ix4 0.4.0 copy "argox_ix4: ^0.4.0" to clipboard
argox_ix4: ^0.4.0 copied to clipboard

Windows USB driver for ARGOX iX4-series PPLB label printers via the inbox usbprint.sys device interface — no vendor driver or print queue needed.

0.4.0 #

  • Add GdiParagraph: wrapped multi-line text as a 1-bpp graphic. Words break on spaces; a word wider than the box breaks between characters (CJK wraps). Over maxLines, the font shrinks to minSizePt then clips. minLines/maxLines give a fixed reserved height (empty lines kept), so a consumer's layout below does not shift. Shares GDI rasterization with GdiText via gdi_raster.dart.

0.3.0 #

  • Add a connection-state convenience layer: ArgoxConnection exposes connected() (USB presence) and a non-throwing status() that returns a DisconnectedStatus when the printer is absent or unreachable — so an app can poll connection state without try/catch. Expose the public argoxVendorId constant (0x1664); UsbPrinter now reuses it.

0.2.0 #

  • Add bitmap text printing: GdiText rasterizes any string (CJK/Latin) with the Windows GDI font stack, ImmediateGraphic sends it via the PPLB GW command, and AutoFont picks a font face by the text's dominant script. The iX4-350 has no Asian font board, so CJK is printed as a 1-bpp graphic. Bitmap/ConstBitmap expose the raster seam.

0.1.3 #

  • Physical label printing confirmed on real media (ARGOX iX4-350) — the last unverified path is now hardware-tested.
  • Docs: note that dimensions are in dots and the iX4-350 is 300 dpi (dots = inches × 300); correct the README example's geometry accordingly.

0.1.2 #

  • Move to a dedicated repository; update the repository link. Depend on the hosted pplb (the local path override is no longer needed).

0.1.1 #

  • Docs: mark as an early release — physical label printing is not yet confirmed on real media (status read and byte transmission are verified). API may change before 1.0.

0.1.0 #

  • Initial release.
  • UsbPrinter — a pplb Printer over the Windows usbprint.sys device interface (dart:ffi + win32): discovers the ARGOX device by vendor id (0x1664), opens it with overlapped I/O, writes PPLB bytes, and reads ^ee status replies back. No vendor driver or print queue required.
  • UsbDevices / UsbDevice — usbprint.sys device-interface discovery.
  • ensureWindowsPlatform — throws UnsupportedError off Windows.
  • Verified against an ARGOX iX4-350 (status read returns media-out code 7).
0
likes
130
points
48
downloads

Documentation

API reference

Publisher

verified publisherlarryhsiao.com

Weekly Downloads

Windows USB driver for ARGOX iX4-series PPLB label printers via the inbox usbprint.sys device interface — no vendor driver or print queue needed.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

ffi, pplb, win32

More

Packages that depend on argox_ix4