Sets the Peripheral Control State for UTS INT-1 sessions. This advanced feature is for applications that want control over print activity.
Namespace: ScreenUPG
Assembly: ScreenUPG (in ScreenUPG.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub setPeripheralControl( _ ByVal pc As Boolean _ ) |
C# |
---|
public void setPeripheralControl( bool pc ) |
C++ |
---|
public: void setPeripheralControl( bool pc ) sealed |
J# |
---|
public void setPeripheralControl( bool pc ) |
JScript |
---|
public
function setPeripheralControl( pc : bool ) |
Parameters
- pc
- true to enable, false to disable, application control of peripheral responses.
Remarks
The
The relevant arguments for the SendStatus method are:
The second parameter should be a 1 byte value of one of the following:
Value | Description |
---|---|
for an Acknowledgement/Thru | |
for an Error/NACK | |
for a slightly different Error | |
for another slightly different error | |
for a Power-on Confidence (should only be used at startup) |
If an application wants to control INT-1 peripheral responses it should call
As an aide to tell when the application should be sending a printer status, the