Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting print job properties
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00808296
Message ID:
00811615
Vues:
23
This message has been marked as a message which has helped to the initial question of the thread.
Here is some help from the VBA guys. See if you can get this to work in VFP. http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=101

>I have a need to be able to set various properties for print jobs at runtime from within VFP6.
>
>The most important of these is a paper bin so that I can switch between plain and letterhead paper.
>
>I have found a number of examples of code that I can work with, however they all rely on working with the Windows default printer. My problem is that I can foresee a time when a user has my application open twice or opens another app like Excel.
>
>My issue is that I will set the Windows default printer, start printing, the user will switch to Excel, do something, then print, but change the printer in Excel to something else.
>
>Is there a better way of doing this? For example PRTINFO(7) returns the paper bin selected. What is the correct way to set this?
>
>TIA,
>Simon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform