Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printer settings command
Message
 
 
À
30/01/2017 04:45:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2008 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01647147
Message ID:
01647152
Vues:
44
All these I have tried but none gives me the option to change the printer and some settings. I probably need to create a dialog myself. using a combination of GetPrinter() and SYS(1037).


>getprinter() is a native vfp dialog for printers
>can use the windows standard dialog as follow:
>
>local m.ox
>m.ox = newobject( "mscomdlg.commondialog" )   && shipped with any windows  OS
>m.ox.ShowPrinter()
>
>
>see also vfp functions:
>Getprinter()
>sys(1037)
>Setprinter()
>Aprinter()
>PRTINFO( ) Function
>
>
>*some links to explore
>https://www.berezniker.com/content/pages/visual-foxpro/changing-windows-default-printer
>http://www.news2news.com/vfp/?example=589&PHPSESSID=4d3200f5b353d9040fea8e3a6ea05012
Christian Isberner
Software Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform