
PTBurnSDK Page6of68
©2011PrimeraTechnology,Inc.PrimeraisaregisteredtrademarkandBravoisatrademarkofPrimeraTechnology,Inc.Allothertrademarks
arethepropertyoftheirrespectivecompanies.
2 JRQFileCommandStructure
Tocreatediscs,theclientapplicationmustcreateaJobRequestFile.Thistextfilecanbe
namedanythingtheclientchoosesbutitMUSTresidewithintheJobRequestFolderANDmust
haveanextensionof.JRQ(thiscanbechangedinPTSETUP.INI).This.JRQfilecreatedbythe
client
containsinformationthatspecifiesthedatatoburn,numberofcopies,etc.
TheJobRequestFilemustbeatextdocumentwithcertainKeyvaluesdefined(manyofwhich
areoptional).Theformatis:
2.1 CommandKeys/Values
2.1.1 JobID
AnyASCIIstringmessageupto32charactersdescribingthejob.Whenthejobisbeing
executedthisJobIDstringwillbeshowninthePTBurnwindow.Ifthiskeyisnotprovidedthen
thejobrequestfilenamewillbeused.
2.1.2 ClientID
ThisASCIIstringmessageupto32charactersisadescriptionfortheClientwhoissubmitting
thejob.Theclientcandecidewhatstringhewantstouse.Ifthiskeyisnotprovidedthenthe
ClientIDwilldefaultto“Unknown.”
2.1.3 Importance
ThistellsPTBurnhowimportantthejobis.Possiblevaluesare0to400where0ismost
importantand400isleastimportant.Ifthiskeyisnotprovidedthenadefaultvalueof4willbe
used.Jobswithlowervalueswillbeprocessedfirstunlessthejobhasbeenwaitingtoolong
(thisvaluecanbechangedinPTSETUP.INI).NOTE:Whensubmittingjobsofdifferentpriorities
itisimportanttosubmitjobswithhigherprioritybeforejobswithlowerpriority;jobsthatare
discoveredbyPTBurnwillnotbeinterruptedoncetheyactuallybegin,evenifajobwitha
higherpriorityisdiscoveredlater.
2.1.4 Data
Thisis
astringthatspecifiestheeitherthefilenametoburnorthefolderthatcontainsallthe
datatobeburned.Allfilesandsubfolderswithinaspecifiedfolderwillbeburned(theroot
folderitselfwillnotbecopied–onlyitscontents).Alternatively,individualfilescanbe
specifiedhere
(thefullpathforthesourcefilemustbegiven,butthefilewillbecopiedtothe
rootlocationonthedisc).Theformatisasfollows:
Data=Filename,SessionX
WhereSessionXisoptionalandisusedonlyifrequestingamulti‐sessiondisc(amaximumof2
sessionsisallowedatthistime).ThevalueXisanintegervalue(1or2)thattellsPTBurnfor
whichsessiontoburnthisdata.
IfSessionXisnotgiventhenitwillbeburnedintothefirst(andonly)session.
Kommentare zu diesen Handbüchern