Pregunta: | 626 - CONTROLAR EL ESTADO DE LA IMPRESORA |
Autor: | Ana |
¿COMO PUEDO CONTROLAR EL ESTADO EN QUE ESTA LA IMPRESORA (PARA EVITAR LOS ERRORES DE EJECUCION CUANDO ESTA APAGADA POR EJEMPLO)? |
Respuesta: | Nodgard Seguias |
Estimado Colega, existe una funcion denominada isprinter(), esta te permite determinar el estado de tu impresora o del puerto activo en el set device to por eJemploIf .not. isprinter()La funcion de vuelve .t. si el puerto esta OnLine y .f. si es lo contrario, cualquier cosa escribeme |