I am facing a problem printing Chinese characters from my iOS application to my Epson Printer. When I'm trying to print Chinese, it's came out with question mark (???)
Has anyone of you managed to print Chinese on a TM-T88V with the epson SDK ? Or even has experience with the iOS espon SDK ?
Did anyone of your done this before?
I'm having the same problem here. The Epson support told me only the models bought in Asia supports the asian language.
So far I'm having trouble in printing any Chinese character with my TM T88-V printer and I'm thinking of getting one in Asia.
Quote from support:
In Europe, Epson is offering only ANK (Alpha Numeric Katagana) models
of TM-printers. The Asian models (Japanese, simplified Chines,
traditional Chines, Korean, and South Asia) are supporting 2-byte code
while the ANK models not ! Based on the label you attached, I could
find out, the printer is an ANK model with Ethernet interface. An
Asian model you can only get at the Asian market.
You can identify an Asian printer by using the command "GS I n" with
n= 0x45. It returns a string with a language information.
Related
So I am trying to use festival tts on my raspberry pi for a smart home project. However, when I try to use a british english voice it says not a british english voice installed.
echo "hello world" | festival --tts --language "british_english"
Not a british English voice installed
But if I put in a made up language it says that one of the available language it says that British english is installed.
echo "hello world" | festival --tts --language "madeuplanguage"
"Language not installed. The installed languages are:"
(russian american_english finnish welsh italian english british_english czech scots_gaelic castillian_spanish)
The voice I want is this here the one I want is the "[peter, english rp male]" because it is the most natural sounding.
Thanks!
Installed languages and installed voices are different. You might have a language installed but no voice installed. The british voice you mention is commercial and probably not available in public.
If you want good tts on RPI, you'd better use something like online Google TTS (should be free for small amount of texts) or Amazon TTS. You can also consider any Tacotron voice, like Nvidia tacotron, but again you will not be able to run it on Raspberry Pi, you will need a server.
Does anyone know where I can find a list of all the different available languages for Text to speech? e.g. en_GB, en_US e.t.c.?
Also will offering different languages for text to speech require an internet connection?
The method speechVoices in the class AVSpeechSynthesisVoice returns all the currently available voices on the current device.
Devices ship with at least one, often two (one male, one female) high quality voices for the current locale's language (e.g. a US iPhone will have a high quality male en_US voice and a high quality female en_US voice). They also ship with a larger number of lower quality alternate dialect and international voices (e.g. on that US iPhone, en_GB will be present but lower quality - on a GB iPhone it would be the other way around).
Users can choose to download additional high quality voices, but otherwise an internet connection is not required for TTS.
I used Openears which needs dictionary. It is usefull when we mention the word in dictionary. I wanted to convert all words we speak. So I used Nuanceās speech to recognition dragaon SDK. But it communicates with webserver. I want to avoid server communication because of security concerns. Is it possible to convert speech to text for all words we speak as it is in windows mobile without communicating server only in offline mode?
Speech recognition with unlimited vocabulary requires very big computational and memory resources (gigabytes of memory) and thus it's very hard to do that in iPhone on other embedded device. iPhone is 9 times slower than desktop. iPad is easier since it has more powerful CPU.
Google has put very big effort to make their engine work offline for dictation, and still it prefers to send data to the server because it is significantly more accurate.
Because of that most of the solutions running on small devices use limited vocabulary. Though this vocabulary can be large enough so you will not notice that. Usually 500-1000 words is enough to cover most practical situations. You can use OpenEars to recognize such vocabulary.
To train a language model you need texts from your domain (words and expressions). Language model training is described in CMUSphinx tutorial. To use language model you can use the following OpenEars API call:
- (void) changeLanguageModelToFile: (NSString *) languageModelPathAsString
withDictionary: (NSString *) dictionaryPathAsString
See API reference for more details.
You can use OpenEars with such vocabulary and corresponding language model to support free form text entry for your device.
It could be done, but if you are looking for an unlimited vocabulary speech to text convertor, then it is best if the computations are done on a server. The requirements for such a system are probably too great for a system such as a smartphone. The main areas where you will have huge requirements are as follows:
Dictionary to map input speech into text.
Computations for speech recognition algorithms to run.
I believe this is the reason why companies like Google run their speech recognition services over a server and not on the phone.
But if the application was a limited word speech to text, then it might be worth giving it a try.
All the best!
Doesn't pocketsphinx work on iPhone without network connectivity? Aren't there some demo apps floating around like VocalKit
http://www.rajeevan.co.uk/pocketsphinx_in_iphone/ may be helpful.
I write an native application for an iOS devices(iPhone and iPad) and want to print to Receipt Printer Epson TM-T88. I can not find any information on how to write a driver for Receipt Printer on iOS devices. Pleas can some one help me out or point out where even to start, thank you all.
Epson provides SDKs for iOS, which should be sufficient in connecting to their printers.
http://pos.epson.com/mobilesdks/index.htm
I don't believe the T88 is supported unless you have the Ethernet module to give the printer a TCP/IP connection as I believe that is the only way to print through iOS.
The target printer needs to be "AirPrint" capable. Currently, only a handful of HP printers are capable. I recommend you looking into solutions similar to Printopia.
I need to do this too but this is all I can find on StackOveflow:
Printing to Epson TM-T88V receipt printer from iOS/iPad using CUPS or other framework
Why can I not receive a response from a TCP/IP capable printer?
printing from ipad to receipt printer(Epson TM-T88v) thr wifi
The 3rd post mentions signing up with Epson Expert to gain access to technical docs etc. The TM-T88 Technical Reference Guide states:
With ESC/POS commands, you can
directly control all the TM printer functions, but detailed knowledge of printer specifications or
combination of commands is required, compared to using a driver.
To use ESC/POS commands, you need to agree to a nondisclosure contract first and obtain the
ESC/POS Application Programming Guide. Ask your dealer for details.
It also says this about the TM-T88V Mac Printer Driver:
Mac printer driver allows you to control the TM-T88V using Common
UNIX Printing System (CUPS) on Mac OS X.
This MacWorld forum post contains a lot of information about IOS printing via CUPS:
http://hints.macworld.com/article.php?story=20101027080807322
I am implementing a language conversion tool, to convert Spanish to English, on a variety of smart phones: Android, BlackBerry, iPhone, Windows Phone 7.
How do I implement language conversions? Searching, I am not finding a tutorial about this, and I don't having any experience with this.
Language translation is hard to get right so you may want to lean on an existing language translation service. Services such as Google translate offer APIs and you could try calling into from your mobile application if it meets your requirements. Language conversion is a sub-field of computational linguistics and it ins't a solved problem though there are techniques you can read about.
Blog entry about Googles translation API http://googlesystem.blogspot.com/2008/03/google-launched-another-ajax-api-this.html