Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer dialog box
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 2000 SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01348210
Message ID:
01348242
Views:
15
GetPrinter() function doesn't accept a parameter. See GetPrinter()

>
>lcPrinter = GETPRINTER('Laser')
>IF NOT EMPTY(lcPrinter)
>    *-- do something
>ELSE
>   * do something else
>ENDIF
>
>>
>>In the printer dialog box, when I issue the following command:
>>
>>=GETPRINTER('Laser')
>>
>>Is there a way of capture wheather user presses Proceed or Cancel button in response to the windows printer dialog box such as:
>>
>>
>>IF GETPRINTER('Laser')  = .T.
>>    *-- do something
>>ELSE
>>   * do something else
>>ENDIF
>>
>>
>>Any help greately appreciated...
>>
>>Thank you
>>
>>Raz
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform