Try ok { Open "Lpt1" For OutPut As N '' prints to Lpt1 if exist a printer Print #N, "Hello World!" Close #N } If Not Ok Then Print "Can't Print"