I’ve noticed something for a while that hasn’t been too much of an issue until now - using the <J00> printer formatting tag for 3 columns. I have an extreme example here, this is part of my receipt template:
I want 3 equally distributed columns (or at least somewhat), but instead I get one large and 2 small columns for the output. So I would want the “NET” column to be more in the centre. Is this because of other use of <J00> within my template? If so, is there a way I can “reset” the justification for a specific section of the template?
But there is already a space after it. Adding an extra space doesn’t make any difference.
It’s related to the way the template parser is working out the columns used when you use justified tag. I think it’s global across the entire receipt, which is causing this as on my receipt I use the tag for a few different things.
Different sections using the tag should really be handled separately but I don’t know if there is a way to do that?
I didn’t realise that. I always thought it would evenly distribute the columns across the ticket. I can see why it was made that way, but definitely feel it would be more flexible if we had a way to have evenly spaced columns that can be spaced automatically without the need to manually pad them. I know I can do with Document Printer however really don’t want to go down that route just for a simple “table like” structure.
I use the J tag for simple things, but when I want full control, I just use L tag and use L/R pad functions/expressions for each column to get exactly what I want. This does require that you know the exact character width/count of the Printer and of course that changes from model to model, even in the same Brand. But ultimately, this is the only way to get full control over the columns.