Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Know number pages before to print
Message
From
05/09/2007 18:07:37
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01252614
Message ID:
01252619
Views:
16
You can use the _PAGETOTAL system variable.

>I copied the following piece of code to my form :
>
>* Know total pages to print
>DEFINE WINDOW x FROM 1,1 TO 20,20
>ACTI WINDOW x
>REPORT FORM fmto_fact_prueba
>vp_TotHojas= _pageno
>RELEASE WINDOW x
>
>vp_TotHojas is Set To 3, but when I send to printer, I get 4 Hojas printed.
>Printer Is Epso LX 300+II
>
>What I need to do to get correct number of total pages before to print ?
>
>Thanks
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform