Date: Tue, 19 Sep 2017 10:01:36 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: how to fix " unable to print , broken pipe ! " when passing through CUPS protocol after successfully adding printers in vmware. Message-ID: <88c4134a-854d-8f8e-2679-70f78fe00d15@FreeBSD.org> In-Reply-To: <op.y6s01zukxl8z17@desktop-jvp5q7f> References: <op.y6s01zukxl8z17@desktop-jvp5q7f>
next in thread | previous in thread | raw e-mail | index | archive | help
On 19/09/2017 09:40, manash pal wrote: > I am very new to FreeBSD, after stuyding at google and youtube, I have > started to wipe out some embarrassment to go through this unix like os. > however, after succussfully adding my printer through cups , I tried to > proceed printing of a pdf document. but , got a repeated reply " UNABLE > TO PRINT DOCUMENT, BROKEN PIPE ! " what does it mean ? and how to solve > this problem ? pls, let me know. 'Broken pipe' is a pretty generic error that you'll come across fairly regularly as you learn more about BSD and Unixoid OSes in general. Pipelines are a fundamental concept in Unix -- essentially it's taking the output of one process and feeding it into the input of another. You frequently see it in the unix shell with constructs like: % grep foo /var/log/all.log | sed -e 's/foo/bar/' which finds all the lines in /var/log/all.log containing the string 'foo', and passes that output to a process which substitutes the string 'bar' for 'foo' and prints the result on the console. There are other ways of creating pipelines than this. All that 'broken pipe' means is that the first process ('grep' in the example above) is trying to write into a pipeline, but the second process ('sed' in the example) that is meant to read from the pipeline has gone away. That's what your error means, but it isn't very helpful in sorting out your printing. What you should do is examine any logfiles cups generates -- you may need to fiddle with settings that cups uses to turn up the logging level -- and see if there's anything more informative there. I assume you do know about the CUPS built-in web console on http://localhost:631/ ? You should be able to find logfiles etc. by plunking around in that interface. Cheers, Matthew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?88c4134a-854d-8f8e-2679-70f78fe00d15>