VFD220 Pole Display

Dear All, I have a 2-line 20 Character Display pole with the following specifications;

[BasicParameters]
Name=VFD220 Pole Display
About=ESC/POS,USB5v
Default1=8.8.8.8.8.8.8.8.
Default2=12178567890abcdefghi
Width=20
Rows=2
BtnSndCmd=12,h1,h2,h1
[PortsConfig]
BaudRate=9600
ByteSize=8
StopBits=1
[BasicCmd]
Initialize=12,27,99,65
Wrap=13
Row1=27,81,65
Row2=27,81,66
Row3=27,81,68
Row4=27,81,69
[CustomCmd]
Output one Line=12,h1,13
Output two Line=12,h2
Output<121785678>=12,‘121785678’
Initialization=12

My Question (Printing Templates) - Using the recommended print templates on the platform prints to pole alright but in haphazard format. Do i need to consider the basic or custom commands in the pole’s parameters above in my print templates? And how do i do that. Please help!! Thanks!!!

How it prints in haphazard format? Did you set character count to 20 on your printer template?

Look here…

Thanks Emre for your response. For example, if I order the following items;

Order List
Pizza $100.00
Burger $50.00

This is how it prints to pole:

Pizza $100.00Burger$50.00

With the counts of characters(Item Name + Total) on the print template, it might beyond 20 Characters

So what i wanted to do is to clear the screen after each order item when a new item prints

So I am using this Print Template for Pole Items
12
{ORDERS}
[ORDERS]
{NAME}-{TOTAL AMOUNT}

Thanks for Your assistance

What is the “12” for at the top of your printer template?

Also make sure you use formatting tags on each line, and also since the customer display is 2 lines, make sure your printer template outputs 2 lines each time.

As an example, I use this for my items printer template on customer display (it’s not perfect, I probably will change it in future also):

<XCT>31,20,17
{ORDERS}

[ORDERS]
<L>{NAME}
<C>{TOTAL AMOUNT} x{QUANTITY}  T:{REMAINING TOTAL}

The first line is some escape commands to clear the display, may not work on your model so try first without the first line.

If you want to do like your layout, I suggest:

{ORDERS}

[ORDERS]
<L>{NAME}-{TOTAL AMOUNT}
<L>

If you find it is going on to 2nd line because of length of {NAME}, try this which will print name on first line and price on 2nd line, right aligned:

{ORDERS}

[ORDERS]
<L>{NAME}
<R>{TOTAL AMOUNT}
2 Likes