Why is Xlpd printing garbage characters?

The formatting feature works only if the content is in plain text. If the requested print job has been processed through printer driver on UNIX/Linux, you should not use the formatting feature. If you are printing PS (PostScript) or PCL (Printer data form of HP) files, make sure to select the 'Print data without formatting' option.