HP Forums
How to print text in bold in a program - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: How to print text in bold in a program (/thread-8482.html)

How to print text in bold in a program - wangchong01 - 06-10-2017 08:56 AM

Hello, in the early firmware, I can use TEXTOUT_P to print text in bold, but I found that the latest firmware does not support it and give me an Error: Invalid input. So how can I change the font in the firmware 10077?

RE: How to print text in bold in a program - Freire - 06-10-2017 08:40 PM

Quote:03-29-2017, 05:34 PM Tim Wessman
RE: How do I Use Monospace Option of STRING?
STRING does not print out characters. Rather, it is meant to be used in conjunction with a TEXTOUT call to write to the screen. If you pass it flags, it will do some automatic sizing of numbers to "make things fit" within your given limits. The returned string should then "fit" within the space you specified to best extent possible.

However, at the moment TEXTOUT does not support passing those flags in. The net result is that at this time you will not be able to print anything in a user program using the italic, bold, or monospaced font.

Improvements to the text printing is definitely on the list of enhancements, but as always I cannot say when or if it will be implemented.

Although I work for the HP calculator group, the views and opinions I post here are my own.

At this Thread : http://www.hpmuseum.org/forum/thread-8058.html