Originally Posted by samcat
(wish list item...) Will there be, at some point, the ability to run this with parameters from the command line. I currently have a touch screen kiosk outside my theater where I can have anyone choose a movie by perusing a database using Movie Collector by Collectorz.com. What would be really cool would be to select the movie from there and have the selected movie information prepopulate your application so that tickets could be printed right from the kiosk. (just like a real movie theater)
I'm working on adding support for command line parameters. This will allow you to execute a command and have the program automatically search for a movie by title or imdbid, generate the tickets, and send it to the printer with no user interaction. Do you have any limitations of the command line structure that you could use for your use case with the kiosk set up you have? If anyone else has a use case for auto generating tickets based on command line parameters, i'd be interested to know how you plan to use it.
Right now I have the following parameters defined:
-l or --pagelayout
Parameter=String, full file path to the page layout file to use.
Sets the page layout to use.
-d or --printer"
Parameter=String, Windows print queue name
Sets the printer to use. Specify by Windows Printer Name. The default Windows printer is used if an invalid name is specified.
-f or --ticketfile
Parameter=String, full file path to ticket file to use as the template.
Ticket File to open.
-i or --imdb
Parameter=String, imdb ID
Imdb number for movie. this takes precedence if -i and -n are both used.
-n or --moviename
Parameter=String, Movie name
Name of movie to search for. The top result is automatically selected.
-o or --output
Parameter=String, full file path and name of output file.
File name to save png image.
-g or --gui
Parameter=String, value for gui mode
Sets GUI state. Full is used by default. Valid options: none, full, notify
-s or --showtime
Parameter=String, datetime representation of the desired showtme
Sets the showtime. This is flexible format datetime value.
-q or --quit
Exits the application immediately after printing. This option is automatically enabled when using gui options 'notify' or 'none'.
-p or --print
Parameter=Integer, number of tickets to print
Initiates a print job with the current settings