I do not know what does that mean but this does not look like it is related to printing see if removing this line:

file_for_screen("printfile.jpg",0);

will stop giving error(printing wont work obviously.)


3333333333