PTRobot API
Page 28 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.
4 Definitions
4.1 API Return Values
#define
PTROBOT_OK
0
#define
PTROBOT_INTERNAL 500
#define
PTROBOT_SEQUENCE 501
#define
PTROBOT_INVALID_ROBOT
502
#define
PTROBOT_INVALID_DRIVE
503
#define
PTROBOT_INVALID_BIN
504
#define
PTROBOT_NODRIVES 505
#define
PTROBOT_OPENCLOSE_FAILED
506
#define
PTROBOT_OVERFLOW 507
#define
PTROBOT_NO_PRINTER
508
#define
PTROBOT_PRINTFILE_INVALID
509
#define
PTROBOT_PRINTAPP_NOT_INSTALLED
510
#define
PTROBOT_PRINTFILE_NOT_FOUND
511
#define
PTROBOT_PRN_INVALID
512
#define
PTROBOT_UNSUPPORTED_OPTION
513
#define
PTROBOT_DIRNOTFOUND
514
#define
PTROBOT_INVALID_LOCATION
515
#define
PTROBOT_MULTDRIVES
516
#define
PTROBOT_INVALID_PRINTER_SETTINGS
517
#define
PTROBOT_INVALID_DRIVE_POSITION
518
#define
PTROBOT_INVALID_ACTION 519
#define
PTROBOT_FEATURE_NOT_IMPLEMENTED
520
#define
PTROBOT_PRINTAPP_OPEN
521
#define
PTROBOT_MISSING_DLL
522
#define
PTROBOT_DRIVE_NOT_READY
523
#define
PTROBOT_INVALID_MEDIA
524
#define
PTROBOT_NO_MEDIA 525
#define
PTROBOT_INVALID_LANG
526
#define
PTROBOT_INVALID_ERROR
527
#define
PTROBOT_BUSY
528
4.2 System Errors
#define
SYSERR_NONE
0
#define
SYSERR_PTR_TRAY
1
#define
SYSERR_CART_CODE
2
#define
SYSERR_INPUT_EMPTY
3
#define
SYSERR_PTR_COMM
4
#define
SYSERR_CLR_EMPTY
5
#define
SYSERR_BLK_EMPTY
6
#define
SYSERR_BOTH_EMPTY
7
#define
SYSERR_PICK
8
#define
SYSERR_ARM_MOVE
9