greeshma
Member
Hi All,
Wheneve i prints £ , it comes as ù from printer.
So i thought the problem is with printer and i tried printing £ from a notepad through printer , but that succeeded printer output was £.
I think the problem is related to the unicode value. Below given is the piece of code i tried.
Please help me .
DEF VAR v-ans AS logi.
DEF VAR v-elite AS CHAR INIT "~E&k4S" NO-UNDO.
DEF stream report.
DEF VAR a AS CHAR INIT "rrrr£rr" .
SYSTEM-DIALOG PRINTER-SETUP
NUM-COPIES 1
UPDATE v-ans.
output stream report to PRINTER
paged page-size 1.
PUT STREAM report CONTROL v-elite.
put stream report a at 1.
output stream report close.
Wheneve i prints £ , it comes as ù from printer.
So i thought the problem is with printer and i tried printing £ from a notepad through printer , but that succeeded printer output was £.
I think the problem is related to the unicode value. Below given is the piece of code i tried.
Please help me .
DEF VAR v-ans AS logi.
DEF VAR v-elite AS CHAR INIT "~E&k4S" NO-UNDO.
DEF stream report.
DEF VAR a AS CHAR INIT "rrrr£rr" .
SYSTEM-DIALOG PRINTER-SETUP
NUM-COPIES 1
UPDATE v-ans.
output stream report to PRINTER
paged page-size 1.
PUT STREAM report CONTROL v-elite.
put stream report a at 1.
output stream report close.