Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Part of the string - in Bold
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00461366
Message ID:
00461877
Vues:
53
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
Marty Smith, CSQE
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform