My program needs to print a curve; my solution is changing the curve into a picture, and this picture file (xxx.png) can be printed by using the default windows picture printing tool (right click the mouse on top of the file, and select print).
but I don't want user do this job manually, I need a command line tool to do this:
printPicture xxx.png
How can I do this in command line?