Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Printer Prompt vs. To Printer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00147578
Message ID:
00148285
Vues:
27
Hello Chris,

I have also had problems with allowing my users to send their print jobs to different printers. I have discovered that even using the PROMPT clause of the report command does not always give the desired results. The problem is a result of VFP storing printer information inside the report.FRX. I have had situations where no matter what printer I selected, the report would be sent to the printer that was my default printer at the time the report was designed. To fix this problem I had to open the FRX like I would any other table and then replace the contents of three different fields with "". These fields are as follows:
EXPR
TAG
TAG1

Be careful when you do this because the EXPR field also would contain your orientation information. If your reports are all portrait, then things work as they should. If your reports are landscape, you will then need to replace the contents of EXPR with "ORIENTATION=1". I am currently in the process of trying to find out if there is a easier way to get around this problem. Any suggestions by fellow thread members would be much appreciated. I hope this helps with your problem.

Dave :-)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform