Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing printers programmatically
Message
De
09/11/2000 18:38:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00439583
Message ID:
00440006
Vues:
21
>Gadi,
>
>I can't test this because I don't have a printer with multiple trays, but in theory I think it should work. Bring up the report writer and select "File", "Page Setup" and then "Print Setup". On this screen you should see the "Paper Source" where you can select which tray is printed to. Set the appropriate tray for each of the reports you need to print.
>
>FYI, you will have to hack the .FRX file again and remove the TAG and TAG2 info from the first record because as soon as you save the report again, it will rewrite those fields.
>
>You could actually just hack the .FRX file to change the paper trays if you knew what the codes are. In the first record of the .FRX file, look in the "expr" field. One of the lines will say "DEFAULTSOURCE=#", where "#" is the code for the appropriate tray.
>
>Hope this helps,
>Cathy

Hi Cathy,
It looks loke what I need, but how do I "hack", how do I open the *.frx as a table and browse it's records...?
Gadi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform