Aether Counter conduit — ESC/POS receipt printer integration for dotbot. Part of the dotbot-aether conduit plugin collection.
Translates dotbot event bus events into physical printed records — task tallies, workflow summaries, daily/weekly reckoning receipts. Supports text formatting (alignment, bold, size), two-color printing (black/red), paper cut, font selection, buzzer alerts, and receipt templates. Optimized for Epson TM-U220IIB.
Import-Module ./src/DotBot.Aether.Counter/DotBot.Aether.Counter.psd1
# Discover and connect
Find-AetherCounter | Connect-AetherCounter
# Or use the native Printer functions directly
Find-Printer | Connect-Printer
Send-PrinterReceipt -Header "CODE COMPLETE" -Body "Status: Success" -Footer "Keep coding!" -Cut
Invoke-PrinterBuzzer -Times 3 -Duration LongEvery Aether conduit exports these standard lifecycle functions:
Initialize-AetherCounter— validate config and hardware reachabilityFind-AetherCounter— discover printers on the networkConnect-AetherCounter— bond to a discovered printerDisconnect-AetherCounter— clean shutdownTest-AetherCounter— health checkInvoke-AetherCounterEvent— handle an event bus event (the sink entry point)
Find-Printer, Connect-Printer, Disconnect-Printer, Test-PrinterConnection, Get-PrinterConfiguration, Initialize-Printer
Send-PrinterText, Send-PrinterLine, Send-PrinterReceipt, Send-PrinterRule, Clear-Printer, Invoke-PrinterCut
Set-PrinterAlignment, Set-PrinterTextSize, Set-PrinterEmphasis, Set-PrinterFont, Set-PrinterColor
Invoke-PrinterBeep, Invoke-PrinterBuzzer, Invoke-PrinterFeed
Invoke-Pester ./tests/Unit
Invoke-Pester ./tests/Integration # requires printerMIT — see LICENSE