I want to print a gif/jpg file,so i use the "PrintPicture" method.


Printer.PaintPicture Picture1.Picture, Picture1.Left, Picture1.Top, _

Picture1.Width, Picture1.Height, vbMergeCopy


But when the programe runs,the system reports run-time error 5.

What's the error mean?


Thanks.