>>anyone who knows an API function to detect the status of the printer. I want to know if the printer in online, if the lpt cable is connected, if the printer has no power
>>
>>thanks in advance
>have you looked at fox function
>PRINTSTATUS
PrintStatus() doesn't work for network printers or in the Windows environment is you are spooling data to your printer. The network/print spool is always on-line so PrintStatus always returns .T..
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao