Skip to content

PHP script to generate an XML of numbers ready to ease up digital printing of numbered tickets.

License

Notifications You must be signed in to change notification settings

nanoSpawn/Sheet-Booster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sheet-Booster v1.74

Script to generate an XML of numbers ready to ease up digital printing of numbered tickets.

You can find and use the latest operative versions in:

http://muntanercomunicacio.com/numerador.html (Javascript based. Executed local-side)

http://www.muntanercomunicacio.com/num_alzado.php (Deprecated. Old fashion PHP script) /* Right now this small script requires PHP 5+. Also, doesn't work well with huge (10k+ elements) XML, getting stuck a lot. */

The javascript based numerador.html, while being done to practice my rusty Javascript, turned out to fix all the problems in PHP and still be heaps better. Instead of creating a valid XML tree it creates a simple string (thousands of times faster!), also while I was at it, coded per input validation when it detects changes, instead of checking on form submit.

And it no longer refreshes the page.

Changelog

1.74

  • [HTML] Added option to mark periods for the thousands, to print 1.000 instead of 1000 (spanish convention)

1.73

  • [HTML] Now automatically changes the filename of the xml to be downloaded based on the set numbers, takes in account if those are inverted or not.

1.72

  • [HTML] Small patch, moved the inverted toggle to the generator area, makes more sense there since it's related to generation, not to printing.

1.71

  • [HTML] Added option for inverting the numbers. Just allowing the "to" field to be smaller than the "from" one was too cumbersome, a simple field makes things a lot cleaner.

1.7

  • [HTML] Added suffix.
  • [HTML] Added option for toggling zero padding. If disabled, the "lenght" field will be ignored.

1.6

  • [HTML] Added prefix.
  • [HTML] Finetuned the default settings a bit.

About

PHP script to generate an XML of numbers ready to ease up digital printing of numbered tickets.

Resources

License

Stars

Watchers

Forks

Packages

No packages published