PTBurn SDK
Page 34 of 53
© 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.
5 Appendix A: PTSetup.ini
The file PTSETUP.INI is a “loose” file that can be modified before deployment. Below is a
copy of the default PTSETUP.INI file. See the description below for each key. It is advised that
you modify this file (in the PTBurn directory on the installation disc) before you deploy your
solution; the installer will then install your modified version which PTBurn server can use. If
you do wish to modify the PTSETUP.INI file after installation through your own application
then you can find the location of the PTSETUP.INI directory by querying the Registry key
called: DataPath which is located in the Registry at:
HKEY_LOCAL_MACHINE\SOFTWARE\Primera\PTBurn
Note that that PTBurn will parse PTSETUP.INI when launched each time, so your program
should modify PTSETUP.INI before launching PTBurn.exe. To find the directory where the
PTBurn executable is located you can query the Registry key called: AppPath which is located
in the same location in the Registry.
; PTSETUP.INI
;
; Setup file for the Primera Text-Based Shared-Folder Burning application PTBurn.
;
; NOTE: This is the default PTSETUP.INI file
; To change the defaults, you should edit this file before installing PTBurn.
[PTBurn_Settings]
;----------------------------------
; Job Request File extensions for the 4 phases of the job (6 including Job Aborting and Job Error)
;
1. When the job is submitted
;
2. When the job has been found and registered by PTBurn
;
3. When the job is in process
;
4. When the job has been completed.
;
5. If the job is being aborted
;
6. If the job had an error (after aborted the extension is set to error)
;
;
7. Message extension - client can create same filename as Job Request File but with the
;
Message extension to send a message to the server regarding this job
;
(e.g. Abort the job) NOTE: this should be a separate file from the Job
;
Request File. See documentation for valid messages.
; PTBurn will initially scan for all files with the extension given by
; the Job_New_Ext key below -- this means all Clients must use this filename extension
; when submitting a new job ( example: MyJob.JRQ)
;----------------------------------
Job_New_Ext=JRQ
Job_Found_Ext=QRJ
Job_InProcess_Ext=INP
Job_Done_Ext=DON
Job_Error_Ext=ERR
Job_Aborting_Ext=ABT
Job_Message_Ext=PTM
;
; How long before a lower priority job will be processed over a higher priority job ; (in minutes).