Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer settings command
Message
From
30/01/2017 05:23:15
 
 
To
30/01/2017 04:45:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2008 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01647147
Message ID:
01647152
Views:
43
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform