Feat(P3): printer

Add a padding to dividers
This commit is contained in:
Amir Mousavi
2026-05-13 15:09:39 +03:30
parent 9ec64fc179
commit 18677b5ae5
@@ -240,7 +240,9 @@ class P3Printer @Inject constructor(
} }
if (divider != null && printEntities.lastIndex > index) { if (divider != null && printEntities.lastIndex > index) {
val dividerLine = BitmapPrintLine(divider, PrintLine.CENTER) val dividerLine = BitmapPrintLine(divider, PrintLine.CENTER)
addPrintLine(TextPrintLine(" ", 0, 10))
addPrintLine(dividerLine) addPrintLine(dividerLine)
addPrintLine(TextPrintLine(" ", 0, 10))
} }
} }