Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sys(1037) and prtinfo()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00294265
Message ID:
00294453
Vues:
25
>>You might check File #9588 Printer Control Functions in the Files area.
>
>Thank for the tip. I looked at the vbprinter control, is not what I need but give me the ideea how to do it. I'll display the page setup dialog directly from a COM object and then set the printer to whatever the user selected in the page setup dialog ("SET PRINTER TO ...") and store all other settings (page layout, orientation) so I can use them latter. The ideea is that I'm doing all the printing from an COM object (thats why the other question, about printing an general field...) developed in C++ and I wanted to pass the information selected in the sys(1037) dialog to that server. Instead, I'll display the dialog in the VC++ code and I'll pass the only information VFP uses (printer name) back to VFP with "set printer to..."

Hi Remus,

You might also want to take a look at the Common Dialogs ActiveX Control's ShowPrinter method. It may provide the exact functionality you're looking for.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform