>Yep, it worked for me. I'm printing on an HP Laserjet 5i. The escape codes I used are labeled as laserjet codes in my reference, so this wouldn't be a portable solution. It would only work on a laserjet or compatible. I think if I were faced with your situation, I'd probably go the route Mike Helland recommended and use two columns. Sometimes I have to help my clients save themselves from themselves.
>
>Marty
Marty,
I created two Report variables StartBold and EndBold. Put your ESC expression chr(17)+the rest in initial and stored values.
Then I put StartBold+alltrim(buyer)+EndBold+address+stateuse in the field. May be this was the problem and I have to create one line expression, like you did?
Though, I'm not sure, do we use the same printer or not...
I can not use Mike's suggestion (it would be the easiest thing), because we produced this report for years (it was designed in R&R) and can not just change its appearance.
The other simple idea is to use Curier New, but again, my manager doesn't like its look.
Therefore, I have to find another solution. Vlad's idea about TxtWidth works, but it doesn't always place comma on the correct spot (because TxtWidth is based on the average width of the letter).
If it's not broken, fix it until it is.
My Blog