Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating fake printer to avoid REPORT FORM ASCII problem
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00880980
Message ID:
00880987
Views:
42
Hola Tocayo,

I know this may be a pain in the eof() to implement, but if instead of a report, you create the output manually (via prg) to a an ascii file and then just copy that file to lpt1 you would avoid the problem alltogether.

Good luck!

Alex


>It has been found that there is a possible bug in the use of REPORT FORM TO FILE ASCII when the default VFP printer (SET("PRINTER",3) - not the default Windows printer) is the Generic/Text driver. Several other printer drivers cause the same problem. (see Message #744835)
>
>This is a very important command to obtain fast printing from dot-matrix printer.
>
>Sergey suggests as a workaround to SET PRINTER TO NAME {a printer with no problems} before printing and then back to the original. Since customers have different printers it would be useful to be able to create programatically a fake printer with a driver that's appropriate for the workaround and that is sure to be present in every Windows machine.
>
>Does anyone have a suggested way to do this, preferably without using Windows Scripting Host?
>
>TIA,
>
>Alex
Low-carb diet not working? Try the Low-food diet instead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform