CC: Re: HP Boldface On/Off mid field on output (conditional prin
Jim Asman
jlasman at telus.net
Thu May 21 10:15:19 PDT 2009
--------------- Original Message ---------------
At 12:34P Thu May 21 2009, Joe Chasan wrote:
>
> 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.
You will have to fix it with tab stops if the bold comes in a variable.
The printer will interpret the PCL code, but of course filepro views it
as normal data. The beauty of the tab stop is that you only need to
place it under the first affected field.
Jim
--
jlasman at telus.net Spectra Colour Services Ltd.
Jim Asman 10221 144a Street
Phone: (604)584-0977 Surrey, BC V3R 3P7 CANADA
Cell: (604)619-0977 www.spectracolorservices.com
More information about the Filepro-list
mailing list