Hi Pritimoy,
Are you trying to print to a file from within your program? If you are then I bet you are getting that error because there is no printer to print to. If you could include a small, self-contained example program which shows your problem I may be able to assist you. Otherwise I would suggest using the save method for graphics if you are making plots.
https://www.exelisvis.com/docs/save_method.html
-Zach (Exelis VIS)
|