I normally do xwdtopnm file.xwd | pnmtops > file.ps Both xwdtopnm and pnmto ps are part of the pnm, pbm, pgm suite. Agus