Skip to content

Multi line column mode #75

@hramchandani

Description

@hramchandani

It is possible to print a receipt in column mode where the text in one column take up more than 1 line in only that specific column?

For example: When I try to print a receipt with 2 columns and the following text everything prints fine:
'[L]Shirt[R]9.99\n'

But when I try to print the following line: '[L]Shirt with a very long description because I want it to take 2 lines[R]9.99\n', the item description takes up the entire first line, pushes the price onto the second line, and most importantly, does not right align the price.

When there is a very long description, I would like either the description to take up the entire first line, the remainder on the second line, and then have the price right aligned on the 2nd line. Or I would like the description to word wrap within its assigned column, so the price stays in its column and stays right aligned.

Is there a way to do this? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions