Kitchen Display Import


#1

I imported the DBTools file from https://forum.sambapos.com/t/kitchen-bar-display-using-task-printer-separate-displays-for-food-and-drink/8075

Suppose to look like this

53107370a714924c71cd87bef65e4124d2fa5a7f_1_690x370

But mine looks like below

After importing all I done was set a product tag. Do I need to do more or is that an old Kitchen Display tutorial?


#2

Looks like a formatting issue of some sort, maybe something like missing bracket/>< etc
Are you on a recent version of samba?


#3

Yes I am using 5.2.14


#4

Below is the template. Is it something with order tags?

    [LAYOUT]
    {ORDERS}

    [ORDERS]
    ++{ORDER TIME} - {ENTITY NAME:Table} | {ENTITY NAME:Customer}
    (Id={NAME}-{ORDER UID})
    (Color=#FF333333)
    (TID={TICKET ID})
    (NOTE={NOTE})
    (SEAT={ORDER STATE:SEAT})
    <bold>[=('{QUANTITY}'>1 ? ('{QUANTITY}'+'  ').substr(0,2) : '  ')] {PRODUCT NAME}</bold>
    [='{PORTION}'=='' ? '' : '<font Consolas>  <color #FF55FF33><size 17><bold>{PORTION}</bold></size></color></font>']
    {SORTED ORDER TAGS}

    [ORDERS:Gift]
    ++{ORDER TIME} - {ENTITY NAME:Table} | {ENTITY NAME:Customer}
    (Id={NAME}-{ORDER UID})
    (Color=#FF333333)
    (TID={TICKET ID})
    (NOTE={NOTE})
    (SEAT={ORDER STATE:SEAT})
    <color White><bold><size 16><font Consolas>[=('{QUANTITY}'+'  ').substr(0,2)] {PRODUCT NAME}</font></size></bold></color>[='{PORTION}'=='' ? '' : '<font Consolas> <color #FF55FF33><size 14><italic>{PORTION}</italic></size></color></font>'] <bold> FREE</bold>
    {SORTED ORDER TAGS}

    [ORDERS:Void]
    ++{ORDER TIME} - {ENTITY NAME:Table} | {ENTITY NAME:Customer}
    (Id={NAME}-{ORDER UID})
    (Color=#FF333333)
    (TID={TICKET ID})
    (NOTE={NOTE})
    (SEAT={ORDER STATE:SEAT})
    XXXXX VOID XXXXXXXXXXXXXXX
    <bold>[=('{QUANTITY}'>1 ? ('{QUANTITY}'+'  ').substr(0,2) : '  ')] {PRODUCT NAME}</bold>
    [='{PORTION}'=='' ? '' : '<font Consolas>  <color #FF55FF33><size 17><bold>{PORTION}</bold></size></color></font>']
    {SORTED ORDER TAGS}

    [SORTED ORDER TAGS:VIP Discount]
    -- do not print

    [SORTED ORDER TAGS:Happy Hour Discount]
    -- do not print

    [SORTED ORDER TAGS:Pizza Crust]
    -- do not print

    [SORTED ORDER TAGS:Wings Sauces]
    <size 14><color LightSalmon><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Order Notes]
    <size 14><color #FFCCCCFF><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Sandwich & Burger Toppings]
    <size 14><color #FFCCFFCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Pasta Options]
    <size 14><color Yellow><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Ravioli Fillings]
    <size 15><color #FF55FF55><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Doneness]
    <size 15><color #FF55FF55><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Blacken]
    <size 15><color #FF55FF55><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Heat]
    <size 14><color #FFFFCCCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Add Cheese]
    <size 14><color #FFFFCCCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Platter]
    <size 14><color #FFFFCCCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Children Add Fries]
    <size 14><color #FFFFCCCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Sides]
    <size 14><color #FFFFCCCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Salad Options]
    <size 14><color #FFFFCCCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Salad Dressing]
    <size 14><color #FFFFCCCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Baked Potato Toppings]
    <size 14><color #FFFFCCCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Salad Options]
    <size 14><color #FFFFCCCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Extras]
    <size 14><color #FFFFCCCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Surf & Turf Coupon Apps]
    <size 14><color #FFFFCCCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:12" Pizza Toppings]
    <size 14><color #FFFFCCCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:18" Pizza Toppings]
    <size 14><color #FFFFCCCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Meat Options]
    <size 14><color #FFFFCCCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Gravy]
    <size 14><color #FFFFCCCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Starch Options]
    <size 14><color #FFFFCCCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

    [SORTED ORDER TAGS:Vegetable Options]
    <size 14><color #FFFFCCCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>

#5

Hmmm not sure but looking at the ‘what it should be’ image that has the colour # and order id on it as well. Don’t think that would be wanted so maybe a bad export setup…
Not sure what the round bracket parts are for… But not setup a kd entity screen before but the bit of stray content seems to relate to that rather than tags as shows the colour you haven’t used much in tags and the order+id


#6

It’s a task printer template.


#7

Whenever I tried to setup a kitchen display (whether manually or by importing a db) I got the very same result as jay007 and never found a way how to get rid of the poor formatting. I gave up a long time ago.