doh. much easier to do this by sampling rather than the confusing way of converting to pdf first. added benefity of handling small data sets in a much better way. +1