Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to adjust line spacing #15

Open
rockneverdies55 opened this issue Mar 4, 2022 · 2 comments
Open

how to adjust line spacing #15

rockneverdies55 opened this issue Mar 4, 2022 · 2 comments

Comments

@rockneverdies55
Copy link

Text in the lines touching each other. Is there a way to adjust the spacing between the lines ?

@Davnc988
Copy link

Hi ! did you find a solution for your problem ? I'm encountering the same problem

@Davnc988
Copy link

Davnc988 commented Sep 29, 2022

I've found a solution, in the file buffer-builder.js where we write the text in "node_modules / @tillpos\xml-escpos-helper / lib" use the fonction lineFeed() like so

printText(text) {
    this.buffer.write(text, "ascii");
    return this.lineFeed();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants