Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Twain.Initialize
Initializes the Twain functions.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Twain | 3.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "Twain.Initialize"; Country; Language ) More
Parameters
Parameter | Description | Example |
---|---|---|
Country | The country code. | "USA" |
Language | The language code. | "ENGLISH" |
Result
Returns OK or an error message.
Description
Initializes the Twain functions.You pass a language and country code to request language settings. Some drivers may ignore that to prefer the system language setting.
Possible Countries: Afghanistan, Algeria, Americansamoa, Andorra, Angola, Anguilla, Antigua, Argentina, Aruba, Ascensioni, Australia, Austria, Bahamas, Bahrain, Bangladesh, Barbados, Belgium, Belize, Benin, Bermuda, Bhutan, Bolivia, Botswana, Britain, Britvirginis, Brazil, Brunei, Bulgaria, Burkinafaso, Burma, Burundi, Camaroon, Canada, Capeverdeis, Caymanis, Centralafrep, Chad, Chile, China, Christmasis, Cocosis, Colombia, Comoros, Congo, Cookis, Costarica, Cuba, Cyprus, Czechoslovakia, Denmark, Djibouti, Dominica, Domincanrep, Easteris, Ecuador, Egypt, Elsalvador, Eqguinea, Ethiopia, Falklandis, Faeroeis, Fijiislands, Finland, France, Frantilles, Frguiana, Frpolyneisa, Futanais, Gabon, Gambia, Germany, Ghana, Gibralter, Greece, Greenland, Grenada, Grenedines, Guadeloupe, Guam, Guantanamobay, Guatemala, Guinea, Guineabissau, Guyana, Haiti, Honduras, Hongkong, Hungary, Iceland, India, Indonesia, Iran, Iraq, Ireland, Israel, Italy, Ivorycoast, Jamaica, Japan, Jordan, Kenya, Kiribati, Korea, Kuwait, Laos, Lebanon, Liberia, Libya, Liechtenstein, Luxenbourg, Macao, Madagascar, Malawi, Malaysia, Maldives, Mali, Malta, Marshallis, Mauritania, Mauritius, Mexico, Micronesia, Miquelon, Monaco, Mongolia, Montserrat, Morocco, Mozambique, Namibia, Nauru, Nepal, Netherlands, Nethantilles, Nevis, Newcaledonia, Newzealand, Nicaragua, Niger, Nigeria, Niue, Norfolki, Norway, Oman, Pakistan, Palau, Panama, Paraguay, Peru, Phillippines, Pitcairnis, Pnewguinea, Poland, Portugal, Qatar, Reunioni, Romania, Rwanda, Saipan, Sanmarino, Saotome, Saudiarabia, Senegal, Seychellesis, Sierraleone, Singapore, Solomonis, Somali, Southafrica, Spain, Srilanka, Sthelena, Stkitts, Stlucia, Stpierre, Stvincent, Sudan, Suriname, Swaziland, Sweden, Switzerland, Syria, Taiwan, Tanzania, Thailand, Tobago, Togo, Tongais, Trinidad, Tunisia, Turkey, Turkscaicos, Tuvalu, Uganda, Ussr, Uaemirates, Unitedkingdom, Usa, Uruguay, Vanuatu, Vaticancity, Venezuela, Wake, Wallisis, Westernsahara, Westernsamoa, Yemen, Yugoslavia, Zaire, Zambia, Zimbabwe, Albania, Armenia, Azerbaijan, Belarus, Bosniaherzgo, Cambodia, Croatia, Czechrepublic, Diegogarcia, Eritrea, Estonia, Georgia, Latvia, Lesotho, Lithuania, Macedonia, Mayotteis, Moldova, Myanmar, Northkorea, Puertorico, Russia, Serbia, Slovakia, Slovenia, Southkorea, Ukraine, Usvirginis, Vietnam.
Language Codes: Dan, Dut, Eng, Fcf, Fin, Frn, Ger, Ice, Itn, Nor, Por, Spa, Swe, Usa, Userlocale, Afrikaans, Albania, Arabic, Arabic_Algeria, Arabic_Bahrain, Arabic_Egypt, Arabic_Iraq, Arabic_Jordan, Arabic_Kuwait, Arabic_Lebanon, Arabic_Libya, Arabic_Morocco, Arabic_Oman, Arabic_Qatar, Arabic_Saudiarabia, Arabic_Syria, Arabic_Tunisia, Arabic_Uae, Arabic_Yemen, Basque, Byelorussian, Bulgarian, Catalan, Chinese, Chinese_Hongkong, Chinese_Prc, Chinese_Singapore, Chinese_Simplified, Chinese_Taiwan, Chinese_Traditional, Croatia, Czech, Danish, Dutch, Dutch_Belgian, English, English_Australian, English_Canadian, English_Ireland, English_Newzealand, English_Southafrica, English_Uk, English_Usa, Estonian, Faeroese, Farsi, Finnish, French, French_Belgian, French_Canadian, French_Luxembourg, French_Swiss, German, German_Austrian, German_Luxembourg, German_Liechtenstein, German_Swiss, Greek, Hebrew, Hungarian, Icelandic, Indonesian, Italian, Italian_Swiss, Japanese, Korean, Korean_Johab, Latvian, Lithuanian, Norwegian, Norwegian_Bokmal, Norwegian_Nynorsk, Polish, Portuguese, Portuguese_Brazil, Romanian, Russian, Serbian_Latin, Slovak, Slovenian, Spanish, Spanish_Mexican, Spanish_Modern, Swedish, Thai, Turkish, Ukranian, | Assamese, Bengali, Bihari, Bodo, Dogri, Gujarati, Haryanvi, Hindi, Kannada, Kashmiri, Malayalam, Marathi, Marwari, Meghalayan, Mizo, Naga, Orissi, Punjabi, Pushtu, Serbian_Cyrillic, Sikkimi, Swedish_Finland, Tamil, Telugu, Tripuri, Urdu, Vietnamese. |
When FileMaker Pro is used (32 bit), we can of course only see and use devices with 32 bit drivers.
For FileMaker Server with 64bit, we only see 64bit drivers.
For 64-bit on Windows you can find 64-bit TwainDSM.dll here:
https://github.com/twain/twain-dsm
Examples
Initialize for english:
MBS("Twain.Initialize"; "USA"; "ENGLISH")
See also
Release notes
- Version 14.4
- Improved Twain.Initialize to return better error messages on Windows.
Example Databases
Blog Entries
This function checks for a license.
Created 18th August 2014, last changed 19th November 2020