Aprinter(la_PrtArray) ln_len = alen(la_PrtArray) for ln_count = 1 to ln_len step 1 IF UPPER(SUBSTR(la_PrtArray[ln_count],1,7)) = "BROTHER" && Your printer name STORE PRINTSTATUS() TO llbrother IF NOT llbrother MESSAGEBOX("Brother printer is not found.",0) ELSE lcPrintName = "'"+la_prtarray[ln_count]+"'" && Should be brother set printer to NAME &lcPrintName SELECT myprintcursor GOTO top REPORT FORM myreport TO PRINTER endif ENDIF ENDFOR SET PRINTER TO default && Reset printer for next job