11 lines
917 B
JSON
11 lines
917 B
JSON
{
|
|
"header": {
|
|
"version": 1,
|
|
"type": "record"
|
|
},
|
|
"body": {
|
|
"record1": {
|
|
"<1>": "declare function fieldcount, msg, print_cleanroom_labels_thermal, security_check, test\r\ndeclare function set_printer\r\ndeclare subroutine security_err_msg\r\n$insert msg_equates\r\n$insert security_rights_equ\r\n\r\nif security_check( 'RDS', Print$ ) then\r\n\tQbfList = get_property( @window, 'QBFLIST' )\r\n\tCurId = .rds_no->text\r\n\tif QbfList then\r\n\t Ids = QbfList\r\n\tend else\r\n\t Ids = CurId\r\n\tend\r\n\t\r\n\tif Ids <> '' then\r\n\t Void = print_cleanroom_labels_thermal( Ids )\r\n\tend else\r\n\t MsgInfo = ''\r\n\t MsgInfo<mtext$> = 'You must have a Run Data Sheet present.'\r\n\t MsgInfo<micon$> = '!'\r\n\t Void = msg( '', MsgInfo )\r\n end\r\nend else\r\n security_err_msg( 'RDS', Print$ )\r\nend\r\nRETURN 0"
|
|
}
|
|
}
|
|
} |