Programming with Reflection

image\rwnprg32.gif WaitForPrinterString method

 

Syntax object.WaitForPrinterString StatusString, Timeout

 

Description

Begins a wait that is satisfied when the specified string is sent to the printer. The procedure stops until the wait is satisfied or expires.

Arguments

StatusString Argument type: String
Specifies the string that will terminate the wait. Matches are case-sensitive. This statement waits for an event that occurs when the string "How are you?" is sent to the printer with a three minute timeout.

       .WaitForPrinterString "How are you?", "00:03:00"

Timeout Argument type: String
Specifies an interval of time in HH:MM:SS format. If this interval elapses before the specified event occurs, an error occurs.

 

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command