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

You can use my DIRPRTCLASS, which allows writing to a printer completely bypassing the GDI behavior (in the files section), but it doesn't work with the @...SAY syntax.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform