Kbase P149553: How to print both Traditional Chinese and Thai on the same machine?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/21/2009 |
|
Status: Unverified
GOAL:
How to print both Traditional Chinese and Thai on the same machine?
GOAL:
How to print both Traditional Chinese and Thai via WebClient on the same machine?
FACT(s) (Environment):
Windows Server 2000 SP4
OpenEdge 10.1A
FIX:
Sample OS-Print program used is from Solution 13563:4GL Sample using the ProPrint.DLL and _osprint. Same application has been saved as different name for easy recognized: printTch.p & printThai.p. Font using is '8'.
Regional Options:
Windows Server 2000:
General Tab -> Your locale -> English (United States) -> Language settings for the system: Western Europe and United States (Default) (Also have Thai & Traditional Chinese check box checked, installed)
Progress step up:
Create the ini files for Traditional Chinese and Thai, copy the progress.ini file from the <progress install dir>\bin into <work dir>\
Tch.ini: Open progress.ini; In the [fonts] section, Add ?font8=MingLiu, size=8,script=chinesebig5? and then save it as Tch.ini;
Thai.ini: Open progress.ini; In the [fonts] section, Add ?font8=Courier MonoThai, size=8, script=ansi? and then save it as Tch.ini;
Normal Client Print set up(Print via prowin32.exe):
a.Print Traditional Chinese:
i. from proenv > C:\progress\101a\dlc\bin\prowin32.exe -cpinternal cp950 -cpstream cp950 -cpprint cp950 -basekey "INI" -ininame C:\progress\101a\wrk\Tch.ini -p printTch.p
ii. enter the file name of the file contains Traditional Chinese characters;
b.Print Thai:
i. from proenv > C:\progress\101a\dlc\bin\prowin32.exe -cpstream 620-2533 -cpinternal 620-2533 -basekey "INI" -ininame C:\progress\101a\wrk\Thai.ini -p printThai.p
ii. enter the file name of the file contains Thai characters;
Quick WebClient Print set up(Print via prowc.exe, this is just proof it can be done via WebClient, the deployment package will need to be setup properly)
Compile the r code based on different code page for printing Chinese and Thai;
a. printTch.r
i. from proenv > C:\progress\101a\dlc\bin\prowin32.exe -cpinternal cp950 -cpstream cp950 -basekey "INI" -ininame C:\progress\101a\wrk\Tch.ini
ii. in Procedure Editor : type in ?compile printTch.p save? and then Run it
b. printThai.r
i. from proenv > C:\progress\101a\dlc\bin\prowin32.exe -cpstream 620-2533 -cpinternal 620-2533 -basekey "INI" -ininame C:\progress\101a\wrk\Thai.ini
ii. in Procedure Editor : type in ?compile printThai.p save? and then Run it
Print:
a. Print Traditional Chinese:
i. from proenv> "C:\Program Files\Progress Software\WebClient\bin\prowc.exe" -cpinternal cp950 -cpstream cp950 -cpprint cp950 -basekey "INI" -ininame C:\progress\101a\wrk\Tch.ini -p printTch.p
ii. enter the file name of the file contains Traditional Chinese characters;
b. Print Thai:
i. from proenv> "C:\Program Files\Progress Software\WebClient\bin\prowc.exe" -cpstream 620-2533 -cpinternal 620-2533 -basekey "INI" -ininame C:\progress\101a\wrk\Thai.ini -p printThai.p
ii. enter the file name of the file contains Thai characters;