Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Landscape / Portrait printing
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00330907
Message ID:
00331221
Vues:
22
>Is there any way to print fields Landscape and Portrait on the same report from VFP6? A sample if you have one, would be wonderful.



If simply print Fields.. try follow commands:

Use MyTable
List Field Field1, Field2, Field3 TO PRINTER PROMPT NOCONSOLE

and select the desire Orientation setting from the prompt! ^_~

Similiarly to do for reports.... but you need to clean up frx on printer information..
You can search it as there are many threads about this topic already!!

Copy File G:\MyProj\MyReport.Fr? TO C:\Temp\MyReport.Fr?
Use C:\Temp\MyReport.Frx ALIAS MyReport

BLANK FIELD TAG,TAG2, EXPR && printer info is 1st record of frx!!
IF THISFORM.OPTION_ORIENTATION.VALUE =1 && Set Landscape by Option Control in Form!!
REPLACE EXPR WITH EXPR + [ORIENTATION=1]
ENDIF

USE && close the frx
Report Form C:\Temp\MyReport.Frx To PRINTER NOCONSOLE

^_~ The Above code can allow multi-user print the Same Report In Different PC with Different Orientation
because they only copy to own machine and modify it, the original source is NOT real edited!!
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform