That would be cool. Here's a small modification of your program that adds a few options that work well with my specific printer. If it were just for me, I'd probably remove the host, user, save, and exit (just exit after I click print).