From owner-freebsd-questions@freebsd.org Tue Sep 19 09:01:40 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28B3CE066F2 for ; Tue, 19 Sep 2017 09:01:40 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E2E4D7260A for ; Tue, 19 Sep 2017 09:01:39 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from leaf.local (unknown [88.202.132.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 0564A926D for ; Tue, 19 Sep 2017 09:01:36 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Subject: Re: how to fix " unable to print , broken pipe ! " when passing through CUPS protocol after successfully adding printers in vmware. To: freebsd-questions@freebsd.org References: From: Matthew Seaman Message-ID: <88c4134a-854d-8f8e-2679-70f78fe00d15@FreeBSD.org> Date: Tue, 19 Sep 2017 10:01:36 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2017 09:01:40 -0000 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