Oops not a compile error but link error & adding lines: cups cupsimage to library list in link fixed it. ==== sorry 'bout that. Must have been my evil twin brother posting rubbish in my name