Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change form to Legal and Letter programmatically
Message
 
 
À
17/03/2004 16:51:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00887285
Message ID:
00887329
Vues:
12
Alex,

Open report as a table and in the first reocrd blank out TAG and TAG2 fields and change in Expr field
ORIENTATION=0    
to Landscape
ORIENTATION=1
>Hi,
>
>PRTINFO(2) is great because you can easily find a printer's current form type (Letter, Legal, etc). Is there a direct way to programmatically set the current form to Letter or Legal without resorting to the Win API?
>
>This is required so REPORT FORM PREVIEW shows completetely some very wide reports that normally are printed in landscape on legal paper.
>
>If there is no direct way, what would be the simplest way to do it with Win API? Please note that customers may have versions of Windows in different languages, so form names may be different.
>
>TIA,
>
>Alex
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform