On Mo, 2008-10-13 at 12:29 +0400, Konstantin Kondratyuk wrote: > - sprintf(psCmd,"|lpr -P'%s'",pszOutput+4); > + sprintf(psCmd,"|lpr -T %s -P'%s'",pszTitle,pszOutput+4); This is broken, when there is a space in the Title. -- By by ... Detlef