Ticket template - with logo

Hi,
i have to make a custum ticket layout:

  1. i trying to put a logo on a receipt but not seen. I use a printer windows “pdf creator” that prints directly in pdf

  2. I need to start printing thicket not from the forst line of the ticket but from a certain line down. Above is another drawing down on paper.
    This is my templete ticket fo now
    Thanks for the reply

    [LAYOUT]
    – General layout
    scontrino
    Data:{TICKET DATE}
    Tempo:{TIME}
    C:\ImmaginiProdotti\splash.bmp
    {ENTITIES}
    Scontrino No: {:ORDERNUMBER}
    -
    {ORDERS}
    =

    {DISCOUNTS}
    [Totale Offerto:|{ORDER STATE TOTAL:Offerto}]
    Totale:|{TICKET TOTAL}
    {PAYMENTS}

    =
    G R A Z I E
    Non fiscale

    [DISCOUNTS]
    {CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}

    [PAYMENTS]
    {PAYMENT NAME}|{PAYMENT AMOUNT}

    [ORDERS GROUP|PRODUCT GROUP]
    -{GROUP KEY}-
    -

    [ORDERS]
    – Default format for orders
    - {QUANTITY} {NAME}|{PRICE}
    {ORDER TAGS}

    [ORDERS:Offerto]
    – Format for gifted orders
    - {QUANTITY} {NAME}|GIFT
    {ORDER TAGS}

    [ORDERS:Annullare]
    – Nothing will print for void lines

    [ORDER TAGS]
    – Format for order tags
    * {ORDER TAG NAME} | {ORDER TAG PRICE}

    [ENTITIES:Tavolo]
    – Table entity format
    Tavolo: {ENTITY NAME}

    [ENTITIES:Cliente]
    – Customer entity format
    Cliente: {ENTITY NAME} | {ENTITY DATA:Telefono}

I fixed your template. Next time use </> editor button while pasting your template.

Better use a real printer to test your templates. PDF printer you’re using might not support ESC/POS commands that we use to send bitmaps to thermal printers.

I think you tried to upload an image. We can’t see drawing you’ve mentioned.

ok thanks,
if you know is possibile start to print ticket not from the first line of the ticket?

SOLVED - SORRY
i put a sequence of < L00 >
thanks

You can print orders that have a specific state. For example if you clear [ORDERS] section’s content (like Annullare) only orders that have (Offerto) state prints (because only that section has a defined template).

You can read more about Order States here http://sambapos.com/wiki/doku.php?id=states.

lol couldn’t understand that but I’m glad you’ve solved it.

1 Like