On Tue, May 18, 2004 at 08:58:26AM -0400, Billy Davis wrote: > We have an application that appends a null character to some print > lines. If there is a single null character in the disk spool file, > CUPS interprets the file as an incompatible format. If we remove > the null character, CUPS prints just fine. Is there a command line > switch that will tell CUPS to filter the nulls and print everything > else? Obviously the best thing to do is fix the application, but in lieu of that you can use 'lpr -odocument-format=text/plain' to force it to interpret the file as a plain text file. If that fails, the best thing is to try stripping out the nuls before giving the file to the spooler. Tim. */
Attachment:
pgpDKVGbkewOV.pgp
Description: PGP signature