Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Epson FX800 - Bold
Message
De
03/08/2001 08:23:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00539294
Message ID:
00539317
Vues:
9
>Very good
>
> But it seems a little dificult for me
>
> I want only chr ( ) to bold fonts
>
> Thanks

To enable bold:

?? PC_BOLDON

or

?? chr(27) + "E"


to disable bold:

?? PC_BOLDOFF

or

?? chr(27) + "F"


If you want to use the defined codes (PC_BOLDON), you have to:
  • Copy the codes to a file like PrinterCodes.h
  • #include PrinterCodes.h in your program or form
  • Use the codes as described.

    If you use include files, it is convenient to have one main include file, that refers to all other include files. This allows you to add additional include files, without changing every program, form and class.


    HTH, Hilmar.
    Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
  • Précédent
    Suivant
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform