Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET PRINTER TO doesn't work?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00124375
Message ID:
00196206
Vues:
34
Jim, SET PRINTER TO NAME is not working for me. The output will always be sent to whatever is the current WINDOWS default printer. Do you know an EASY way to do this ?

I have tried the following:

- REPORT FORM frmname TO PRINT PROMPT. OK, but if the user prints form the preview window, no cigar.
- Hacking .FRX fields EXPR, TAG and TAG2. So, So, as different drivers have different parameters causing intense pain with different metrics.

I figure the best way out is to change the default printer in Windows itself, now, if this can be done through the registry, well, I'll take the chance as soon as I know which key control the default printer. If this has to be done through the API, I'm out of luck since we don't have acces to MFC or have any decent knowledge of the WinAPI itself Anyway.

Thank you in advance for you time.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform