How could I change font size while @..... say data command

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
huangchenmin
Posts: 157
Joined: Mon Jun 07, 2010 2:24 am

How could I change font size while @..... say data command

Post by huangchenmin »

Hello everyone
Could I change the font size, which I am gonna to display on screen or print with command "SAY".
Best Regards
chen min
mexicanto

Re: How could I change font size while @..... say data comma

Post by mexicanto »

don't use the @ 99,99 say.... use @ 99,99 label command

hope this help, i am a beginner in hmg
User avatar
Rathinagiri
Posts: 5482
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: How could I change font size while @..... say data comma

Post by Rathinagiri »

Hi,

For screen you can use label control by which you can adjust fontsize and other properties at runtime too.

For print you can use print command along with mentioning fontname, size, color etc.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
huangchenmin
Posts: 157
Joined: Mon Jun 07, 2010 2:24 am

Re: How could I change font size while @..... say data comma

Post by huangchenmin »

rathinagiri wrote:Hi,
For screen you can use label control by which you can adjust fontsize and other properties at runtime too.
For print you can use print command along with mentioning fontname, size, color etc.
\
Function Main
set device to printer
set printer to LPT1
@ 1,1 print "血壓/脈搏" FONT "標楷體" size 18
set device to screen
set printer to
return

Dear rathinagiri
What I did above right as you mention ?
the thermal 200+ stand still and do nothing!
My GOD
It drive me crazy!
mexicanto

Re: How could I change font size while @..... say data comma

Post by mexicanto »

hi huang

the first thing i recomend to you, is check the samples directory
c:\hmg.3.0.35\samples\print

i have not yet reach the reports in my first system, but i already read all
the samples and tutorias, and the manual

hope to help you
Post Reply