From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 12 09:37:27 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 1BFEC16A402; Thu, 12 Apr 2007 09:37:27 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id 9622813C48C; Thu, 12 Apr 2007 09:37:26 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (bapqbq@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l3C9D90u060211; Thu, 12 Apr 2007 11:13:14 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l3C9D5lA060207; Thu, 12 Apr 2007 11:13:05 +0200 (CEST) (envelope-from olli) From: Oliver Fromme Message-Id: <200704120913.l3C9D5lA060207@lurza.secnetix.de> To: Alexander@leidinger.net (Alexander Leidinger) Date: Thu, 12 Apr 2007 11:13:05 +0200 (CEST) In-Reply-To: <20070411214658.28888e01@deskjail> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 12 Apr 2007 11:13:14 +0200 (CEST) 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: Thu, 12 Apr 2007 09:37:27 -0000 Alexander Leidinger wrote: > Oliver Fromme wrote: > [...] > > 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... That would be fine with me. I don't care which port installs it, as long as it works. :-) > > 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? No, I copied /usr/bin/lpr to /compat/linux/usr/bin/lpr and then told Adobe Reader to use "/usr/bin/lpr" (instead of the defdault "/usr/bin/lp"). The above wrapper script (as /compat/linux/usr/bin/lp without "r") should have exaxtly the same effect, except that the Adobe Reader's default need not be changed. I can give it a try in the evening. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "C++ is over-complicated nonsense. And Bjorn Shoestrap's book a danger to public health. I tried reading it once, I was in recovery for months." -- Cliff Sarginson