Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with getPrinter() and SYS(1037)
Message
 
À
24/11/1999 08:56:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00294947
Message ID:
00308799
Vues:
53
Stephane,

I'm having the same problem. Did you ever find a solution?

Ed

>In my menu I have 2 options :
> 1- Select a default printer (I use GetPrinter())
> 2- Page setup (I use SYS(1037))
>
>When someone use the option #2 and after that the option #1, VFP Crash. !!
>
>In msdn they said that it's a problem, but they don't have a solution !
>How can I give the opportunity to my users to select a default printer for their application and be able to change de setup of the printer ??
>
>I know that I can use REPORT FORM .... PROMPT, but the user will always have the "printer settings dialog box" before the report begins to print.
>
>Is it possible, like in Word and Excel, to have to options in a program :
> 1- Display the printer setup dialog box before a report is beginning to print.
> 2- Don't display it before the report is beginning to print and use the last selected default ?
>
>And how can I know the default printer selected by the user ?
>I try Set("printer",2) but it's just display the name of the first printer available on my PC.
>
>Thanks !
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform