You can search in www.cpan.org and use module Prima-1.12. Support of a printing function is embodied in it.
Okay, I want to add a printing function into my application. I can write my output to a file. But I don't know what to do from there. I also want to implement an open and save function into it so I can back up my database and restore it.