Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Part of the string - in Bold
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00461366
Message ID:
00463184
Views:
46
>>Okay, because I love a challenge...
>>
>>I got this to work on our HP Laserjet 5i:
>>
>>Create a report field. For the expression, enter this:
>>
>>
chr(27) + "(s7B" + YourTable.CustName + ", " + chr(27) + "(s0B" + " " + YourTable.CustAddress
>>
>>Escape + (s7B turns on bold.
>>Escape + (s0B turns it off.
>>
>>This will probably make a lot of people's hair fall out when they see a suggestion to send escape codes to the printer. But, I just couldn't leave the idea alone. (Plus, I never pass up a chance to use my Pocket Ref by Thomas Glover!)
>>
>>Marty
>Tried this idea today. It prints squar box and then all these symbols instead of sending print escape codes... So, I have to investigate other routes...
>BTW, did this trick work for you?

Shouldn't the printer be set for PCL? Maybe yours is set for postscript?
Nebraska Dept of Revenue
Previous
Reply
Map
View

Click here to load this message in the networking platform