[Solved] Logo not printing in HTML printer template


#1

Hi,

I have have the template got HTML to my A4 Samsung laser printer.
Although the “preview” shows the logo, when it prints it just shows
C:\Users\Admin\Desktop\logo.bmp on the receipt.

[LAYOUT]
-- General layout
<div style="font-size:15px;text-align:center;font-family:'Calibri'">
<BMP>C:\Users\Admin\Desktop\logo.bmp
<J00>  
<J00>  
{ENTITIES}
<J00>  
<T>Ticket {TICKET NO}
<J00>  
</div>
<C10>{TICKET TAG:Delivery} - Required at: {TICKET TAG:Pickup Time}
<J00>  
<L00>Date: {TICKET DATE}
<L00>Time: {TICKET TIME}
<L00>Served By: {USER NAME}
<L00>Terminal: Till 1

<F>- 
<J00> QTY ITEM | PRICE
 


{ORDERS}
<F>=
<EB>
{DISCOUNTS}
[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]
{SERVICES}
<J10>Total:|£{TICKET TOTAL}
{PAYMENTS}
<DB>
<F>=
<J00>
<C10>T H A N K   Y O U
<L00>
<L00>Date Printed:{DATE}
<L00>Time Printed:{TIME} 
<L00>Ticket ID: {TICKET NO}

[DISCOUNTS]
<J00>{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}

[SERVICES]
<J00>{CALCULATION NAME}|{CALCULATION TOTAL}

[PAYMENTS]
<J00>{PAYMENT NAME}: |£{TENDERED TOTAL}
<J00>Change Due: |£{CHANGE TOTAL}

[ORDERS]
-- Default format for orders
<J10>- {QUANTITY} {NAME} | £{TOTAL AMOUNT}
{ORDER TAGS}

[ORDERS GROUP|PRODUCT TAG:Kitchen:Starters,House,Tandoori,Chef,Traditional,Mild,Veg,Biryani,Veg Side,English,Bread,Sundries,Alcohol,Drinks,Desserts]
<F>-


[ORDERS:Gift]
-- Format for gifted orders
<J00>- {QUANTITY} {NAME}|**GIFT**
{ORDER TAGS}

[ORDERS:Void]
<J00>- {QUANTITY} {NAME}|**VOID**
{ORDER TAGS}

[ORDER TAGS]
-- Format for order tags
<J10>       * {ORDER TAG NAME}

</div>

[ENTITIES:Customer]
-- Customer entity format
<L00>Customer: {ENTITY NAME} | {ENTITY DATA:Name}
<L00>{ENTITY DATA:House} {ENTITY DATA:Street}
<L00>{ENTITY DATA:Town}
<L00>{ENTITY DATA:PostCode}

#2

Solved, had the printer set to Windows not HTML! :sweat:


#3

im having an issue with logo not printing when using html template, i get this error message when trying to print or when trying to view the ticket when using the ticket edit view screen
image

I have tried storing the logo in different folders which had no effect

This is the template for the print job
<BMP>C:\Users\Rick\Documents\Receipt Logo.bmp

any ideas why it wont print the logo?


#4

try giving it a simpler name like logo.bmp

Edit: HTML printer shouldn’t try to init a bitmap image for it. Does your Ticket Printer type set to HTML Printer?


#5

(ignore the same question in other post)

yea its set to html


#6

Solved!! That did it, just setting the image name as “logo”