Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing from VFOX6.0 to a Dot Matrix Printer
Message
From
23/11/1999 20:45:30
 
 
To
23/11/1999 20:30:12
Bill Totten
William Totten & Associates, Inc.
Indiana, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00293965
Message ID:
00294762
Views:
24
>Correctamundo Ed... It's been a long time since I used this approach (or a derivative of it).

No problem - it worked fine in FPDOS where you had to do something positive to close down the spool stream reliably! One of the drawbacks to using the Windows tools - it decides when you're done, rather than letting you do it yourself...

You can use the approach you outline if you assign the printer output to go to a file - the print file accumulates data until you SET PRINTER TO something else, when it closes. Then you take the file and squirt it all as a single stream, which you control. Sometimes, Windows makes it too easy to relinquish control accidentally...
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
Reply
Map
View

Click here to load this message in the networking platform