Contents:

 

 

Introduction


News blog


What is Servoy?


Getting Started


Comparison Servoy/VFP


Performance


How-To's

 

Code Reference

 

VFP2Servoy Toolkit

 

 

Contact / feedback

 

 

 

 

 

 

 

 

 

 

 

 

 

 

APRINTERS() - application.getPrinters()



Returns an array with printernames.

 

VFP code example

? APRINTERS(aTest, "c:\temp\")   && fills five-column array

? aTest(1,1) && printername
? aTest(1,2) && name of the printerport
? aTest(1,3) && name of the printerdriver
? aTest(1,4) && printer comment
? aTest(1,5) && printer location

 

Servoy code example

// returns array with printer names
var prnArray = application.getPrinters();

// alternatively:

// returns array with printer names
globals.APRINTERS();         

Note: APRINTERS() is a function of the VFP2Servoy Toolkit

 

 

External resources:

 

vfp plugin

 

ServoyWorld 2012 pics

 

Official Servoy website

 

Ken Levy on Servoy

 

Servoy info

 

Servoy Forum

 

Servoy Documentation

 

VisualFoxpro.com © 2010-2012 • All rights reserved • Contact: info@visualfoxpro.com