>Does anybody know a function that return me the name of the default printer? >I just had to read the win.ini file ultil find the line: >device= in order to know the name of the default printer. But i want know if anybody have use a function obtain this. >
The SET('PRINTER') function can return the Windows default and the current VFP default depending on the second argument specified to SET(). The supported arguments are version-specific, check your on-line docs.