Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FONTS
Message
 
 
À
14/09/2000 15:49:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Re: FONTS
Divers
Thread ID:
00416621
Message ID:
00416638
Vues:
21
Printing under Windows is a whole different animal than printing under DOS. You can still do things the way you're describing (sending PCL escape sequences to the printer) but you'll need to bypass Windows to make it work. Basically you need to write the whole report to an ASCII file, then ??? it to the printer.

The other alternative of course is to convert the report to a real VFP report and set your fonts, page setup, etc. using the VFP report writer.


>When using foxpro 2.6 for dos I could set the printer font by:
>
>??? chr(27)+"(s0p12h4102T"
>
>I am now using visual 6.0 and trying to execute the above line of code and then do a report form.
>
>The font doesn't change. Any suggestions?
>
>I can do it from the command box and it works.
>dan
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform