Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report problem when using different printer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00127603
Message ID:
00132020
Vues:
36
>Barbara--
>Is there any way to make the changes programmatically? I have a macro that builds my exe file from the project and puts it in the proper directory. Perhaps I could add some sql that edited the frx file. No?
>
>--Chris Lawrence

Chris, this shouldn't be too difficult to do with a small PRG. List your FRX files (you can use ADIR() for this if they are all in the same directory) and then loop through them clearing out the 3 fields in each.

One thing to remember, is that the EXPR field holds information for landscape/portrait, paper size, etc. You may have to parse out JUST the printer specific lines. However, once you have the code it will work for ALL your FRXs.

If you're lucky, someone else will jump in here saying they HAVE that code and will post it here.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform