Feat(P3): printer
Add a padding to dividers
This commit is contained in:
@@ -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))
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user