Ptburn sdk



Yüklə 1,07 Mb.
səhifə7/9
tarix07.11.2018
ölçüsü1,07 Mb.
#78595
1   2   3   4   5   6   7   8   9

6Appendix 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.

; After installation, this file will reside in the PTBurnJobs\Settings folder

[PTBurn_Settings]
; For debugging purposes. Should be kept at FALSE unless advised to change.

RecordEngineLog=FALSE


; How long before a lower priority job will be processed over a higher priority job (in minutes).

; For example, if a job with a priority of 9 (lowest) has been waiting for over 120 minutes it will be processed

; before a job with a priority of 0 (highest) that has been waiting for less than 120 minutes. This key is only

; relevant for jobs request files that haven’t been changed to “IN PROCESS” (.inp).

LowPriority_Time = 120

; How long the status information stays around (in status file) before being deleted (in minutes)

; This is also specifies how long the job request file (now .don or .err) will remain before being deleted.

Status_Time = 60

; What is the level of logging that PTBurn should track:

; 0 = No logging

; 1 = errors only

; 2 = warnings & errors

; 3 = some details

; 4 or 5 = more and more details...

LogLevel=4

; Number of rejects in a row before PTBurn will abort the job

Rejects_InARow=3

; Should PTBurn attempt to complete all the copies requested

; or should it only process the number of discs requested

; TRUE will finish all copies requested (regardless of the number of rejects)

; FALSE will only deal with the number of disc requested (if any rejects occur then the number of good discs will be less than the number of copies requested)

CompleteAllCopies=TRUE

; Specifies what to do with “in process” (.inp) jobs on startup. This key has no effect on jobs that were completed, aborted or errored out (.DON or .ABT or .ERR) .

; Kill will automatically kill the INP job/s without prompting the user

; Retry will automatically retry the job/s without prompting the user

; KillAllIncludingJRQ will automatically kill all jobs INCLUDING JRQ and QRJ

JobActionOnStartup=Retry

;Specifies if the admin (set up through the “Setup Admin Notifications” button in the

;Settings dialog on the server) is to receive net messages when system errors occur.

;The AdminComputer key specifies the admin, this MUST be a computer name on the network.

;By default this notification is disabled; To enable net messages set to: NotifyAdmin=Message

NotifyAdmin=Disabled

AdminComputer=COMPANYX-NAME1

; Added to disable the power button, default is TRUE

DisablePowerButton=TRUE

;Used only when you want to specify a bin for each type of media (DVD and CD). The Possible values are

; 0 = Dont Care (Default)

; 1 = DVDs in left bin, CDs in right bin

; 2 = CDs in left bin, DVDs in right bin

; NOTE: As of PTBurn 3.0, this method of bin selection still works, but it is not the preferred method.

; The preferred method of specifying a particular bin is done by setting BinID=x in the .JRQ file.

BinConfiguration=0

;We found that on some Bravo I units (Firewire interface with LG drives) the drive will fail to open, but

;will still respond like it is open causing a mispick error. We have found that by adjusting the time between

;when we stop the drive from spinning and when we open the drive we can prevent this from happening.

;The default value is 2 seconds, we have found on units that exhibit this problem a 10sec delay will usually fix

;the problem.

DriveDelay=2

;This string will set the temp path that the recording engine uses to store temporary data necessary to

;burn the disc. The folder must exist or the job will fail with an Internal Recording Engine error.

; If not specified, it will use the default system temp folder.

;TempPath=C:\

;This key will will specify if the disc publisher will print before recording. This is necessary for business card

;discs. The default value is False.

PrintFirst=False

;This key determines how much time PTBurn will wait between getting a coveropen error and reporting it. This is set to

;30 by default because we want to prevent getting an error when the user just opens and shuts the cover.

CoverOpenWait=30

; TempSize sets the size (in KB) of the files that are copied in the temporary.

; For example, 4 means that all the files under 4096 bytes in size will be

; copied into a swap file generated in the temp path. This file will be destroyed after burning.

; A value of 0 means that no swap file is generated. The caching maximum value is 256.

TempSize=16

; SingleRobotOnly specifies whether or not to allow multiple robots.

; When set to FALSE it will allow multiple robots; this also means that there will at least

; two status files created (one master status file SystemStatus.txt and one status file for each

; robot connected). This means an application developed for PTBurn SDK 2.x will need to change slightly.

; Set to TRUE to only allow a single robot - this will also create the same PTStatus.txt file as generated

; in PTBurn SDK 2.x

SingleRobotOnly=FALSE

; Setting AutoSwitchRobot to TRUE tells the SDK to switch jobs from one robot to another robot

; if one robot goes into an error condition, and there are multiple robots attached.

AutoSwitchRobot=FALSE
;;;;;;;;;;;; SHARED FOLDER ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; This is the local path of where the Shared Folder "PTBurnJobs" will be created.

; The shared folder will be created on first startup of the service.

LocalPath=c:\PTBurnJobs\


; This is the name of the Shared Folder.

; If not specified, the default is "PTBurnJobs"

SharedFolderName=PTBurnJobs
; This is the remark/comment that is given to the Shared Folder.

; If not specified, the default is "PTBurnJobs Shared Folder"

SharedFolderRemark=PTBurnJobs Shared Folder

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; This is how often the Status file(s) are updated

; Value is given in milliseconds. Minimum value is 1000

StatusFrequency=2000
; DrivesToUse allows you to disable a particular drive in a two drive system. This key is ignored in

; a one drive system. The possible values are

; 0 - all drives are used (Default mode)

; 1 - Only the top drive is used

; 2 - Only the bottom drive is used

;

; !! If you specify 1 or 2 for this key then the DriveID in the jrq is ignored !!



DrivesToUse=0
; KioskMode allows you to set kiosk mode system wide (on all 2 bin robots)

; 0 - kiosk mode set by ptm message (Default mode)

; 1 - Kiosk mode always on

; 2 - Kiosk mode always off

;

; !! If you specify 1 or 2 for this key then the Kiosk mode .ptm is ignored !!



KioskMode=0

; LightState allows you to set the interior light on robots with that feature.

; 0 - PTBurn controls light state (Default mode)

; 1 - Light is always on

; 2 - Light is always off

;

; !! If you specify 1 or 2 for this key then the Kiosk mode .ptm is ignored !!



LightState=0

; end of PTSETUP.INI




Yüklə 1,07 Mb.

Dostları ilə paylaş:
1   2   3   4   5   6   7   8   9




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə