by RAMESHBABU » Mon Jul 10, 2006 1:37 am
Hi Antonio
Thank you for your reply.
These functions are used in TDosPrn() to check the status of the printer.
*******************************************************************************
*** METHOD PrinterStatus() CLASS TDosPrn to Find out the Printer Status ***
*******************************************************************************
METHOD PrinterStatus() CLASS TDosPrn
Local nStatus
If ::nLPTBase > 0
nStatus := InPortByte( ::nLPTBase + 1 )
::lPrnError := ! lIsBit( nStatus, 4 )
::lPrnSelect := lIsBit( nStatus, 5 )
::lPaperOut := lIsBit( nStatus, 6 )
::lDataAck := ! lIsBit( nStatus, 7 )
::lPrnBusy := ! lIsBit( nStatus, 8 )
Endif
Return Self
*********
Is there any way to implement the above method.
Regards
- Ramesh Babu P