CUPS and "broken pipe"

Hello All, Have continued looking hither and yon and cannot find what specifies invocation of filters and the like, cannot see where there might be a broken pipe. Is it piping between filters and programs, or perhaps the networking. Still not certain. Regards, Mark Trickett

Mark Trickett writes:
Have continued looking hither and yon and cannot find what specifies invocation of filters and the like, cannot see where there might be a broken pipe.
If you mean the pipeline that cupsd builds to convert arbitrary input data into something the printer can accept, it's a weighted DAG with MIME types as nodes. The terminals (i.e. nodes the printer accepts) are described in the PPD, and are copied into printers.conf (which, despite being in /etc, is constantly being rewritten by cupsd and belongs it /var). The arcs are defined in /usr/share/cups/mime, as are the heuristics it uses to choose a MIME type (it doesn't use libmagic / file (1)). The whole setup is incredibly terrible and you're better off just using a pencil.

Hello Trent, On Wed, 2015-06-10 at 11:57 +1000, Trent W. Buck wrote:
Mark Trickett writes:
Have continued looking hither and yon and cannot find what specifies invocation of filters and the like, cannot see where there might be a broken pipe.
If you mean the pipeline that cupsd builds to convert arbitrary input data into something the printer can accept, it's a weighted DAG with MIME types as nodes.
The message is what I read on the CUPS web page in Iceweasel when I look at the specific printer and the listings of jobs. That is why I quoted it. As to quite where it occurs, I am still looking and thinking. I suspect that the permissions may be an issue, but I need to know where all the bits reside in the filesystem.
The terminals (i.e. nodes the printer accepts) are described in the PPD, and are copied into printers.conf (which, despite being in /etc, is constantly being rewritten by cupsd and belongs it /var).
There are networking issues. The printer is not fully configured, I can ftp to the admin interface, but need to know more about some of the network settings. That is part of the reason for the attachments.
The arcs are defined in /usr/share/cups/mime, as are the heuristics it uses to choose a MIME type (it doesn't use libmagic / file (1)).
Will look, and look again.
The whole setup is incredibly terrible and you're better off just using a pencil.
I cannot reproduce a colour photo with pencils, yet, nor do I expect to learn to do so. I do have a preference for Postscript, with reason. Regards, Mark Trickett
participants (2)
-
Mark Trickett
-
trentbuck@gmail.com