PtrDevice:IsValid Access

<< Click to Display Table of Contents >>

Navigation:  RpPrinter & PtrDevice Class Overview > PtrDevice Class >

PtrDevice:IsValid Access

Previous pageReturn to chapter overviewNext page
Type        Logic


Returns TRUE if the PtrDevice object is valid.  The printer device is invalid when there is no default printer device selected in the Windows Control Panel, or if the printer device cannot allocate enough memory.


// Is this PtrDevice a valid printer object?

if oPtrDevice:IsValid