Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Epson FX800 - Bold
Message
From
03/08/2001 08:23:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00539294
Message ID:
00539317
Views:
10
>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)
  • Previous
    Next
    Reply
    Map
    View

    Click here to load this message in the networking platform