PTRobot API
Page 23 of 41
© 2005, Primera Technology, Inc. Primera is a registered trademark and Bravo is a trademark of Primera Technology, Inc. All other trademarks are the property of
their respective companies.
//
1
=
Reset
the
printer
//
0 = do not reset the printer
//
// Notes:
//
If there is no system error and dwResetPrinter is set to 1 the
//
printer will be reset. Otherwise if there is a system error, that error
//
will be cleared (if possible) and the printer will be reset if the
//
dwResetPrinter is set to 1.
// Return:
//
PTROBOT_OK if Successful
//
PTROBOT_SEQUENCE if this command is called out of sequence
//
PTROBOT_INTERNAL if an internal error occurred
//
PTROBOT_INVALID_ROBOT if the robot handle is invalid
//
///////////////////////////
DWORD WINAPI
PTRobot_KillSystemError
(HANDLE hRobot, DWORD dwResetPrinter);
2.3.12
PTRobot_SystemAction
///////////////////////////
//
// PTRobot_SystemAction
//
// Description:
//
Function to instruct the system to perform a specifc action.
// Params:
//
hRobot
Handle to the robot (from EnumRobots)
//
dwAction Action
to
perform
//
// Notes:
//
This function is used to perform a specific function on a
//
robot. The defined actions and their descriptions are detailed
//
below.
//
//
Action:
//
PTACT_ALIGNPRINTER -> Align the Printer (Disc Publisher PRO only)
//
Description:
//
This will cause an alignment print to occur on the printer and
//
this function will return when the alignment is complete.
//
//
Action:
//
PTACT_IGNOREINKLOW -> Ignore Ink Low (Disc Publisher PRO only)
//
Description:
//
This will cause an ink low system error to be ignored.
//
//
Action:
//
PTACT_DISABLEPWRBUTTON -> Disable Power Button
//
Description:
//
This will disable the power button on Disc Publisher II and PRO.
//
//
Action:
//
PTACT_REINIT_DRIVES -> Re-initialize drives
//
Description:
//
PTRobot maintains Registry values for persistent settings including
//
drive serial numbers. This action will clear the drive serial numbers
//
stored which will force the user to re-identify the robotically