argox_ix4 0.4.0
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). OvermaxLines, the font shrinks tominSizePtthen clips.minLines/maxLinesgive a fixed reserved height (empty lines kept), so a consumer's layout below does not shift. Shares GDI rasterization withGdiTextviagdi_raster.dart.
0.3.0 #
- Add a connection-state convenience layer:
ArgoxConnectionexposesconnected()(USB presence) and a non-throwingstatus()that returns aDisconnectedStatuswhen the printer is absent or unreachable — so an app can poll connection state without try/catch. Expose the publicargoxVendorIdconstant (0x1664);UsbPrinternow reuses it.
0.2.0 #
- Add bitmap text printing:
GdiTextrasterizes any string (CJK/Latin) with the Windows GDI font stack,ImmediateGraphicsends it via the PPLBGWcommand, andAutoFontpicks 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/ConstBitmapexpose 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
repositorylink. Depend on the hostedpplb(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— applbPrinterover the Windowsusbprint.sysdevice interface (dart:ffi+win32): discovers the ARGOX device by vendor id (0x1664), opens it with overlapped I/O, writes PPLB bytes, and reads^eestatus replies back. No vendor driver or print queue required.UsbDevices/UsbDevice—usbprint.sysdevice-interface discovery.ensureWindowsPlatform— throwsUnsupportedErroroff Windows.- Verified against an ARGOX iX4-350 (status read returns media-out code 7).