Creating Play Slips

Creating Play Slips

Postby ryker » Wed May 04, 2016 6:46 pm

It seems the Florida Powerball slip is for the older version of the powerball. I tried creating a new slip using measurements as directed but it's just not working out well. Is it possible to have access to the older playslip XML file to see how things are done? Would be handy in updating playslips when they change.
ryker
 
Posts: 14
Joined: Wed Jun 29, 2011 3:16 am

Re: Creating Play Slips

Postby stan » Wed May 04, 2016 8:12 pm

Here it is:

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE playslip-configuration PUBLIC "-//ExpertLotto//Playslip Configuration 1.1//EN" "http://www.expertlotto.com/dtds/playslip-configuration-1-1.dtd">


<playslip-configuration version="1.0" units="mm">

  <name>Powerball</name>

  <author>AND Plus</author>

  <country>Florida, USA</country>

  <ticket main-count="5" bonus-count="1" >
    <ranges>
      <main-range min="1" max="59" single-pool="true" />

      <bonus-range min="1" max="35" pool="bonus-a" label="PowerBall" />

    </ranges>
  </ticket>

  <main-panel>
      <panel-shape columns="7" rows="9" ordering="left-to-right" first-number="top-left" width="30000" height="39500" box-width="2300" box-height="3000" />
  </main-panel>

  <bonus-panel pool="bonus-a">
      <panel-shape columns="7" rows="5" ordering="left-to-right" first-number="top-left" width="30000" height="21000" box-width="2300" box-height="3000" />
  </bonus-panel>

  <playslip width="215000" height="82500" marker-shape="cross" marker-color="black" >

    <panel>
      <main x="35000" y="12000"/>
      <bonus x="35000" y="53000" pool="bonus-a"/>
    </panel>

    <panel>
      <main x="66200" y="12000"/>
      <bonus x="66200" y="53000" pool="bonus-a"/>
    </panel>

    <panel>
      <main x="98000" y="12000"/>
      <bonus x="98000" y="53000" pool="bonus-a"/>
    </panel>

    <panel>
      <main x="129500" y="12000"/>
      <bonus x="129500" y="53000" pool="bonus-a"/>
    </panel>

    <panel>
      <main x="161000" y="12000"/>
      <bonus x="161000" y="53000" pool="bonus-a"/>
    </panel>

    <box x="85000" y="3000" width="2300" height="3000">AP2</box>
    <box x="89200" y="3000" width="2300" height="3000">AP4</box>
    <box x="94000" y="3000" width="2300" height="3000">AP5</box>
    <box x="98300" y="3000" width="2300" height="3000">AP6</box>
    <box x="103000" y="3000" width="2300" height="3000">AP8</box>
    <box x="107500" y="3000" width="2300" height="3000">AP10</box>
    <box x="111800" y="3000" width="2300" height="3000">AP15</box>
    <box x="116300" y="3000" width="2300" height="3000">AP20</box>
    <box x="120900" y="3000" width="2300" height="3000">AP25</box>
    <box x="125400" y="3000" width="2300" height="3000">AP30</box>
    <box x="130000" y="3000" width="2300" height="3000">AP35</box>
    <box x="134300" y="3000" width="2300" height="3000">AP40</box>
    <box x="139000" y="3000" width="2300" height="3000">AP45</box>
    <box x="143400" y="3000" width="2300" height="3000">AP50</box>
    <box x="148000" y="3000" width="2300" height="3000">AP52</box>
    <playslip-number x="180000" y="5000" orientation="horizontal" />
  </playslip>
</playslip-configuration>
Expert Lotto Team
User avatar
stan
Site Admin
 
Posts: 6338
Joined: Thu Sep 23, 2004 1:01 pm

Re: Creating Play Slips

Postby ryker » Thu May 05, 2016 11:25 pm

Thanks. I just ended up copying everything from the existing playslip then adjusted the numbers. Even after doing that, it still wouldn't print right on my printer. I had to add -15 top and -5 left to the margin so the crosses printed in the right area. Not sure what that was from as my measurements for the slip and panels were dead on. Either way, I have it saved a printing now.
ryker
 
Posts: 14
Joined: Wed Jun 29, 2011 3:16 am

Re: Creating Play Slips

Postby stan » Fri May 06, 2016 9:20 am

ryker wrote:Thanks. I just ended up copying everything from the existing playslip then adjusted the numbers. Even after doing that, it still wouldn't print right on my printer. I had to add -15 top and -5 left to the margin so the crosses printed in the right area. Not sure what that was from as my measurements for the slip and panels were dead on. Either way, I have it saved a printing now.

Every printer type has a different paper loader and different unprintable margins, that's why there's the option to add +/- margin correction.
Expert Lotto Team
User avatar
stan
Site Admin
 
Posts: 6338
Joined: Thu Sep 23, 2004 1:01 pm


Return to Comments, suggestions, feature requests

Who is online

Users browsing this forum: No registered users and 7 guests