convert printer code to string of chr()
Jose Lerebours
fpgroups at gmail.com
Mon Jul 12 09:34:43 PDT 2021
I was about to send you this https://www.asciitable.com/
so that you made sure you were using proper decimal values.
This approach is excellent for dynamically setting text properties on
forms/reports by
embedding escape sequence within a variable.
On 7/12/21 12:30 PM, Richard D. Williams via Filepro-list wrote:
> 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
>>
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
--
Jose Lerebours
(954) 559-7186
https://www.asisuites.com http://www.shipsuites.com
https://www.cargosaas.com https://www.helpsuites.com
ASI Suites Ship Suites CargoSaaS Help Suites
A robust, scalable & fully integrated application suitable for the most
demanding business environment! A load board designed to give you the
flexibility to manage traffic from/to your warehouse.
B2B UX/UI to allow your trucking partners pick the day and time they are
coming in thus preventing backlog in your yard.
TMS SaaS aimed to transform the way you do Transportation.
Designed with 3PL and Brokers in mind, this application has it all, from
RFQ to POD.
Need someone to handle your shipping? Give us a call, we offer very
competitive rates!
A friendly way to manage open & closed issues or requests for assistance.
WANTED! If you are looking for ready to roll out web based application,
give us a call and lets talk about great business opportunity with no
out of pocket investment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20210712/f9785de6/attachment.html>
More information about the Filepro-list
mailing list