convert printer code to string of chr()
Richard D. Williams
richard at appgrp.net
Mon Jul 12 09:30:24 PDT 2021
Never mind. I was not using a capital H in my code.
Here is the tested version
chr("27"){chr("40"){chr("115"){chr("49"){chr("54"){chr("46"){chr("54"){chr("72")
Richard D. Williams
On 7/12/2021 11:21 AM, Richard D. Williams via Filepro-list wrote:
> I need to change print codes for font size within a string.
>
> I can do it for bold on, bold off, underline on, underline off;
>
> bold on:
> declare hp_bold_on;hp_bold_on=
> chr("27"){chr("40"){chr("115"){chr("51"){chr("66"){""
>
> bold off:
> declare hp_bold_off;hp_bold_off=
> chr("27"){chr("40"){chr("115"){chr("48"){chr("66"){""
>
> underline on:
> declare
> hp_ul_on;hp_ul_on=chr("27"){chr("38"){chr("100"){chr("51"){chr("68"){""
>
> underline off:
> declare hp_ul_off;hp_ul_off=chr("27"){chr("38"){chr("100"){chr("64"){""
>
>
> but I am having a difficult time with these codes;
>
> $1b ( s 10 H
>
> $1b ( s 12 H
>
> $1b ( s 16.6 H
>
> I guess part of my problem is the parenthesis.
> Can any one help me out?
>
> Richard D. Williams
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
More information about the Filepro-list
mailing list