From owner-freebsd-ports@FreeBSD.ORG Thu Apr 12 09:50:34 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 99DE816A409; Thu, 12 Apr 2007 09:50:34 +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 4BB5613C4AD; Thu, 12 Apr 2007 09:50:34 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5CEF5.dip.t-dialin.net [84.165.206.245]) by redbull.bpaserver.net (Postfix) with ESMTP id 146172E175; Thu, 12 Apr 2007 11:50:30 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 0F3F85B4882; Thu, 12 Apr 2007 11:50:27 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l3C9oQFO062572; Thu, 12 Apr 2007 11:50:26 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 12 Apr 2007 11:50:26 +0200 Message-ID: <20070412115026.sx5tdm2aogss4kkc@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 12 Apr 2007 11:50:26 +0200 From: Alexander Leidinger To: Oliver Fromme References: <200704120913.l3C9D5lA060207@lurza.secnetix.de> In-Reply-To: <200704120913.l3C9D5lA060207@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 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-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2007 09:50:34 -0000 Quoting Oliver Fromme (from Thu, 12 Apr 2007 =20 11:13:05 +0200 (CEST)): > > 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. There are some pitfalls and the solution needs to be tested first. Acroread will use linux system calls to start the shell. This results =20 in the linux shell (/compat/linux/bin/sh) to start (linuxulator =20 directory prefixing). The linux shell will use the same linuxulator =20 directory prefixing to start /compat/linux/usr/bin/lpr. So we're in =20 the same situation like with Acroread. So when you play around with it =20 also try to not specify a path to the lpr call and tell us which one =20 works. Bye, Alexander. --=20 BOFH excuse #227: Fatal error right in front of screen http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137