If you are getting this when printing out images on a HP printer, the cause is the pixels/inch resolution is not a whole number. This can happen when you re-size an image while keeping the file size constant.
Easily resolve by immediately befoe printing, look at the image dimensions - the pixels/inch in this case and if it is say 303.1234, simply change delete the decimal places so that it reads 303. You will need to ensure that you retain the dimensions but allow the file size to change.
Had this problem a year or two ago. Hope this helps