Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing raw mode in vfp6
Message
From
27/11/2001 06:50:29
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
26/11/2001 21:52:45
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00586126
Message ID:
00586208
Views:
9
Personally, I prefer to use "?" and "??" instead of "@...say". I created wrapper methods for these, that include counting lines, columns and pages. See my Download#9991 for a complete reporting class, based on "?" and "??".

HTH, Hilmar.

>Anyone,
>
>I have written a report using the raw mode of vfp6 by writing the following syntax:
>
>set console off
>set devi to print
>if (preview - literally speaking)
> repofile=sys(3)+".txt"
> set print to &repofile
>endi
>set print on
>??? " "
>@ 0,0 say chr(15) && to print 15cpi
>...
>...@ prow(),pcol() say "xxxxx"
>...
>@ 0,0 say chr(18) && to return to 10cpi
>set print to
>set print off
>set devi to screen
>set conso on
>if preview
> modi comm &repofile
>endi
>
>The printing works fine but it ejects the first page of any printer output I choose. It is desired that the first page of my report will be the first page not a blank page. Thank you very much in advance for the help.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform