>In vfp6
>1. How can i detect if a printer is not connected to the pc.
>2. How can i detect if the printer is not on.
Will PRINTSTATUS() work for you? APRINTERS() returns an array of printers installed. This is useful if there are network printers available. PRTINFO() may be helpful to you as well.
Mark McCasland
Midlothian, TX USA