tried that as well but no joy
If you copy/paste the Template in Notepad, or here in the Forum, does it appear ok? Does the template text print fine from Notepad?
Let’s see your Template…
[LAYOUT]
-- General layout
<XCT>27,112,0,25,250
<EC>
<XCT>29,40,76,6,0,48,69,48,48,1,1
<EL>
<F>
<EB>
<F>-
<C10>SALES RECEIPT
<F>-
<F>
<F>
<DB>
<EB>
<C21> ORDER {TICKET ID}
<DB>
<F>
<F>-
Qty Item Description Price
<F>-
<F>
{ORDERS}
<F>
<F>=
<EB>
{DISCOUNTS}
[<J10>Total Promotion:|{ORDER STATE TOTAL:Gift}]
<J10>Total:|£{TICKET TOTAL}
<F>
{PAYMENTS}
[<L00>Card Type: {TICKET TAG:Credit Card Type}]
[<L00>Card Number: XXXX XXXX XXXX {TICKET TAG:Credit Card Digits}]
<F>=
<J10>Change:|£{CHANGE TOTAL}
<F>=
<F>
<F>
<C11>**THANK YOU**
<F>
<F>
<EC>
<BAR>{TICKET ID}
<EL>
<F>
<F>
<C00>15% OFF Online, Enter code NEWCUST15 at checkout
{ENTITIES}
<F>
<DB>
<F>-
<C00>Date:{TICKET DATE} Time:{TIME} Served By:{USER NAME}
<F>-
[DISCOUNTS]
<J00>{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}
[PAYMENTS]
<J00>{PAYMENT NAME}|£{PAYMENT AMOUNT}
[ORDERS]
-- Default format for orders
<J00>{QUANTITY}x {NAME}|£{TOTAL AMOUNT}
{ORDER TAGS}
<J00>{TICKET TAG:Think21}
[ORDERS:Gift]
-- Format for gifted orders
<J00>{QUANTITY} {NAME}|**FREE ITEM**
{ORDER TAGS}
[ORDERS:Void]
-- Nothing will print for void lines
[ORDER TAGS]
-- Format for order tags
<J00> * {ORDER TAG NAME} |£{ORDER TAG PRICE}
[ENTITIES:Customer]
-- Customer entity format
<EB>
<C00>Customer Details:
<DB>
<C00>{ENTITY NAME}
<C00>{ENTITY DATA:Address Line 1}
<C00>{ENTITY DATA:Address Line 2}
<C00>{ENTITY DATA:Post Code}
<C00>{ENTITY DATA:Phone}
<C00>{ENTITY DATA:Email Address}
<C00>{ENTITY DATA:Customer Number}
[ENTITIES:Table]
-- Table entity format
<L00>Table: {ENTITY NAME}
indent preformatted text by 4 spaces
yep if i copy the code directly to notepad and print it the £ prints as normal so its definitely a samba issue
if i set the printer to notepad the receipt looks fine and £ displays
my laptop doesnt have a serial connection so i cant connect my printer, thats another reason i do a lot of development on laptop and copy over to PC to test, but ive never had this problem before, copying the file over has always been fine
Serial? Check your COM settings in Device Manager, and the PORT settings in the printer Driver, as well as the Print Processor.
Can you go to command prompt and do:
echo £££ > COM1:
(or whatever COM port the printer is hooked to)
or perhaps:
print /d:COM1: C:\path\to\file\containing\special£character.txt
echo£££>COM4 said access denied
everytime i open command prompt i have to type left alt+shift to make £ appear, otherwise it types #
confused and confounded
Restart the printer and your computer
Got me stumped…
There is a specific code page named as 858 – "Multilingual" with euro symbol
. Can you try using that character set?
Hi @emre i googled the codes and tried that, but now ive done a restart ill try again and see what happens and let you know
All Working, very strange im still using 437, did a test sale and its printing fine. it seems a simple restart fixed the issue!!
Do I win something?
Good to hear you got it working!
It started doing it again its something to do with my keyboard and language settings as all of a sudden im needing to do left alt and shift to get £ symbol to type instead of #
Restart seems to temporarily fix it for samba
alt + shift combination cycles through input languages but I’m not sure if it is related with that or not.
It probably isnt as when i press alt shift in samba nothing happens
For some reason when i open notepad or command prompt if i press shift and 3 for the £ symbol i get the # symbol. I tried shift and 2 which should be " and i get @ and it only corrects wheb i press left alt and shift
Now i know that cycles through languages BUT I only have 1 language set and thats english UK. I deleted the USA keyboard and only have the one UK keyboard set as i do on my laptop and the error still happens, it doesnt default to the only installed keyboard and language and ive only noticed it today
Ill test the receipts again when i have my PC on but im guessing theyll print fine again like before, i just dont know whats triggering the change to make it suddenly change the character
Its a mystery???
Shift + 3 is £
for UK Keyboard and #
for US Keyboard. Somehow your input language changes.