<?xml version="1.0" encoding="utf-8"?> 
<jnlp spec="1.0+" codebase="http://www.columbia.edu/acis/facilities/printers/ninja/dev/prix" href="jnlp/prix.jnlp">
  <information>
    <title>NINJa Print Station</title> 
    <vendor>Columbia University</vendor> 
    <homepage href="http://www.columbia.edu/acis/facilities/printers/"/> 
    <icon href="jnlp/acis-compass.gif"/>
    <description>NINJa Print Station</description> 
    <description kind="tooltip">NINJa Release Station</description>
    <description kind="short">NINJa Release Station</description> 
    <offline-allowed/>
  </information> 
  
  <security> 
    <all-permissions/> 
  </security> 
  
  <resources> 
    <!--
        properties that mention the environment by name in the value.
        change the following values to match the environment.
    -->
    <property name="java.security.policy" value="http://www.columbia.edu/acis/facilities/printers/ninja/dev/prix/security/policy.prix"/>
    <property name="java.security.auth.login.config" value="http://www.columbia.edu/acis/facilities/printers/ninja/dev/prix/security/login.config"/>
    <property name="com.sun.rio.service.codebase" value="http://www.columbia.edu/acis/facilities/printers/ninja/dev/prix/code"/>
    <property name="com.sun.rio.groups" value="public"/>
    <property name="prix.laf.base" value="http://www.columbia.edu/acis/facilities/printers/ninja/dev/prix/html"/>

    <j2se version="1.4+"/> 
    <jar href="code/prix.jar"/>
    <extension name="installer" href="jnlp/prix-install.jnlp"/>

    <property name="com.sun.rio.debug" value="false"/>
    <property name="com.sun.rio.boot.debug" value="false"/>
    <property name="sun.rmi.log.debug" value="true"/>
    <property name="sun.rmi.server.activation.debugExec" value="true"/>

    <!-- values for rio/jini -->
    <property name="com.sun.rio.jini.lookup.locator" value="jini://ninjamaster.cc.columbia.edu"/>
    <property name="net.jini.discovery.ttl" value="1"/>
    <property name="net.jini.announce" value="10000000000"/>
    <property name="com.sun.rio.qosSpec" value="org.jini.rio.qos.ActivatableServer"/>
    <property name="com.sun.jini.sdm.nTaskThreads" value="1"/>

    <!-- default values for prix -->
    <property name="prix.retainPreferences" value="true"/>
    <property name="prix.pcd.uri" value="pcd2://pcd.cc.columbia.edu:7775"/>
    <property name="prix.pcd.pageFactor" value="1"/>
    <property name="prix.pcd.uni.regexpLockout" value="[a-z]{2,3}\d+"/>
    <property name="prix.pcd.password.maxLength" value="8"/>
    <property name="prix.pcd.jobs.maxSheets" value="10"/>
    <property name="prix.laf.refresh" value="600000"/>
    <property name="prix.laf.main.page" value="index.html"/>
    <property name="prix.laf.auth.page" value="login.html"/>
    <property name="prix.laf.error.page" value="error.html"/>
    <property name="prix.laf.status.page" value="status.html"/>
    <property name="prix.laf.reboot.page" value="reboot.html"/>
    <property name="prix.inputPrinter" value="mediator"/>
    <property name="prix.outputPrinters" value="private"/>
    <property name="prix.printService.attributes" value="javax.print.attribute.standard.JobMediaSheets javax.print.attribute.standard.JobName javax.print.attribute.standard.RequestingUserName"/>
    <!-- default values for ninja -->
    <property name="ninja.retainPreferences" value="true"/>
    <property name="ninja.request.compress" value="false"/>
    <property name="ninja.request.lease.renewDuration" value="-1"/>
    <property name="ninja.request.lease.defaultDuration" value="7200000"/>
    <property name="ninja.printServiceListener.lease.renewDuration" value="300000"/>
    <property name="ninja.printServiceListener.lease.defaultDuration" value="300000"/>
    <property name="ninja.queueListener.lease.renewDuration" value="300000"/>
    <property name="ninja.queueListener.lease.defaultDuration" value="300000"/>
    <property name="ninja.authenticator.lease.renewDuration" value="-1"/>
    <property name="ninja.authenticator.lease.defaultDuration" value="30000"/>
    <property name="ninja.job.failure.retries" value="0"/>
    <property name="ninja.address.organization" value="acis"/>
  </resources>
  <resources os="Linux"> 
    <property name="prix.spoolIntercept" value="edu.columbia.print.ninja.prix.requester.LprRequester"/>
    <property name="prix.log" value="/var/log/prix"/>
    <property name="rmid.log" value="/var/log/rmid"/>
    <property name="prix.spool.directory" value="/spare/spool/mediator"/>
    <property name="ninja.queue.dir" value="/tmp/queue"/>
  </resources>
  <resources os="Windows"> 
    <property name="prix.spoolIntercept" value="edu.columbia.print.ninja.prix.requester.WinRequester"/>
    <property name="prix.log" value="C:\prix.log"/>
    <property name="rmid.log" value="C:\rmid.log"/>
    <!-- "prix.spool.directory"
         This is the value for win2k.
         For winXP the value should be "C:\WINDOWS\SYSTEM32\SPOOL\PRINTERS.
         For win2000 the value should be "C:\WINNT\SYSTEM32\SPOOL\PRINTERS.
    -->
    <!--property name="prix.spool.directory" value="C:\WINNT\system32\spool\PRINTERS"/-->
    <property name="prix.spool.directory" value="C:\WINDOWS\system32\spool\PRINTERS"/>
    <property name="ninja.queue.dir" value="C:\tmp\queue"/>
  </resources>
  
  <application-desc main-class="edu.columbia.print.ninja.prix.Launcher">
    <!-- this is the security policy for the setup vm -->
    <argument>http://www.columbia.edu/acis/facilities/printers/ninja/shared/policy.all</argument>
    <argument>-comment</argument>
    <argument>Print Station</argument>
  </application-desc>

</jnlp>
