in reply to console graphics

The best solution is to choose one of the GUI frameworks already suggested. Unfortunately, they all have a steep learning curve. Under Windows, you can display almost any file by letting the shell choose the default viewer for the type of file. In your case, (system filename.pdf). I am not sure that this will meet your requirements, but it is so easy that it is worth a try.