githubashto / jzebra

Automatically exported from code.google.com/p/jzebra
0 stars 1 forks source link

Special turkish character - how to print? #98

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I try raw print "ÇçĞğÜüÖöİı" these character with UTF-8 encoding 
but print out see as ascii. 
2.I tried codes part is as following:

document.jzebra.setEncoding("UTF-8");
var applet = document.jzebra;

applet.append(chr(304)+ chr(305)+ chr(214)+ chr(246)+ chr(220)+ chr(252)+ 
chr(199)+ chr(231)+ chr(286)+ chr(287)+ chr(350)+ chr(351) + "\n");
applet.append("\u00C7\u00E7\u00F6\u0130\u011E\u011F\u015E\u015F\n");
applet.append("\x80\x9E\x9F\x9A\x8D\xA6\xA7\n");

3. How can I do the settings row print that Turkish special character 
(Ç窺ĞğİıÖöÜü)

What is the expected output? What do you see instead?
The expected output are Ç窺İıĞğ etc. but I see meaningless ascii 
character according to the using method (\x or \u or chr()) some characters or 
all characters.

What version of the product are you using? On what operating system?
jzebra version: 1.4.5 - Operating System : Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by tas.ce...@gmail.com on 19 Oct 2012 at 5:28

GoogleCodeExporter commented 9 years ago
Have you checked your reference manual to see if Turkish characters need to be 
enabled first?  In ESC/P there is usually a command for switching the printer's 
character set.

Original comment by tres.fin...@gmail.com on 6 Dec 2012 at 4:05

GoogleCodeExporter commented 9 years ago
Thank you for your interest. How can I set ESC/P command with jzebra?

Original comment by tas.ce...@gmail.com on 6 Dec 2012 at 3:04

GoogleCodeExporter commented 9 years ago
Please refer to your printer's programming guide.  Additionally you may ask on 
the mailing list jzebra-users@googlegroups.com.

-Tres

Original comment by tres.fin...@gmail.com on 6 Dec 2012 at 6:51