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.