Hello all,
I need some help on printing data from a utf-8 codepage database. I am using:
Progress Version:10.2B04
Session startup parameters:
-pf C:\PROGRESS\OpenEdge102B\startup.pf,-cpinternal UTF-8,-cpstream UTF-8,-cpcoll Basic,-cpcase Basic,-d dmy,-numsep 44,-numdec 46,(end .pf),-basekey ini,-ininame progress.ini,-pf AutoBoss.pf,-d dmy,-yy 1929,-ems,-mmax 9000,-TB 20,-TM 20,-pls,-T c:\temp,-D 200,-cpinternal utf-8,-cpstream utf-8,-p .\dbconnect.p,(end .pf)
Windows Vista
Windows codepage: 1253
cpinternal: utf-8
cpstream: utf-8
cpprint: utf-8
cpcase: Basic
cpcoll: Basic
cplog: utf-8
cprcodein: ?
cprcodeout: ?
cpterm: utf-8
DATABASE
DBTYPE: PROGRESS
DBVERSION: 10
Parameters: -db .\DB\AutoBoss.db,-1
DBCODEPAGE: UTF-8
DBCOLLATION: BASIC
I am trying to print to a usb thermal printer and my data (Greek Letters) come out in strange characters.
I have managed to export my data in a text file using:
OUTPUT STREAM report TO myfile.txt paged PAGE-SIZE 0 CONVERT TARGET "utf-8".
PUT stream report CONTROL "~357~273~277". /* BOM for UTF-8 */
and my data are readable. If I output the stream to the printer though, all the data are messed up.
Any help will be much appreciated.
Thank you.
I need some help on printing data from a utf-8 codepage database. I am using:
Progress Version:10.2B04
Session startup parameters:
-pf C:\PROGRESS\OpenEdge102B\startup.pf,-cpinternal UTF-8,-cpstream UTF-8,-cpcoll Basic,-cpcase Basic,-d dmy,-numsep 44,-numdec 46,(end .pf),-basekey ini,-ininame progress.ini,-pf AutoBoss.pf,-d dmy,-yy 1929,-ems,-mmax 9000,-TB 20,-TM 20,-pls,-T c:\temp,-D 200,-cpinternal utf-8,-cpstream utf-8,-p .\dbconnect.p,(end .pf)
Windows Vista
Windows codepage: 1253
cpinternal: utf-8
cpstream: utf-8
cpprint: utf-8
cpcase: Basic
cpcoll: Basic
cplog: utf-8
cprcodein: ?
cprcodeout: ?
cpterm: utf-8
DATABASE
DBTYPE: PROGRESS
DBVERSION: 10
Parameters: -db .\DB\AutoBoss.db,-1
DBCODEPAGE: UTF-8
DBCOLLATION: BASIC
I am trying to print to a usb thermal printer and my data (Greek Letters) come out in strange characters.
I have managed to export my data in a text file using:
OUTPUT STREAM report TO myfile.txt paged PAGE-SIZE 0 CONVERT TARGET "utf-8".
PUT stream report CONTROL "~357~273~277". /* BOM for UTF-8 */
and my data are readable. If I output the stream to the printer though, all the data are messed up.
Any help will be much appreciated.
Thank you.