HP48 Program Development Link and Proper Fonts



#6

I know that this is more of a DOS issue than an HP calc issue, but it is driving me squirrelly.

I have begun to use the admittedly ancient DOS-based HP48 PDL as I work up some simple User RPL programs.

I like how the interface works on my one computer--though it is DOS based the editor works well and the special symbols can be inserted into code by point and click.

The problem is on my other computer. When I run the program in a DOS command window, the special symbols are not correctly rendered in the menu bar, but are replaced with weird ascii equivalents. For example "less than or equal" is rendered by 3/4 (in small font), the squareroot symbol is rendered by something else, and several of the greek letters are rendered by something inscrutable.

But here is the trick. I hit Alt-Enter to go into fullscreen dos mode. From the File menu I choose "Exit to DOS". At the DOS prompt, I type Exit and revert to the PDL IDE and, voila, the symbols are properly represented. However, if I hit Alt-Enter again and go back to a DOS window, the proper representation is lost and I have to start all over again with the above workaround to get the symbols back.

I like to use this in a DOS window rather than fullscreen mode, and the symbols are properly represented on my one computer without difficulty. Are there some system parameters or paths I should be altering to make sure the required font, which evidently is on the computer somewhere, is found when I start up PDL in a DOS window.

This is largely an aesthetic thing, I know, but I really like things to work, and get mystified when then work on one system but not another.

many thanks,
Les


#7

Hi Les,

this is a codepage issue. The symbols you need are supported in codepage 437 only, not 850. The latter is standard in DOS command windows nowadays, the former is hardcoded into the older video modes of the original DOS PC. 850 has more diacritical symbols used in European languages and has therfore replaced 437 while maintaining compatibility with the encoding of the already defined foreign characters like äöüçéèê, etc.

Windows is using codepage 1252, a totally different encoding.

To find out about your codepage in the DOS window, type CHCP. To change it type CHCP 437. On windows NT, 2000 or XP, all codepages supported by the system can be freely switched. Windows 9x/ME and plain DOS only allow for two codepages which have to be "prepared" in AUTOEXEC.BAT with the MODE command.

Marcus


#8

I still like the PDL best as a package for writting 48 program in user RPL. I wonder why there isn't such a package for windows. I have seen many other Windows packages but none allow you to do the point and click for the symbol as well as displaying the symbol.

#9

That did the trick.

The computer where I don't have the problem is a couple of years OLDER. The computer with the "problem" is new!

If you could give me some clues about how to write a batch file that sets the codepage to 437 when I launch PDL, I would be grateful. I don't know what the syntax of the command is.

best,
Les


#10

disregard my silly question.

you already gave me the answer.

my PDL.BAT file to launch PDL is simply:

chcp 437
pdl

Thanks for your direction. I never would've known this without your direction.

Les


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP Prime: Proper Use of Home View and CAS View James Williams 9 972 12-05-2013, 02:44 PM
Last Post: James Williams
  HP Prime: run a program in another program Davi Ribeiro de Oliveira 6 607 11-11-2013, 08:28 PM
Last Post: Davi Ribeiro de Oliveira
  Blurred fonts on the Prime hugh steers 23 1,772 10-31-2013, 05:46 PM
Last Post: BruceH
  Proper location for files on the PC for Connectivity Kit ,etc. Harold A Climer 8 783 10-23-2013, 02:43 AM
Last Post: Marcus von Cube, Germany
  ANN: A MacOSX Kermit program for HP48/49/50 calculators Paul Onions 2 384 09-08-2013, 04:55 AM
Last Post: Paul Onions
  HP-fonts - Where can I found? Csaba Tizedes (Hungary) 4 487 08-23-2013, 05:01 PM
Last Post: Csaba Tizedes (Hungary)
  IR Link Problem: HP48 <-> PC Waon Shinyoe (China) 1 280 03-16-2013, 03:37 AM
Last Post: Eric Smith
  Link for SAMBA v2.10 download Tom Sauntry 9 720 05-28-2012, 11:41 AM
Last Post: Tom Sauntry
  49/50 PC Development Tools Under Linux John R. Graham 1 219 04-24-2012, 03:06 PM
Last Post: Han
  HP20B Development Kit Andres Capdevila 6 540 03-30-2012, 06:26 PM
Last Post: Andres Capdevila

Forum Jump: