|
|
|
|
|
iPrintingNation (Function) In french: iNationImpression Modifies the current language for the next print (programmed print or report print).
// Print a report in Spanish iPrintingNation(nationSpanish) iPrintReport(Invoice)
// Programmed print in Italian iPrintingNation(nationItalian) iPrintWord("<<<multilingual text with flag>>>") iEndPrinting()
Syntax
iPrintingNation(<Nation> [, <Charset> [, <Language> [, <Sub-language> [, <Sort mode>]]]])
<Nation>: Integer constant Nation to use. For more details on these constants, see Correspondence between languages, sub-languages, character sets and nations. <Charset>: Optional Integer constant Character set to use: | | charsetAnsi | Roman characters in ANSI standard | charsetArabic | Arabic characters | charsetBaltic | Baltic characters | charsetChinese | Chinese characters (People's Republic of China) | charsetDefault | Uses the computer's default character set. No character set is forced. | charsetEastEurope | Eastern European characters (Polish, etc.) | charsetGreek | Greek characters | charsetHebrew | Hebrew characters | charsetJapanese | Japanese characters | charsetKorean | Korean characters | charsetMac | Mac Roman character set (used in previous versions of Macintosh). | charsetOccidental | Roman characters in ANSI standard | charsetRussian | Russian characters | charsetThai | Thai characters | charsetTraditionalChinese | Traditional Chinese characters (Republic of Taiwan) | charsetTurkish | Turkish characters | charsetUTF8 | Used to manage the countries with two character sets (Hong Kong) and the countries with no character set defined in Windows (Georgian and Armenian). | charsetVietnamese | Vietnamese characters |
If this parameter is not specified, the character set associated by default to the country is used. <Language>: Optional Integer constant Language to use. For more details on these constants, see Correspondence between languages, sub-languages, character sets and nations. This language must correspond to the specified <Charset> parameter. Otherwise, a WLanguage error will occur. This parameter is used to manage the specific features of each country.If this parameter is not specified, the language associated by default to the country is used. <Sub-language>: Optional integer Sub-language to use. For more details on sub-languages, see Correspondence between languages, sub-languages, character sets and nations. This sub-language must correspond to the specified <Charset> parameter. Otherwise, a WLanguage error will occur. This parameter is used to manage the specific features of each country.If this parameter is not specified, the sub-language associated by default to the country is used. <Sort mode>: Optional integer New sort mode to use. Only the following sort modes are available. This parameter is not available for the other languages. | | | | Language | Sort mode | Constant | Value | Sort | Value | languageGerman | 7 | Standard | 0 | Directory | 1 | languageChinese | 4 | Phonetic | 0 | Unicode | 1 | Stroke count order | 2 | | Bopomofo standard | 3 | languageKorean | 18 | KSC | 0 | Unicode | 1 | languageGeorgian | 55 | Standard | 0 | Modern | 1 | languageHungarian | 14 | Standard | 0 | Technical | 1 | languageJapanese | 17 | XJIS | 0 | Unicode | 1 |
Remarks - The nation used for printing corresponds to the <Nation> parameter when iPrintingNation is called. This nation is used until a print end function is called (for example, iEndPrinting, iPrintReport or iSequencingPrint).
- If Nation is called during the print, the nation initially specified by iPrintingNation is abandoned: the print goes back to the nation specified by Nation. In this case:
- the text of the reports remains in the language specified with iPrintingNation.
- the multilingual strings are displayed in the language specified with Nation.
- iPrintingNation also allows you to modify the nation used for a group of reports (iGroupAdd, iGroupPrint, iGroupConfigure).
Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|