Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

Twain.Initialize

Initializes the Twain functions.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Twain 3.1 Yes Yes No No No

MBS( "Twain.Initialize"; Country; Language )

Parameters

Parameter Description Example value
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://sourceforge.net/projects/twain-dsm/

Examples

Initialize for english:

MBS("Twain.Initialize"; "USA"; "ENGLISH")

See also

Example Databases


Twain.ImageInfo   -   Twain.IsDSEnabled

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins