ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Print functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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
// Impression d'un état en espagnol
iPrintingNation(nationSpanish)
iPrintReport(Facture)
// Impression programmée en italien
iPrintingNation(nationItalian)
iPrintWord("<<<texte multilingue avec drapeau>>>")
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:
charsetAnsiRoman characters in ANSI standard
charsetArabicArabic characters
charsetBalticBaltic characters
charsetChineseChinese characters (People's Republic of China)
charsetDefaultUses the computer's default character set. No character set is forced.
charsetEastEuropeEastern European characters (Polish, etc.)
charsetGreekGreek characters
charsetHebrewHebrew characters
charsetJapaneseJapanese characters
charsetKoreanKorean characters
charsetMacMac Roman character set (used in previous versions of Macintosh).
charsetOccidentalRoman characters in ANSI standard
charsetRussianRussian characters
charsetThaiThai characters
charsetTraditionalChineseTraditional Chinese characters (Republic of Taiwan)
charsetTurkishTurkish characters
charsetUTF8Used to manage the countries with two character sets (Hong Kong) and the countries with no character set defined in Windows (Georgian and Armenian).
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. 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 default language associated with the nation 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 nation's default sub-language 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 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 the Nation function is called during printing, the nation initially specified by the iPrintingNation function is abandoned: printing returns to the nation specified by the Nation function.. 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
Component: wd300vm.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help