Random Strange Print on Print Bill?

When I hit print bill through tickets, I randomly get strange characters printing in my logo, see:

Here is my ticket template:

[LAYOUT]
-- General layout
<BMP>c:\Toolsv4\logo.bmp
<L00>{ENTITY NAME:Tables}
<L00>Date:{TICKET DATE}             Time:{TIME} 
<F>-
{ORDERS}
<F>=
<EB>
{DISCOUNTS}
[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]
<J10>Total:|{TICKET TOTAL}
{PAYMENTS}
<J10>[Tendered:| {TENDERED TOTAL}]
<J10>[Change:| {CHANGE TOTAL}]
<DB>
<F>=
<C00> LOVE WHAT WE DO?... FIND OUT MORE...

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

[PAYMENTS]
<J10>{PAYMENT NAME}|{PAYMENT AMOUNT}

[ORDERS]
-- Default format for orders
<J00>{QUANTITY} {NAME}|{TOTAL PRICE}
{ORDER TAGS}

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

[ORDERS:Void]
-- Nothing will print for void lines

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

[ENTITIES:Table]
-- Table entity format
<L00>{ENTITY NAME}

[ENTITIES:Customer]
-- Customer entity format
<J00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}

[ORDERS:Combo]
-- Format for combo orders
<L00>{QUANTITY} {NAME}
{ORDER TAGS}

Any ideas?

Corrupted logo file ?

Update: This only occurs randomly, it usually prints fine.

@JohnS if it printed like this all the time then I would agree but it is pure random

I have never seen this issue before with SambaPOS.
Can you load the logo into the printer and then call it in the printer template ? This will bypass the need to send the logo to the printer each time.
If the problem doesn’t come back I would look at a communications issue with the printer.

I did not receive any software to enable me to upload a logo.

Its a Wintec WIN90PT 80mm Thermal Printer.

Does it breaks always from the same position or is it random too?

What type of port is it connected to? Serial? USB?

@Isaac, can I ask how much the printer was?
Your right there is no other software than the drivers.

@emre

I need it to happen again so I can determine if its the from the same position.

It is connected via USB and we sometime lose connection to the printer for some bizaarre reason and we usually restart the printer. (Unreliability of USB?)

@JohnS

It was direct from Wintec in China, about $200 I think. It is a decent printer and has been working well for a few years.

@Isaac, if your having connectivity issues, then that’s the problem.
If it runs on a COM port, try dropping the speed.
Also fitting a ferrite core like http://bit.ly/1cYhqXC may help too.

And this is the printer I currently use
http://bit.ly/1oTjJuT
As I have said, it’s not the fastest Epson ever made, but it has a lot of features, works out of the box, and supports Win8 64bit. We have had no issues at all with reliability.

PS - the link shows the serial version. Couldn’t find a usb version available In the UK.

Thanks @JohnS

I have just been given a logo downloader for my printer, see attach:

DownloadBitmap_En.zip (120.5 KB)

Once I downloaded the logo to the printer how do I then call the logo from the ticket template?

@JohnS @emre

I have managed to load my logo to my printer. What command do I have to use in my ticket template to call the logo to print?

Cheers guys your help will be appreciated…

I use

<XCT>29,40,76,6,0,48,69,32,32,1,1

Did the bitmap downloader give you any locations like a set of numbers?

The 32,32 from above is the logo location in my printer.

1 Like

Hi @JohnS

Does this show the location at all=

    FS p n m
[Name] Print NV bit image
[Format] ASCII FS p n m
Hex 1C 70 n m
Decimal 28 112 n m
[Range] 1 =  n  =  255
0 =  m=  3 , 48=m =  51
[Description] Prints NV bit image n using m.
m Mode Vertical direction Horizontal direction
0, 48 Normal 203.2 dpi 203.2 dpi
1, 49 Double 203.2 dpi 101.6 dp
2, 50 Double -height 101.6 dpi 203.2 dpi
3, 51 Quadru ple 101.6 dpi 101.6 dpi

Try

<XCT>28,112,1,48

I just got 0 printing. :frowning:

One of them should work.

<XCT>28,112,1,48
<XCT>28,112,2,48
<XCT>28,112,3,48
...

Third value (n) is the memory position of Logo image. It supports up to 255 so the memory position you’ve uploaded to is important.

@Isaac, when you uploaded the logo, did the program give you any numbers or memory locations?

@JohnS

There is a .ini file which contains this:

[LOGO]
SAVE1=C:\Toolsv4\logo.bmp
SAVE2=
SAVE3=
SAVE4=
SAVE5=
SAVE6=
SAVE7=
SAVE8=
SAVE9=
SAVE10=
SAVE11=

Here is a screenshot of the logo downloader program:

@Johns there is a link for the program above, maybe you can download it and see if im missing something?

Can you load the logo again taking screen shots of each step.
I can’t even find a manual for this printer.