Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating fake printer to avoid REPORT FORM ASCII problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00880980
Message ID:
00880987
Vues:
43
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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform