From owner-freebsd-ports@FreeBSD.ORG Thu Apr 12 13:26:50 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 CED9C16A401; Thu, 12 Apr 2007 13:26:50 +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 7A4F213C43E; Thu, 12 Apr 2007 13:26:50 +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 CF5AD2E169; Thu, 12 Apr 2007 15:26:45 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id BF26D5B4882; Thu, 12 Apr 2007 15:26:42 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l3CDQg5M098373; Thu, 12 Apr 2007 15:26:42 +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 15:26:42 +0200 Message-ID: <20070412152642.76pd6vw0000sk88g@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 12 Apr 2007 15:26:42 +0200 From: Alexander Leidinger To: Oliver Fromme References: <200704121229.l3CCT9U3069884@lurza.secnetix.de> In-Reply-To: <200704121229.l3CCT9U3069884@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=-15.364, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: Roman Divacky , freebsd-ports@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG, bsam@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 13:26:50 -0000 Quoting Oliver Fromme (from Thu, 12 Apr 2007 =20 14:29:09 +0200 (CEST)): > > Alexander Leidinger wrote: > > I think you said the same than I did, just differently (Oliver did > > call lpr with the full (correct?) path in acroread and somehow it > > didn't work for him). > > That's correct. Obviously Adobe Reader performs some kind > of sanity check on the path (if one is given), and for some > reason it always prepends /compat/linux in that case. No linux application does this, it's the kernel. It tries with the =20 compat path first and then with the normal path. I don't know why it =20 does not work in acroread, I never investigated this issue. An =20 application should not be able to know if the command is from compat =20 or not. I'm a little bit puzzled, but not puzzled enough to =20 investigate further. Maybe Roman wants to have a look at it as part of =20 his SoC 2007 work... :) > cat man du : where Unix geeks go when they die ROTFL... Bye, Alexander. --=20 Age is a tyrant who forbids, at the penalty of life, all the pleasures of youth. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137