Yes, it specifically needs done in the command line. I'm automating the extraction to be performed every time the machine prints new data to be uploaded to a database, and will hardly ever be run with a gui.
I can continue using the workaround if it's necessary, just trying to minimize the repetition.