PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
iPrintingNation (Function)
In French: iNationImpression
Modifies the current language for the next print (programmed print or report print).
WINDEV The display language of the print preview is not modified.
Example
// 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. See Correspondence between languages, sub-languages, character sets and nations for more details.
<Charset>: Optional Integer constant
Character set to use:
charsetAnsiRoman characters in ANSI standard
charsetArabicArabic characters
charsetBalticBaltic characters
charsetChineseChinese characters (People's Republic of China)
charsetTraditionalChineseTraditional Chinese characters (Republic of Taiwan)
charsetKoreanKorean characters
charsetDefaultUses the default character set defined for the computer. No character set is forced.
charsetEastEuropeCharacters of Eastern Europe (Polish, ...)
charsetGreekGreek characters
charsetHebrewHebrew characters
charsetJapaneseJapanese characters
Versions 20 and later
charsetMac
New in version 20
charsetMac
charsetMac
Characters to the Mac Roman standard (used on the old Macintosh versions).
charsetOccidentalRoman characters in ANSI standard
charsetUTF8Used to manage the countries with two character sets (Hong Kong) and the countries with no character set defined in Windows (Georgian and Armenian).
charsetRussianRussian characters
charsetThaiThai characters
charsetTurkishTurkish characters
charsetVietnameseVietnamese 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. See Correspondence between languages, sub-languages, character sets and nations for more details.
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. See Correspondence between languages, sub-languages, character sets and nations for more details.
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.
LanguageSort mode
ConstantValueSortValue
languageGerman7Standard0
Directory1
languageChinese4Phonetic0
Unicode1
Stroke count order2
Bopomofo standard3
languageKorean18KSC0
Unicode1
languageGeorgian55Standard0
Modern1
languageHungarian14Standard0
Technical1
languageJapanese17XJIS0
Unicode1
Remarks
  • The printing nation is the current nation for the code currently run from the call to iPrintingNation until the call to a function for ending the print (iEndPrinting, iPrintReport or iSequencingPrint for example).
  • 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 captions of the reports remain in the language specified by iPrintingNation.
    • the multilingual strings are displayed in the language specified by Nation.
  • iPrintingNation also allows you to modify the nation used for a group of reports (iGroupAdd, iGroupPrint, iGroupConfigure).
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Linux wd230vm.so
See also
Minimum required version
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment