HP Boldface On/Off mid field on output (conditional print code)

Joe Chasan joe at magnatechonline.com
Thu May 21 09:34:20 PDT 2009


I need to turn bold on/off mid field of a form on which there are other
fields & graphic box characters on the same printed line.

i thought that it might be easy - in simple terms:

declare local bold_on; bold_on=bold_on=chr("27")&"(s3B"
declare local bold_off; bold_off=chr("27")&"(s0B"

and 
if: some_condition
then: aa=bold_on & aa & bold_off

output

*1    *aa     *2

but the problem i have is that if bold on/off is triggered, then
*2 is squashed over to left.

any idea of how to fix?  padding it with blanks did it seem to help
and there is no room on form to overcompensate.  there is also no way
to just use different lines on output depending on bold on/off needs

aa is of edit type "*".

failing a simple solution i'm going to have fix via tab-stops.

--
-Joe Chasan-                           Magnatech Business Systems, Inc.
joe - at - magnatechonline -dot- com   Hicksville, NY - USA
http://www.MagnatechOnline.com         Tel.(516) 931-4444/Fax.(516) 931-1264


More information about the Filepro-list mailing list