Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer name
Message
From
10/06/2009 02:21:11
 
 
To
09/06/2009 23:33:44
Muthu Vel
Sty Company
India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01404914
Message ID:
01404919
Views:
37
lcPrinter=getprinter()
if !empty(lcPrinter)
   Set printer to name (lcPrinter)
endif
** Your printing command here
>I have designed "print.scx" in that i put one command button namely "cmdPrintand" one combo box. I have witten printing code in command button. In my pc i have installed three printers, when I load print.scx form the installed printer name will shown in combobox and i have chossen any one of the printer and click command button the records will print.
>
>How to write code?
Previous
Reply
Map
View

Click here to load this message in the networking platform