Difference between revisions of "Bluetooth Printers"

From SI-Droid Wiki
Jump to: navigation, search
(Supported character sets)
(Supported character sets)
Line 21: Line 21:
 
! Character set
 
! Character set
 
! Java name and aliases
 
! Java name and aliases
! Printer code page
+
! CP # in type 1
 +
! CP # in type 2
 
! Comment
 
! Comment
 
|-
 
|-
 
| Nordic
 
| Nordic
 
| [https://en.wikipedia.org/wiki/Code_page_865 IBM865]
 
| [https://en.wikipedia.org/wiki/Code_page_865 IBM865]
 +
| 5
 
| 5
 
| 5
 
|
 
|
 +
|-
 +
| Multilingual
 +
| [https://en.wikipedia.org/wiki/Code_page_850 IBM850]
 +
| 2
 +
| 2
 +
| Also default char set if nothing else matches
 
|-
 
|-
 
| Portuguese
 
| Portuguese
 
| [https://en.wikipedia.org/wiki/Code_page_860 IBM860]
 
| [https://en.wikipedia.org/wiki/Code_page_860 IBM860]
 +
| 3
 
| 3
 
| 3
 
|
 
|
Line 36: Line 45:
 
| Canadian
 
| Canadian
 
| [https://en.wikipedia.org/wiki/Code_page_863 IBM863]
 
| [https://en.wikipedia.org/wiki/Code_page_863 IBM863]
 +
| 4
 
| 4
 
| 4
 +
|
 +
|-
 +
| East European
 +
| [https://en.wikipedia.org/wiki/Code_page_755 IBM755]
 +
| 9
 +
| 9
 +
|
 +
|-
 +
| West European
 +
| [https://en.wikipedia.org/wiki/Windows-1252 windows-1252]
 +
| 16
 +
| 16
 +
|
 +
|-
 +
| Latin2
 +
| [https://en.wikipedia.org/wiki/Code_page_852 IBM852]
 +
| 18
 +
| 18
 +
|
 +
|-
 +
| MultiLatin1
 +
| [https://en.wikipedia.org/wiki/Code_page_858 IBM858]
 +
| 19
 +
| 19
 +
|
 +
|-
 +
| Arabic
 +
| [https://en.wikipedia.org/wiki/Code_page_864 IBM864]
 +
| 22
 +
| 22
 +
| R-to-L
 +
|-
 +
| Baltic
 +
| [https://en.wikipedia.org/wiki/Windows-1257 windows-1257]
 +
| 25
 +
| 25
 +
|
 +
|-
 +
| Hebrew
 +
| [https://en.wikipedia.org/wiki/Code_page_862 IBM862]
 +
| 8
 +
| 15
 +
| R-to-L
 +
|-
 +
| Israel
 +
| [https://en.wikipedia.org/wiki/Windows-1255 windows-1255]
 +
| 32
 +
| 33
 +
| R-to-L
 +
|-
 +
| Bulgarian
 +
| [https://en.wikipedia.org/wiki/Code_page_855 IBM855]
 +
| 60
 +
| 28
 +
|
 +
|-
 +
| Turkey
 +
| [https://en.wikipedia.org/wiki/Code_page_857 IBM857]
 +
| 61
 +
| 29
 
|
 
|
 
|-
 
|-
Line 42: Line 112:
 
| [https://en.wikipedia.org/wiki/Windows-1250 windows-1250]
 
| [https://en.wikipedia.org/wiki/Windows-1250 windows-1250]
 
| 72
 
| 72
 +
| 30
 
|
 
|
 
|-
 
|-
Line 47: Line 118:
 
| [https://en.wikipedia.org/wiki/Windows-1251 windows-1251]
 
| [https://en.wikipedia.org/wiki/Windows-1251 windows-1251]
 
| 73
 
| 73
|
+
| 6
|-
+
| West European
+
| [https://en.wikipedia.org/wiki/Windows-1252 windows-1252]
+
| 16
+
 
|
 
|
 
|-
 
|-
Line 57: Line 124:
 
| [https://en.wikipedia.org/wiki/Windows-1253 windows-1253]
 
| [https://en.wikipedia.org/wiki/Windows-1253 windows-1253]
 
| 90
 
| 90
 +
| 17
 
|
 
|
 
|-
 
|-
Line 62: Line 130:
 
| [https://en.wikipedia.org/wiki/Windows-1254 windows-1254]
 
| [https://en.wikipedia.org/wiki/Windows-1254 windows-1254]
 
| 91
 
| 91
 +
| -
 
|
 
|
|-
 
| Israel
 
| [https://en.wikipedia.org/wiki/Windows-1255 windows-1255]
 
| 32
 
| R-to-L
 
 
|-
 
|-
 
| Arabic
 
| Arabic
 
| [https://en.wikipedia.org/wiki/Windows-1256 windows-1256]
 
| [https://en.wikipedia.org/wiki/Windows-1256 windows-1256]
 
| 92
 
| 92
 +
| -
 
| R-to-L
 
| R-to-L
|-
 
| Baltic
 
| [https://en.wikipedia.org/wiki/Windows-1257 windows-1257]
 
| 25
 
|
 
 
|-
 
|-
 
| Vietnam
 
| Vietnam
 
| [https://en.wikipedia.org/wiki/Windows-1258 windows-1258]
 
| [https://en.wikipedia.org/wiki/Windows-1258 windows-1258]
 
| 94
 
| 94
 +
| -
 
|  
 
|  
 
|-
 
|-
 
| Cyrillic
 
| Cyrillic
 
| [https://en.wikipedia.org/wiki/Code_page_866 IBM866]
 
| [https://en.wikipedia.org/wiki/Code_page_866 IBM866]
| 17
+
| -
 +
| 7
 
|
 
|
 
|-
 
|-
| Latin2
+
| West Europe
| [https://en.wikipedia.org/wiki/Code_page_852 IBM852]
+
| [https://en.wikipedia.org/wiki/ISO/IEC_8859-1 ISO-8859-1]
| 18
+
| -
 +
| 23
 +
|
 +
|-
 +
| Thai
 +
| [https://en.wikipedia.org/wiki/Thai_Industrial_Standard_620-2533 IBM-Thai]
 +
| -
 +
| 26
 
|
 
|
 
|-
 
|-
 
| Arabic
 
| Arabic
| [https://en.wikipedia.org/wiki/Code_page_864 IBM864]
+
| [https://en.wikipedia.org/wiki/Code_page_720 x-IBM720]
| 22
+
| -
 +
| 27
 
| R-to-L
 
| R-to-L
 
|-
 
|-
| Hebrew
+
| CP775
| [https://en.wikipedia.org/wiki/Code_page_862 IBM862]
+
| [https://en.wikipedia.org/wiki/Code_page_775 IBM775]
 +
| -
 
| 31
 
| 31
| R-to-L
+
|  
|-
+
| Bulgarian
+
| [https://en.wikipedia.org/wiki/Code_page_855 IBM855]
+
| 60
+
|
+
 
|-
 
|-
 
| Turkey
 
| Turkey
 
| [https://en.wikipedia.org/wiki/Code_page_857 IBM857]
 
| [https://en.wikipedia.org/wiki/Code_page_857 IBM857]
| 61
+
| -
 +
| 29
 
|
 
|
|-
 
| Multilingual
 
| [https://en.wikipedia.org/wiki/ISO/IEC_8859-1 ISO-8859-1]
 
| 2
 
| Default char set if nothing else matches
 
 
|}
 
|}

Revision as of 23:15, 30 September 2018

SI-Droid Event (not the Lite version) have support for printing split time receipts on Bluetooth printers. The basic feature should work with all Bluetooth printers that supports the Serial Port Profile (SPP) and as long as you are only using the standard English alphabet (A-Z, a-z, 0-9) in the names of the runners. Other characters may come out correct or as garbage, depending on the printer.

If you want to use other characters (and get them correctly printed), the only printer that I know is working correct is the model that I used during development: NT-5802 Bluetooth Printer
I have gotten a report that this Ebay store also sells a very similar printer that is fully working with the app Bluetooth Printer (Thanks to Christoffer O).

For the above printer, I have added character set mappings for most languages, so it should be able to print most non-english characters correct. See the table below for all character sets known to the app.

There exists a lot of other similar printers which might or might not work correct. Try these different searches for examples:

If you have tested my app with any other Bluetooth printer, I will be very interested in the result. If you can supply me with a list of all the supported code pages (character sets) for the printer, I might also be able to add support for it. Compare the printers code page numbers with the ones in the table below.

Supported character sets

The table below lists the character sets that SI-Driod knows about and that it has a known code page for in the NT-5802 printer.

Character set Java name and aliases CP # in type 1 CP # in type 2 Comment
Nordic IBM865 5 5
Multilingual IBM850 2 2 Also default char set if nothing else matches
Portuguese IBM860 3 3
Canadian IBM863 4 4
East European IBM755 9 9
West European windows-1252 16 16
Latin2 IBM852 18 18
MultiLatin1 IBM858 19 19
Arabic IBM864 22 22 R-to-L
Baltic windows-1257 25 25
Hebrew IBM862 8 15 R-to-L
Israel windows-1255 32 33 R-to-L
Bulgarian IBM855 60 28
Turkey IBM857 61 29
Latin-2, C European windows-1250 72 30
Cyrillic windows-1251 73 6
Greek windows-1253 90 17
Turkish windows-1254 91 -
Arabic windows-1256 92 - R-to-L
Vietnam windows-1258 94 -
Cyrillic IBM866 - 7
West Europe ISO-8859-1 - 23
Thai IBM-Thai - 26
Arabic x-IBM720 - 27 R-to-L
CP775 IBM775 - 31
Turkey IBM857 - 29