Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing raw mode in vfp6
Message
 
To
26/11/2001 21:52:45
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00586126
Message ID:
00586690
Views:
16
>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.


My rememberance is that you need to print your control code to 1,1 not 0,0.
Cy Welch
Senior Programmer/Analyst
MetSYS Inc
Previous
Reply
Map
View

Click here to load this message in the networking platform