Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Landscape / Portrait printing
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00330907
Message ID:
00331221
Views:
20
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform