Tracy,
thanks for the reply. PRINTSTATUS(), according to the VFP, does not work with Windows printers:
In Visual FoxPro, PRINTSTATUS( ) always returns true (.T.) if the printer is connected through the Windows Control Panel.
Am I wrong here?
John.
>John, this is what we use BEFORE we initiate the print job:
>
>
> IF !PRINTSTATUS()
> SET PRINT TO
> SET DEVICE TO SCREEN
> =okay("Printer is not ready.",7,0,'PORT: '+port)
> xreturn = .F.
> ENDIF
>
>
>Does this not work for you? After this, when the print job is initiated, we trap for the general printing errors in our errortrap program.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn