Using haracter based, OE 10.1b on Linux, need to print copyright symbol on screens and documents printing on HP Laserjet 4000 or 8000. I can print various common symbols like parentheses, using CHR(), but CHR(169) comes up blank. Perhaps I'm oversymplifying.
The issue here might be that the terminal emulator and the printer are using a different character set than the one that you are using in the OpenEdge session.
When you output CHR(169) the terminal emulator sees 169 but it does not have a meaning for it.
They have to match.
Depending on your needs, you could change the terminal emulator to match the OpenEdge session or the OpenEdge session to match the emulator.
For the printer, there may be a way to tell the printer what character set to use either from the command line or via printer control characters.
I hope this helps.
I did toy around a bit with codepage-convert but don't know what I'm doing there, how one comes up with the correct code page. Will continue to explore. Thanks for the ideas.
Me podrian pasar el Codigo en Progress 91.D para mostrar por pantalla
mediante un Botton el calendario ??.
2012/6/19 Katherine Boyle
A new message was posted in the thread "How does one print copyrightsymbols on screens/documents":
A new message was posted in the thread "How does one print copyright
symbols on screens/documents":
Author : Katherine BoyleProfile : http://communities.progress.com/pcom/people/kboyle
Author : Katherine Boyle
Profile : http://communities.progress.com/pcom/people/kboyle
Note that you can control which character code page OpenEdge uses for various purposes by setting the following configuration parameters:
There is more, including automatic conversions from one to another, sorting, case conversions, etc. See the manual: "OpenEdge Development: Internationalizing Applications" for instructions about how to use them.
2012/6/19 DANIEL INTRA
Me podrian pasar el Codigo en Progress 91.D para mostrar por pantallamediante un Botton el calendario ??.gracias.daniel.
>> DANIEL ADOLFO,
>> A new message was posted in the thread "How does one print copyright
>> symbols on screens/documents":
>> Author : Katherine Boyle
>> Profile : http://communities.progress.com/pcom/people/kboyle
Perdon, necesitaria el codigo COMPLETO para generar un Calendario bajo un
I just wanted to share a couple of things in case that they help you:
- Running a program like the following, if you paste the copyright symbol, you will see it in the field and also in the message, however, this would be the value that terminal emulator recognizes but it is not the correct value:
update x as char. message x asc(x).
- If you output CHR(169) and open the file in the Procedure Editor on Windows using -cpstream ibm850, then you would see the copyright character.
(Here the the program doing the output and the program displaying the characters have the same character set.)
Then you could change the settings in the terminal emulator. (Of course, as I mentioned earlier, you can also change the settings in OpenEdge depending on your needs.)
Thanks for your help. I tried various character sets, setting cpterm, cpstream, cpprint all to no avail, no luck on the screen. I went back to the printer end of things and used put unformatted escape sequences for various Symbol Sets found in our HP manual. I found a few that would give me the copyright and registered symbols. I think I'm good for now.