Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filling Preprinted forms.
Message
From
25/05/1999 13:47:09
 
 
To
25/05/1999 13:31:45
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00222575
Message ID:
00222584
Views:
20
>In the process of converting a Foxpro 2.6 application into Visual Foxpro 6.0, I came across to the task of having to fill pre-printed forms on a dot matrix printer.
>
>The problem arises when I try to send a "report form" command to the printer. Windows takes over and sends a series of control characters to the printer, and the dot-matrix printer tries to "draw" the text that will fill the form.
>
>Question: Is there an easy way to have Visual FoxPro 6.0 send straight text to the dot-matrix printer?

Create an entry for the printer on the workstation using the Generic/Text Only printer driver, and direct your printed output to that Windows printer, so that Windows won't convert the output to a graphic image. If you want to do any print formatting (ie selecting font/pitch/etc) you'll have to send the print code yourself to the printer by putting the control sequence into the output stream.
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