My print func() in my program isn't working properly. It asks for user input and then searches the file. When found, a function is called to set up the print format, then returns the format to print on printer. I tried using a separate function which is at the moment commented out. The func() seems to run all the way through because i get to key_wait, but nothing gets printed. Anybody have any ideas? The code is attached.