From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 11 19:47:00 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 848D816A400; Wed, 11 Apr 2007 19:47:00 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 43C1513C468; Wed, 11 Apr 2007 19:47:00 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5CBC9.dip.t-dialin.net [84.165.203.201]) by redbull.bpaserver.net (Postfix) with ESMTP id 228822E1B3; Wed, 11 Apr 2007 21:46:56 +0200 (CEST) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 3CC0D5B4882; Wed, 11 Apr 2007 21:46:53 +0200 (CEST) Date: Wed, 11 Apr 2007 21:46:58 +0200 From: Alexander Leidinger To: Oliver Fromme Message-ID: <20070411214658.28888e01@deskjail> In-Reply-To: <200704111133.l3BBX0VR096355@lurza.secnetix.de> References: <20070411125140.8uyf2g4kggg8k4og@webmail.leidinger.net> <200704111133.l3BBX0VR096355@lurza.secnetix.de> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org, bsam@freebsd.org, freebsd-ports@FreeBSD.ORG Subject: Re: Printing with Acrobat Reader X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2007 19:47:00 -0000 Quoting Oliver Fromme (Wed, 11 Apr 2007 13:33:00 +0200 (CEST)): > > Alexander Leidinger wrote: > > Oliver Fromme wrote: > > > I've configured Adobe Reader to use "/usr/bin/lpr -Plaser" > > > for printing ("laser" is the name of the printing queue for > > > my PostScript printer). But when I try to print a document, > > > I get the error message "/usr/bin/lpr not found". > > > > Try without the path... > > Interesting idea. I guess I didn't thought of that because > the _default_ entry in Adobe Reader is "/usr/bin/lp". So I > just tried adding an "r" to it, which failed. Ok, I checked my settings in acroread (without printing anything), without the path it should work. > I think it would be desirable to have the Adobe Reader port > work out of the box without _any_ change by the user. > That's why I suggest having the port add a wrapper script > as /compat/linux/usr/bin/lp. A simple one line script like Not the acroread port, but I would not object if the linux_base ports would install such a wrapper... > this one should be sufficient: > > #!/bin/sh - > exec /usr/bin/lpr "$@" When I remember your initial mail right, you did test this and it works... right? Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137