You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the bitmap image drawing the next writeln() command does not add a new line after the text.
But the second text is incorrectly placed directly after the first one.
Issue
After the bitmap image drawing the next
writeln()
command does not add a new line after the text.But the second text is incorrectly placed directly after the first one.
Example of code with issue:
Example causes the output with issue:
Root cause
I have found the incorrect ESC command in
draw()
function after each bitmap line.File: src/profile/index.ts
Current (incorrect implementation):
Should be
0x0A
only:ESC commands documentation
escpos
Testing:
I have tested my offered change. It corrects the issue on my side.
The text was updated successfully, but these errors were encountered: