# Urgent: invoice print in arabic give ? character

**URL:** <https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146>\
**Category:** V4 Question\
**Created:** [December 24, 2013, 9:03pm UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146 "2013-12-24T21:03:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![saihati](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/f05b48/32.png) [@saihati](https://forum.sambapos.com/u/saihati)\
**Post date:** [December 24, 2013, 9:03pm UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/1 "2013-12-24T21:03:34Z")

</div>

Hello

I am looking to use sampapos V4, I like it but it doesn’t support Arabic as V3. So I try to print invoice in both V3 and V4 but the problem happen in both version

invoice print in arabic give ??? character

How can I fix this problem? \<\<\< it is urgent plz help!!

And When V4 will support Arabic as V3

thank you

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [December 24, 2013, 9:21pm UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/2 "2013-12-24T21:21:02Z")

</div>

You need to adjust code page setting of the printer to Arabic.

Thank you for the suggestion. We’ll try to support more languages in the near future.

---

<div class="post-metadata">

**Author:** ![saihati](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/f05b48/32.png) [@saihati](https://forum.sambapos.com/u/saihati)\
**Post date:** [December 25, 2013, 9:27am UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/3 "2013-12-25T09:27:45Z")

</div>

Thank you very much…

I don’t think that the problem is with the printer since I test the printer to print Arabic through another program like MS Word!!

Can you please help and confirm if the problem from the Sampapos or my sysytem?

Thank you

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [December 25, 2013, 10:40am UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/4 "2013-12-25T10:40:03Z")

</div>

![](https://forum.sambapos.com/uploads/default/original/3X/6/5/656ce6264ba16bd91570577b2a86e25c5bff4a7b.jpeg)

---

<div class="post-metadata">

**Author:** ![bilalalmaleh](https://forum.sambapos.com/user_avatar/forum.sambapos.com/bilalalmaleh/32/216_2.png) [@bilalalmaleh](https://forum.sambapos.com/u/bilalalmaleh)\
**Post date:** [January 17, 2014, 5:53pm UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/5 "2014-01-17T17:53:41Z")

</div>

Dear emre,  
How can we find the code of the printer?

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [January 17, 2014, 6:30pm UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/6 "2014-01-17T18:30:43Z")

</div>

Switch off your printer and switch it on while holding “Feed” button down. It should print a test page and this page should display configured code page.

You can also Google your language codepage. For example wikipedia contains some language codes. [http://en.wikipedia.org/wiki/Code\_page](http://en.wikipedia.org/wiki/Code_page)

---

<div class="post-metadata">

**Author:** ![bilalalmaleh](https://forum.sambapos.com/user_avatar/forum.sambapos.com/bilalalmaleh/32/216_2.png) [@bilalalmaleh](https://forum.sambapos.com/u/bilalalmaleh)\
**Post date:** [January 23, 2014, 1:12pm UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/7 "2014-01-23T13:12:33Z")

</div>

I checked the code of my printer ( bixolon 350 plus). the code number is 864 and i set it in Sambapos v4 but the characters printed has no meanting. still not working.

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [January 23, 2014, 8:33pm UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/8 "2014-01-23T20:33:28Z")

</div>

> [@bilalalmaleh](#):
>
> has no meanting

Do you mean it prints Arabic but wrong letters?

---

<div class="post-metadata">

**Author:** ![bilalalmaleh](https://forum.sambapos.com/user_avatar/forum.sambapos.com/bilalalmaleh/32/216_2.png) [@bilalalmaleh](https://forum.sambapos.com/u/bilalalmaleh)\
**Post date:** [January 24, 2014, 8:10am UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/9 "2014-01-24T08:10:14Z")

</div>

As you know Arabic letters are connected to Each other, but in the printed invoice letters are separated and has no meaning to the customer data entry in the system. Even the letters printed are different to the data entry. but in general they look like arabic letters.

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [January 24, 2014, 10:32am UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/10 "2014-01-24T10:32:55Z")

</div>

I see, that happens because printer and SambaPOS encodings does not match. Printers that does it has limited Arabic letter support and prints letters in reverse order. I’ll release an update for RTL printing on next update.

Can you try changing printer type to HTML? That switches from raw to postscript printing (how notepad or word prints) and might solve your issue.

---

<div class="post-metadata">

**Author:** ![bilalalmaleh](https://forum.sambapos.com/user_avatar/forum.sambapos.com/bilalalmaleh/32/216_2.png) [@bilalalmaleh](https://forum.sambapos.com/u/bilalalmaleh)\
**Post date:** [February 16, 2014, 11:44am UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/11 "2014-02-16T11:44:04Z")

</div>

Thanks. for your reply.  
After switching to HTML the Arabic Fonts printed is perfect with the same 857 Character set, but the shape of the receipt of the HTML isn’t like the regular print (Ticket Printer).  
I noticed That you apply an RTL option ( [[New 4.1.12] RTL Printing Support](http://forum.sambapos.com/t/new-4-1-12-rtl-printing-support/407) ), But it didn’t fix the Arabic font.

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [February 16, 2014, 12:10pm UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/12 "2014-02-16T12:10:19Z")

</div>

Do you have chance to add photos or screen shots of the prints under this topic?

---

<div class="post-metadata">

**Author:** ![slabos](https://forum.sambapos.com/user_avatar/forum.sambapos.com/slabos/32/39075_2.png) [@slabos](https://forum.sambapos.com/u/slabos)\
**Post date:** [March 1, 2014, 6:48pm UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/13 "2014-03-01T18:48:10Z")

</div>

Here’s a scan of the receipt.

 ![](https://forum.sambapos.com/uploads/default/original/3X/3/d/3da0d13ec61d72f093cda67cedf4f5462da1c1d8.jpeg)  
I tried 864 Character set. Everything is showing correctly except the arabic word حمص (hummus) which is 3 characters. Actually, 3 ‘?’ were printed but only 2 show. Somethign wrong with the scanner…

Please let me know if there’s anythign I can do to troubleshoot this further.

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [March 1, 2014, 8:28pm UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/14 "2014-03-01T20:28:14Z")

</div>

I found another code page list.  
[http://msdn.microsoft.com/en-us/library/dd317756(VS.85).aspx](http://msdn.microsoft.com/en-us/library/dd317756(VS.85).aspx)

Can you try other arabic code pages listed here?

---

<div class="post-metadata">

**Author:** ![slabos](https://forum.sambapos.com/user_avatar/forum.sambapos.com/slabos/32/39075_2.png) [@slabos](https://forum.sambapos.com/u/slabos)\
**Post date:** [March 3, 2014, 3:07pm UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/15 "2014-03-03T15:07:56Z")

</div>

I tried each of them, only two are showing some weird characters I don’t recognize, the rest show ??? marks. How could I further troubleshoot this ?

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [March 3, 2014, 3:12pm UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/16 "2014-03-03T15:12:02Z")

</div>

You can try HTML printer

> [@\[New 4.1.18\] HTML Printer Improvements](http://forum.sambapos.com/t/new-4-1-18-html-printer-improvements/654):
>
> ###Changes HTML Printer correctly handles \<T\> and \<F\> tags. HTML Printer supports \<BAR\> tag. HTML Printer supports \<BMP\> tag. \<div\> and \<span\> HTML tags implemented. ###Styling By using \<div\> and \<span\> tags it is possible to use inline html styles for formatting output. [LAYOUT] -- General layout \<div style="font-weight:bold;font-size:13px"\> \<BMP\>c:\logo.bmp \<T\>Ticket \<L00\>Date:{TICKET DATE} \<L00\>Time:{TIME} {ENTITIES} \<L00\>Ticket No:{TICKET NO} \<F\>- {ORDERS} \<F\>= \<EB\> {DISCOUNTS} [\<J10\>T…

---

<div class="post-metadata">

**Author:** ![slabos](https://forum.sambapos.com/user_avatar/forum.sambapos.com/slabos/32/39075_2.png) [@slabos](https://forum.sambapos.com/u/slabos)\
**Post date:** [March 4, 2014, 12:05am UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/17 "2014-03-04T00:05:09Z")

</div>

Yes, but ticket printer is much better. I will try to use HTML printer in the meantime. Please do let me know if there’s anything else I can do to help troubleshoot this. I’m still setting up sambapos so I don’t mind ruining data or running alpha versions.

Also, i got this error message once while starting SambaPOS, though I don’t remember I changed anything. I restarted and everything went normal.

```
Provide value on 'Samba.Localization.Extensions.LocTextExtension' threw an exception.

```

Not sure if this is related.

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [March 4, 2014, 10:55am UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/18 "2014-03-04T10:55:06Z")

</div>

Ticket printer works with embedded fonts so if Arabic fonts is not installed or not enabled it will print question marks. Even if Arabic fonts installed most printers prints letters disconnected like latin languages so they are not readable. Instead of using embedded mode using postscript mode is a great solution since windows solves all language specific issues and sends output as a graphical printout. HTML printer does it. I’ve recently improved HTML printer and it offers even more options than Ticket Printer.

---

<div class="post-metadata">

**Author:** ![saihati](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/f05b48/32.png) [@saihati](https://forum.sambapos.com/u/saihati)\
**Post date:** [May 19, 2014, 10:39am UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/19 "2014-05-19T10:39:14Z")

</div>

Still have this problem. You fix HTML in a version and while we do update we lose this fix. Further more I think may some problem in Sambapos because the printer can print Arabic perfectly in other program.

We like the Ticket Printer format and we hope to fix this issue!

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [May 19, 2014, 5:04pm UTC](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146/20 "2014-05-19T17:04:30Z")

</div>

I don’t think I’ve recently updated something that disables HTML printer fixes. Can you be more specific about what feature you’ve lost? A screen shot will help a lot.

[Next page](https://forum.sambapos.com/t/urgent-invoice-print-in-arabic-give-character/146.md?page=2)
