Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing printers and Outlook automation
Message
De
27/07/2001 15:34:43
 
 
À
20/07/2001 10:50:04
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00533152
Message ID:
00536639
Vues:
7
>I have an app that sends an email notification to a State agency. The users want to print a copy to a printer in the records dept. so that it can be filed in the consumers file. I am using an Outlook object 'printout' method. The docs say this is the only way to print an Outlook item and that it uses the 'default settings'. I am using WSH to change the default printer from printer A to printer B. That part works fine. However, the email prints to printer A even though the new default printer is now B. If I go to Outlook and open an item and print, it goes to printer B, the new default.
>
>I have stepped through the code and the default is now truely B. I have set the default before creating the Outlook object, but still it prints to A. Does anyone have any ideas?
>
>TIA
>
>John

Don't know if this is your problem, but it's worth a look..

VFP stores printer-specific information in the FRX. If you haven't attended to this, it may resolve your issue.

Open the FRX as a table.
The first record holds information about the report as a whole.
In the EXPR memo field, delete all printer-specific info.
In the Tag and Tag2 memo fields, delete all information.
Close

Jay
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform