convert printer code to string of chr()
Richard D. Williams
richard at appgrp.net
Mon Jul 12 09:21:47 PDT 2021
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
More information about the Filepro-list
mailing list