Pole Display Formatting Problem

Hello. I have just bought a POSLIGNE OCD 150 Pole Display.
After following this tutoriel : Pole Display / Customer Display / VFD, i have some formatting problems, and don’t know if anyone can help.

When I enter, for example, a Coca-Cola :

I get this on pole display :

Which is how i want it, with the quantity, item and price on the top line, and the total of ticket on bottom line, on the right.
However, when I add an item with a longer or shorter name, it doesn’t go as well :


Any idea on how to keep total on the bottom right, and how to “cut” the name of the item, so for example with the Schweppes Tonic, i will only see :
1 Schweppes T : 3.00
And for the Fanta, to make the price stick to the right.

Here is my printer configuration and template :


I don’t know if im explaining myself vey well, so please say if not clear.

If anyone could answer, I would be very grateful ! Thanks :slight_smile:

Using the <J> tag justifies the ouput to pin values left and right. But you must use the pipe character | to define your columns …

[LAYOUT]
{ORDERS}
<R>Total: {TICKET TOTAL}
[ORDERS]
<J>{QUANTITY} {NAME} |:| {TOTAL AMOUNT}

If you look at the last line, the {QUANTITY} {NAME} will be pinned to the left, the colon : will be somewhere after that, and the {TOTAL AMOUNT} will be pinned to the right. Only the Total will be guaranteed to be fully displayed, while the Name should be truncated.

It may also depend on the Line Count setting and the Character Count setting in the Printer definition.

Also, you might need to send certain <XCT> commands first, in order to set the behavior of the display, such as line-wrap, clear-screen, line-feeds, etc. For example, for my display, this command:

<XCT>31,20,17

… is used to clear the display and set the display to obey line-feeds.

1 Like

Sorry for the delay in replying. I added the pipe character before and it didn’t work, and for some reason now it does !
So thank you! :slight_smile: